Commit Graph

19080 Commits

Author SHA1 Message Date
Stephanie You 56790b98f3 update rustup default toolchain 2023-05-18 16:22:36 -07:00
Stephanie You db2b43dc73 finalize rust mysql client integration test 2023-05-18 15:29:30 -07:00
Stephanie You ed672aa5d4 update rust mysql client integration test 2023-05-12 14:07:07 -07:00
Stephanie You ff7de18057 add rust mysql client integration test 2023-05-10 13:23:56 -07:00
Daylon Wilkins 08f2ebf472 Merge pull request #5869 from dolthub/Hydrocharged-6ce2628d
[auto-bump] [no-release-notes] dependency by Hydrocharged
2023-05-03 14:19:23 -07:00
Tim Sehn e5734a724b Merge pull request #5863 from dolthub/tim/branch-control-commit-test
Testing dolt commit in branch control bats tests
2023-05-03 13:43:08 -07:00
AndyA 82bccfc122 Merge pull request #5858 from dolthub/andy/fix-session-cache
[no-release-notes] go/doltcore/sqle: add size limit to session cache
2023-05-03 13:09:31 -07:00
Hydrocharged a47fd33233 [ga-bump-dep] Bump dependency in Dolt by Hydrocharged 2023-05-03 19:49:51 +00:00
Neil Macneale IV ff755a92f0 Drop the formatting flag from the engine
Small step to untangling shell and query engine. https://github.com/dolthub/dolt/issues/3922

