Commit Graph

19211 Commits

Author SHA1 Message Date
nicktobey 9c60ac6774 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-12 00:17:02 +00:00
Nick Tobey 25cdf945c7 Update multienv command to account for new CWBHeadRef signature. 2023-05-11 16:58:01 -07:00
Nick Tobey 3a47e11a0c Revert accidentally committed changes to go.mod 2023-05-11 16:49:21 -07:00
Nick Tobey 406cc9da6b Restore original behavior of IsValidRef.
I'm not proud of it, it could use a rewrite, but it's outside the scope of this PR.
2023-05-11 16:28:46 -07:00
Nick Tobey c62eb688ee ActiveBranchFunc should work in detached head state. 2023-05-11 13:57:53 -07:00
Nick Tobey 560eb45754 Clean up remaining unchecked uses of dbState.WorkingSet 2023-05-11 13:12:28 -07:00
Nick Tobey e708c177f8 Migrate uses of CWBHeadRef and CWBHeadSpec in commands module. 2023-05-10 17:03:37 -07:00
Nick Tobey 3a8b5c6863 Merge branch 'main' into nicktobey/detached_head 2023-05-10 13:10:31 -07:00
Nick Tobey 11d94c3bca Migrate uses of CWBHeadRef and CWBHeadSpec in dprocedures and dfunctions. 2023-05-10 13:09:54 -07:00
Aaron Son 1ecd688929 Merge pull request #5902 from dolthub/aaron/clone-works-better-with-chunk-journal
go/store/datas/pull/clone.go: Fix to clone to interact with sql-server remotes better.
2023-05-10 12:01:51 -07:00
Aaron Son b46f3b4c7e Merge pull request #5899 from dolthub/aaron/dolt_gc-unavailable-on-standby-replica
go: sqle: dolt_gc.go: Disable CALL dolt_gc() on a standby replica, where it is not currently safe. Shallow GC is still available.
2023-05-10 11:53:02 -07:00
Aaron Son f1ab87a118 Merge remote-tracking branch 'origin/main' into aaron/clone-works-better-with-chunk-journal 2023-05-10 10:10:46 -07:00
Aaron Son 0d024eb0a3 Merge remote-tracking branch 'origin/main' into aaron/dolt_gc-unavailable-on-standby-replica 2023-05-10 10:10:01 -07:00
Tim Sehn c719bc1c6c Merge pull request #5817 from dolthub/taylor/checkout-table-test
[no-release-notes] Add skipped enginetest for call dolt_checkout(table) on database revision bug
2023-05-10 10:04:33 -07:00
Tim Sehn b0c2e4de25 Merge pull request #5844 from alerque/arch
Mention official Arch Linux packaging in README
2023-05-10 10:03:43 -07:00
James Cor a7d2580e49 Merge pull request #5908 from dolthub/JCOR11599-ba911392
[auto-bump] [no-release-notes] dependency by JCOR11599
2023-05-10 09:47:47 -07:00
JCOR11599 cc5e331c25 [ga-bump-dep] Bump dependency in Dolt by JCOR11599 2023-05-10 05:02:52 +00:00
James Cor 26c6bd383e Merge pull request #5905 from dolthub/JCOR11599-23ac940b
[auto-bump] [no-release-notes] dependency by JCOR11599
2023-05-09 21:58:04 -07:00
JCOR11599 11b395d562 [ga-bump-dep] Bump dependency in Dolt by JCOR11599 2023-05-09 22:47:50 +00:00
James Cor 81888af05f Merge pull request #5868 from dolthub/james/index
go through primary keys backwards
2023-05-09 15:46:34 -07:00
Aaron Son 6f646a7f01 go/store/datas/pull/clone.go: Fix to clone to interact with sql-server remotes better.
Before this fix, |dolt clone| against a sql-server remote can fail with a
confusing error message if the sql-server has a chunk journal. Adding the chunk
journal to our destination ChunkStore causes us to update the root hash, which
the Clone code was not expecting.

