Commit Graph

2754 Commits

Author SHA1 Message Date
Aaron Son
0e1bbfc9f0 go/libraries/doltcore/sqle: DatabaseProvider: Fix a bug where a database created with call dolt_clone() would not be dropped until the server was restarted.
Fixes #7106.
2023-12-06 09:03:39 -08:00
Aaron Son
5edebb5e4a integration-tests/bats/performance.bats: Run some long-running tests locally for now. 2023-12-05 16:50:28 -08:00
Aaron Son
379ee64cb9 Merge remote-tracking branch 'origin/main' into aaron/lambda-bats 2023-12-05 16:09:27 -08:00
Aaron Son
6c5c03dffe integration-tests/bats: Small bats tests improvements for the lambda runner. 2023-12-05 15:14:00 -08:00
stephanie
0972f6cf97 Merge pull request #7092 from dolthub/steph/gc
migrate `dolt gc` to use sql queries
2023-12-04 16:49:25 -08:00
Nick Tobey
e723577492 Merge pull request #7065 from dolthub/nicktobey/perf
Cache the computation of default columns during three-way merges.
2023-12-04 14:10:51 -08:00
Stephanie You
aee558db41 catch different reflog output between remote vs local execution 2023-12-04 13:58:42 -08:00
Stephanie You
279b40a96e migrate dolt gc to use sql queries 2023-12-04 11:59:56 -08:00
Nick Tobey
c8ba567c23 Add comments to BATS test. 2023-12-04 11:59:09 -08:00
Nick Tobey
915cadb3b6 Delete unneeded files from test repo. 2023-12-04 11:54:03 -08:00
stephanie
d73c8fd4d5 Merge branch 'main' into steph/reflog 2023-12-01 16:39:43 -08:00
Stephanie You
e2f18eedb9 Merge remote-tracking branch 'origin/main' into steph/reflog 2023-12-01 15:01:29 -08:00
Stephanie You
b47eeb4dec PR comments 2023-12-01 15:00:05 -08:00
Aaron Son
e7d3f149df Merge pull request #7081 from dolthub/aaron/fix-bats-ls-flakey-failure
[no-release-notes] integration-tests/bats: ls.bats: Fix a flakey failure where an unlucky hash could cause a negative assertion to fail.
2023-12-01 12:47:55 -08:00
Taylor Bantle
a0c0fa6e51 Fix existant typo 2023-12-01 11:10:55 -08:00
stephanie
18f65fbdf2 Merge pull request #7077 from dolthub/steph/sql-client-depre
remove dolt sql-client command
2023-12-01 10:17:55 -08:00
Aaron Son
83602c2f80 [no-release-notes] integration-tests/bats: ls.bats: Fix a flakey failure where an unlucky hash could cause a negative assertion to fail.
ls.bats was using test table names like `t1` and `t2` and making assertions
against the output of `dolt ls`. But the output of `dolt ls` also sometimes
includes a commit hash, which can itself contain these strings.