Existing tests cover behavior. This is a fairly straight forward refactor.
2023-05-03 12:49:44 -07:00
reltuk fff04e1ae3 [ga-bump-release] Update Dolt version to 0.75.18 and release v0.75.18 v0.75.18 2023-05-03 18:03:06 +00:00
Aaron Son 7862afe9c6 Merge pull request #5864 from dolthub/aaron/backup-restore-fix-for-hash-of-nbs.tableFile
go/libraries/doltcore/env/actions/remotes.go: Don't put chunks.TableFile instances into a map, since implementations can have embedded closures.
2023-05-03 10:21:47 -07:00
macneale4 b12b15c0cd [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-03 17:19:26 +00:00
Neil Macneale IV 5dc0e318c1 Update two missed go tests 2023-05-03 10:09:33 -07:00
Neil Macneale IV 5e0a90718d Drop the formatting flag from the engine 2023-05-03 09:26:18 -07:00
Aaron Son f35510f9f2 go/libraries/doltcore/env/actions/remotes.go: Don't put chunks.TableFile instances into a map, since implementations can have embedded closures.
Just hash the TableFiles by their IDs.

This fixes a crash on `backup restore` when restoring from a backup which: (1)
uses nbs.NomsBlockStore (for example, gs://, or file://) and (2) transiting any
given TableFile takes > 500ms. This is most likely to happen with gs:// remotes.
2023-05-03 08:33:37 -07:00
Tim Sehn dea6dcb6a2 Testing dolt commit in branch control bats tests 2023-05-03 08:14:09 -07:00
reltuk a6b6d5c3e4 [ga-bump-release] Update Dolt version to 0.75.17 and release v0.75.17 v0.75.17 2023-05-03 05:01:47 +00:00
Aaron Son 335c84f562 Merge pull request #5860 from dolthub/aaron/backup-restore-uses-pull.Clone
go: env/actions: remotes.go: In SyncRoots, if we are syncing to an empty destination repository, use pull.Clone instead of pull.Pull.
2023-05-02 21:54:11 -07:00
Aaron Son 78ddc3758c go: doltcore/env/actions: remotes: Only use clone on the backup path if the src TableFileStore does not include a chunk journal. 2023-05-02 20:26:21 -07:00
Jason Fulghum ca3b02eb91 Merge pull request #5859 from dolthub/fulghum-91364e22
[auto-bump] [no-release-notes] dependency by fulghum
2023-05-02 19:41:09 -07:00
Nick Tobey 3838afe3ad Merge pull request #5853 from dolthub/nicktobey/doltignore
`dolt diff` shouldn't print ignored tables.
2023-05-02 17:48:17 -07:00
Aaron Son de75a3c30d go: doltcore/env/actions: remotes: Respond to PR feedback. 2023-05-02 17:47:52 -07:00
Aaron Son 6edc6fd54a go: env/actions: remotes.go: In SyncRoots, if we are syncing to an empty destination repository, use pull.Clone instead of pull.Pull.
pull.Clone uses the TableFileStore interface to transit whole table files
without needing to follow chunk references or do any reconciliation with the
destination database regarding what it already has. It is much faster against
every time of remote.
2023-05-02 17:12:03 -07:00
fulghum 0c475bb8ed [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-05-02 23:15:24 +00:00
Nick Tobey a322a31408 Add bats tests for dolt diff -R 2023-05-02 15:16:09 -07:00
Nick Tobey 0bfe2cabbc Add dolt diff -R for reversing the diff. 2023-05-02 15:15:59 -07:00
Andy Arthur 731e85994b go/doltcore/sqle: add size limit to session cache 2023-05-02 15:06:18 -07:00
Neil Macneale IV aeadf45fd2 BATS Executor Exemplar
Utility tool to run a lot-o-bats tasks, and summarize their results.

Currently doesn't run on windows, and is primary geared toward local dev testing.
2023-05-02 14:56:24 -07:00
macneale4 57afc36752 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-02 19:30:00 +00:00
Neil Macneale IV 0abd1a28ce Disable Windows Build for batsee 2023-05-02 12:21:41 -07:00
Jason Fulghum 2c03e2f8ff Merge pull request #5830 from dolthub/fulghum/schema-merge
Automatically resolve additive enum/set changes in merges
2023-05-02 11:43:12 -07:00
Neil Macneale IV d341439f21 Be verbose 2023-05-02 11:21:37 -07:00
Nick Tobey 9e3528db9c Merge pull request #5842 from dolthub/nicktobey/tables_not_files
Output for `dolt status` should say "tables", not "files"
2023-05-02 11:17:47 -07:00
Neil Macneale IV 8678b12f95 Move the batsee command into the utils directory.
Doesn't support windows currently
2023-05-02 11:14:35 -07:00
reltuk 041a9a99d8 [ga-bump-release] Update Dolt version to 0.75.16 and release v0.75.16 v0.75.16 2023-05-02 18:13:05 +00:00
Dustin Brown 087b387c1a [ga-bump-dep] Bump dependency in Dolt by jennifersp (#5854)
Co-authored-by: jennifersp <44716627+jennifersp@users.noreply.github.com>
2023-05-02 09:40:39 -07:00
Neil Macneale IV 8a1e0f912e PR feed back to use consts and better argparser options 2023-05-02 09:16:32 -07:00
jennifersp 86c7610be8 support ViewDatabase for clusterdb (#5847) 2023-05-01 18:25:16 -07:00
Nick Tobey 6c67b65afe Only suppress diff of ignored table when they're being created.
If a table that matches a dolt_ignore rule has already been staged or committed, those subsequent changes should be displayed by `dolt diff`
2023-05-01 17:35:42 -07:00
Nick Tobey 3fcb243eac Update formatting of bats tests. 2023-05-01 15:40:29 -07:00
Jason Fulghum 8a5ec231b8 Cleaning up test notes 2023-05-01 15:32:21 -07:00
Nick Tobey 07465b6e28 Fix bats tests that reference old dolt status output. 2023-05-01 15:30:53 -07:00
Nick Tobey e2a84f6f7d Add test that dolt diff doesn't print ignored tables. 2023-05-01 15:20:14 -07:00
Jason Fulghum 9eb2c6fe8b Merge branch 'main' into fulghum/schema-merge 2023-05-01 15:19:23 -07:00
Nick Tobey d283a2879a In dolt diff, don't print tables if one side of the diff is an ignored table in the working set. 2023-05-01 15:10:33 -07:00
fulghum 1fdcb18bb2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-01 22:10:31 +00:00
Jason Fulghum 3a345cd151 Next pass on cleaning up the interface and adding more tests 2023-05-01 15:01:07 -07:00
Aaron Son dc79c4263a Merge pull request #5852 from dolthub/aaron/call-dolt_clone-creates-standby-replicas
go/libraries/doltcore/sqle: database_provider.go: When cloning a remote into a sql-server, always run the InitDatabaseHook on it.
2023-05-01 14:21:20 -07:00
James Cor d6cbbf8b09 Merge pull request #5851 from dolthub/JCOR11599-ebb4d945
[auto-bump] [no-release-notes] dependency by JCOR11599
2023-05-01 14:02:50 -07:00
Nick Tobey 996a143ff2 Replace mentions of "files" in bats tests with "tables" 2023-05-01 13:47:01 -07:00