This change updates the Clone code to look for the possible update to the
destination's root hash and to not try to set the root hash on the ChunkStore
if it has already been done by the code handling the chunk journal.
2023-05-09 15:25:07 -07:00
James Cor e40a3b303a sort pk??? 2023-05-09 14:34:41 -07:00
Nick Tobey d5584942c5 Migrate uses of CWBHeadRef and CWBHeadSpec in doltcore. 2023-05-09 14:12:44 -07:00
Aaron Son 6e6ed1b77b Fix result ordering in integration test. 2023-05-09 14:08:19 -07:00
Nick Tobey f12699ffce Refactor RepoStateReader's CWBHeadRef and CWBHeadSpec to return errors. 2023-05-09 13:51:52 -07:00
Aaron Son acf99f1edf go: sqle: dolt_gc.go: Disable CALL dolt_gc() on a standby replica, where it is not currently safe. Shallow GC is still available. 2023-05-09 13:41:16 -07:00
James Cor f22818e44b bump 2023-05-09 11:49:34 -07:00
James Cor 3c62e2bee0 skipping this test 2023-05-09 10:45:12 -07:00
James Cor dc52c89f9b Merge branch 'main' into james/index 2023-05-09 09:39:13 -07:00
Neil Macneale IV cd1f8ca0b5 batsee --output dir support 2023-05-09 09:36:10 -07:00
jennifersp 537a651690 fix empty string import for ENUM and SET types (#5856) 2023-05-09 07:15:44 -07:00
JCOR11599 8358b906b4 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-09 05:25:41 +00:00
James Cor 50c3a9a811 bump again 2023-05-08 22:15:34 -07:00
James Cor f996051cd9 bump 2023-05-08 22:07:05 -07:00
James Cor 12b4d7a202 merge and bump 2023-05-08 22:03:05 -07:00
jennifersp 093e14a6be add support for ALTER EVENT (#5895) 2023-05-08 20:57:23 -07:00
Jason Fulghum 6f2caa5223 Merge pull request #5892 from dolthub/fulghum/binlog-replication
Fix binlog connection re-establishment when connection closes between messages
2023-05-08 17:43:38 -07:00
Nick Tobey 266fa742b1 Merge branch 'main' into nicktobey/detached_head 2023-05-08 17:10:09 -07:00
Neil Macneale IV 9575228ae5 Refactor SQLEngine instantiation into the Queryist interface
SQL Command arguments which pertain to instantiating a local SqlEngine instance are now global arguments which come before the sql subcommand. This is a breaking change for users of the sql command who pass in the following arguments:

--data-dir
--user
--doltcfg-dir
--privilege-file
--branch-control-file
All of the test changes pertain to moving those arguments, and nothing else. This is by design to ensure we don't have broader impact to the interface.

With this abstraction in place, we can put a different Queryist implementation in place - specifically one which talks to a remotes server - which is the end goal.

See: https://github.com/dolthub/dolt/issues/3922
2023-05-08 16:50:46 -07:00
Jason Fulghum c87de40bb6 Switching from fmt.Printf to t.Logf 2023-05-08 16:03:30 -07:00
Neil Macneale IV 962cd4b0df Print a better error for users who provide arguments in their legacy location 2023-05-08 15:12:19 -07:00
macneale4 44450e7bb2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-08 21:30:54 +00:00
Aaron Son 724dee501c Merge pull request #5885 from dolthub/aaron/optimize-fetch
go/libraries/doltcore/env/actions: remotes.go: Have fetch pull all the branch heads at once.
2023-05-08 14:28:15 -07:00
Neil Macneale IV d6bc02571e Refactor DDL update path in sql command to work with a Queryist 2023-05-08 14:20:11 -07:00
Neil Macneale IV 860dd278fa better grammar
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2023-05-08 14:18:20 -07:00
Neil Macneale IV dd5fd5979c fix typos
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2023-05-08 14:17:08 -07:00
Jason Fulghum d8cc72cbbc Re-establishing connection on io.EOF (just like io.UnexpectedEOF) 2023-05-08 13:50:58 -07:00
Jason Fulghum 31f40578b4 Merge pull request #5893 from dolthub/fulghum-74ba62a3
[auto-bump] [no-release-notes] dependency by fulghum
2023-05-08 10:29:25 -07:00
Neil Macneale IV 3bdebe0819 Add --output option to batsee 2023-05-08 09:58:13 -07:00
Neil Macneale IV a66679be57 Move the arg parsing into a seperate function. 2023-05-08 09:58:13 -07:00