Change it so that we use names which will never appear in a commit hash.
2023-11-30 16:23:39 -08:00
Aaron Son
2d738b7b1d intergration-tests/bats: Update tests for new sql-server.info filename. 2023-11-30 15:15:13 -08:00
Stephanie You
86d12d7b8e remove dolt sql-client command 2023-11-30 14:59:59 -08:00
Aaron Son
67535bbda1 go/cmd/dolt: sql-server.lock/sql-server.info changes. PR feedback. 2023-11-30 12:01:43 -08:00
Nick Tobey
a24aa6503d Add initial performance regression tests. 2023-11-30 09:50:11 -08:00
Aaron Son
677c553c5c integration-tests/bats: Skip some tests where we use dolt init in SQL_ENGINE=remote-engine mode. 2023-11-29 21:42:03 -08:00
Stephanie You
5d24edd9ef address PR comments 2023-11-29 18:43:36 -08:00
Aaron Son
2e9546d902 integration-tests/go-sql-server-driver: sqlserver_lock_test.go: Add a test documenting the current odd behavior where you can run two sql-servers against the same directory if they have no DoltDBs. 2023-11-29 17:57:06 -08:00
Aaron Son
751840ea61 integration-tests/bats: Update bats tests for new sql-server.lock semantics. 2023-11-29 17:56:24 -08:00
Aaron Son
634bdf3e30 integration-tests/go-sql-server-driver: sqlserver_lock_test.go: Add some integration tests for sql-server.lock file handling. 2023-11-29 14:28:04 -08:00
Stephanie You
3e5c6b6bb7 minor test updates 2023-11-29 11:34:12 -08:00
Stephanie You
adcf3c10f3 tests for dolt reflog 2023-11-29 11:34:11 -08:00
jennifersp
d3c4a9a444 remove dolt stored procedure aliases (#7054) 2023-11-28 10:33:23 -08:00
Jason Fulghum
3f90521272 Fixing BATS test after allowing TEXT/BLOB/JSON fields to accept a literal default value (for MariaDB compatibility) 2023-11-21 15:45:50 -08:00
Nick Tobey
9bc32d9db2 Merge pull request #6980 from dolthub/nicktobey/schemamerge
Correctly identify and report data conflicts when deleting rows and/or columns during a three-way merge.
2023-11-20 23:12:26 -08:00
Neil Macneale IV
dbb5ce3d2d Merge pull request #7023 from dolthub/macneale4/fix_dolt_fetch_pull
fix dolt fetch and dolt pull commands to properly authenticate
2023-11-20 20:32:04 -08:00
Neil Macneale IV
0780d4e496 Update tests for more descriptive messages 2023-11-20 18:39:42 -08:00
jennifersp
d09c29cb7e use database name that is the same as directory name on disk (#7020) 2023-11-20 13:20:12 -08:00
Neil Macneale IV
e11363a5c1 Activate skipped tests for fetch and pull 2023-11-17 17:07:38 -08:00
Stephanie You
c6ea9725a7 minor updates 2023-11-16 17:48:00 -08:00
Stephanie You
0f5a26af3a profile does not need write perms in current dir 2023-11-16 16:53:14 -08:00
Stephanie You
f37e231e7c does not check write perms for config 2023-11-16 16:44:12 -08:00
jennifersp
9cf62a54ab fix panic on foreign key references dropped table for dolt diff (#7008) 2023-11-16 13:26:26 -08:00
jennifersp
8ea2847759 allow hyphen in db name to match its dir name (#6995) 2023-11-16 07:25:55 -08:00
Nick Tobey
efff37bdf6 Update bats tests. These tests test handling data conflicts, but the behavior that was in the test (row deletion + column deletion) is no longer a conflict. This commit changes the behavior to something else that is a conflict. 2023-11-15 14:36:19 -08:00
Aaron Son
0913c5eb8c integration-tests/go-sql-server-driver: sql-server-cluster-users-and-grants.yaml: branch_control_block_on_write_replication: Add an assertion on a connection to server2 after the branch control perms replicate, to ensure we don't send the TERM signal to the server process at the end of the test before it is fully started up. 2023-11-10 15:03:50 -08:00
James Cor
a3f4b5ecd9 bumping feature version (#6985)
Co-authored-by: James Cor <james@dolthub.com>
2023-11-09 12:22:04 -08:00
James Cor
5d31f836cf make GeomAddrEnc known as an address encoding (#6973) 2023-11-08 15:48:07 -08:00
James Cor
c5710b42ab store GEOMETRY types as BLOBs (#6933) 2023-11-07 01:49:48 -08:00
Jason Fulghum
ef163cedf1 Merge pull request #6947 from dolthub/fulghum/reflog-2
Switch reflog data to be stored in a ring buffer
2023-11-06 15:49:10 -08:00
stephanie
731c96104d Merge pull request #6953 from dolthub/steph/import-existing-fk
Fix `import` bats test for existing table with FK constraints
2023-11-06 15:36:36 -08:00
Stephanie You
6522866c4d fix import bats test for exiting table with fk constraints 2023-11-06 13:24:19 -08:00
Stephanie You
15b42980c4 remove space 2023-11-06 11:56:45 -08:00
Stephanie You
b13f74253f revert changes for processing nulls 2023-11-06 11:46:14 -08:00