Commit Graph

19201 Commits

Author SHA1 Message Date
Nick Tobey 865c08531a Delay format check used in dolt stash until after args parsing, in case --help is being passed. 2023-05-10 16:10:51 -07:00
Nick Tobey ab6152c4f3 Fix bats test that verifies the behavior of --help 2023-05-10 15:49:48 -07:00
Nick Tobey 59f9099082 Remove cry for help from dolt sql --help 2023-05-10 14:42:13 -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
Aaron Son 6e6ed1b77b Fix result ordering in integration test. 2023-05-09 14:08:19 -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
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
AndyA c203c10589 Merge pull request #5874 from dolthub/andy/merge-unresolved-fk-fix
go/doltcore/merge: use unresolved-aware fk matching method in Foreign…
2023-05-08 09:30:34 -07:00
fulghum 000205f8e9 [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-05-08 16:00:00 +00:00
James Cor 3062c240b6 Merge pull request #5890 from dolthub/james/windows
normalize windows file paths better
2023-05-06 01:15:39 -07:00
Jason Fulghum e16d6a9896 Minor tweaks to TestBinlogReplicationAutoReconnect test 2023-05-05 16:21:07 -07:00
James Cor ecba507c64 skipping 2023-05-05 15:53:24 -07:00
Nick Tobey 91dfcb5aa9 Merge pull request #5870 from dolthub/nicktobey/doltignore
Improve dolt_ignore pattern rules
2023-05-05 15:14:41 -07:00
Jason Fulghum 1d5d33ef35 Merge pull request #5891 from dolthub/fulghum-34e72594
[auto-bump] [no-release-notes] dependency by fulghum
2023-05-05 15:04:44 -07:00
Nick Tobey 952fcc81f9 Merge pull request #5881 from dolthub/nicktobey/bodega-cats
Remove overzealous validation check.
2023-05-05 14:38:04 -07:00
JCOR11599 d3ddbd5ee2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-05-05 21:35:09 +00:00