Commit Graph

175 Commits

Author SHA1 Message Date
Jason Fulghum
97c2e63089 Removing a few more python references 2023-06-08 11:05:00 -07:00
Nick Tobey
965457b256 Skip remotes-sql-server.bats and sql-server.bats when running BATS in remote-engine configuration. 2023-06-06 17:35:31 -07:00
Jason Fulghum
e826ddcd32 Merge pull request #6025 from dolthub/fulghum/commit-author
Use the SQL user as the Dolt commit author when operating in a SQL context
2023-05-25 08:36:34 -07:00
Jason Fulghum
1200c7d901 Changing the default commit author to be the SQL user 2023-05-24 17:20:29 -07:00
Jason Fulghum
bd9a781f67 Adding a new @@dolt_sql_user_is_committer system variable that uses the current SQL user for the Dolt commit author, instead of the dolt config configured user information. 2023-05-24 14:20:44 -07:00
Jason Fulghum
c56d5c4f22 Allow @@dolt_transaction_commit to be set through sql-server configuration 2023-05-23 15:04:51 -07:00
Neil Macneale IV
4aeaf71f78 Print errors with some context about the remote server 2023-05-18 16:46:18 -07:00
Neil Macneale IV
406052a078 Remove some debugging strings 2023-05-18 15:26:00 -07:00
Neil Macneale IV
fe34fc9e7a Update sql-server.bats to reflect new behavior 2023-05-18 15:26:00 -07:00
Neil Macneale IV
15f60698f9 Move cli flags in bats tests to make them compliant 2023-05-05 11:46:46 -07:00
Neil Macneale IV
f08b325a3e stat command differs between MacOS and Ubuntu 2023-04-20 15:20:49 -07:00
Neil Macneale IV
32ef60f38e Check the permissions in bats test 2023-04-20 15:20:49 -07:00
Andy Arthur
6f25f7370b Merge remote-tracking branch 'origin/main' into andy/locking-journal-manifest 2023-03-30 12:24:57 -07:00
Andy Arthur
41c6ab1938 go/store/nbs: added readOnly guard to journal manifest, updated integration tests 2023-03-22 14:51:12 -07:00
Jason Fulghum
ae23057590 Tidying up tests 2023-03-22 09:58:29 -07:00
Andy Arthur
9081917b24 go/store/nbs: added sentinel error for read-only manifest, fixed true-up 2023-03-21 17:06:41 -07:00
Jason Fulghum
cf36ef0116 Added test that dolt_branch(-d) cannot delete the default branch for a db. 2023-03-21 15:41:33 -07:00
Jason Fulghum
cced96587b Ensuring we create a sql-server lock file when creating databases from a sql context 2023-03-21 12:21:05 -07:00
Andy Arthur
b7ed9f1ebb go/doltcore/{dbfactory, doltdb, env}: refactor database load/creation to only use chunk journal for local databases 2023-03-06 17:00:00 -08:00
Andy Arthur
13cd174332 bats: fix sql-server.bats 2023-03-03 15:10:42 -08:00
jennifersp
0e105b83e5 add bats test for binary string encoded to utf8 (#5294) 2023-02-07 14:47:10 -08:00
jennifersp
77a0bb6d68 add bats test for release all locks on session end (#5257) 2023-01-30 19:43:21 -08:00
Daylon Wilkins
8aeb1c659e Removed deprecated dolt functions 2023-01-03 02:13:37 -08:00
Zach Musgrave
7de7829928 Altered a test that relied on LD_1 format 2022-12-28 14:12:17 -08:00
Zach Musgrave
ecb8999124 Skip test of deleting a database dir in a running server 2022-12-28 12:12:08 -08:00
Zach Musgrave
5f5dae3ccf Squash merge from zachmu/session-transaction to get rid of spurious test files 2022-12-21 13:12:31 -08:00
Andy Arthur
9c62afd73b bats updates 2022-12-19 16:52:22 -08:00
AndyA
f10cb6ba29 Merge pull request #4944 from dolthub/andy/chunk-journal-sync
[no-release-notes] go/store/nbs: progress on chunk journal sync
2022-12-14 12:53:17 -08:00
Dhruv Sringari
5ea4353b0c Fix 'new manifest created with non 0 lock' error
Fix dropping and creating the same database on dolt sql-server. We were caching doltdb's using a singleton
and at the manifest cache level which lead to problems.
2022-12-13 17:27:37 -08:00
Andy Arthur
7092ef0f4b updated some sql-server related bats 2022-12-07 12:07:22 -08:00
coffeegoddd
4910bb20bc /integration-tests/bats/sql-server.bats: add skipped bats test for creating savepoint without first using db 2022-11-29 14:03:51 -08:00
Jason Fulghum
abd954733d Changing log_level field of YAML config format to be case insensitive. 2022-11-28 12:51:40 -08:00
Jason Fulghum
9166384b75 Changing loglevel param to be case insensitive. Fixes: https://github.com/dolthub/dolt/issues/4864 2022-11-28 11:42:41 -08:00
Pavel Safronov
c9f1316840 PR feedback and other:
- move tests to better locations
- remove debug echo statements from new tests
- getting the latest version of GMS
2022-11-11 12:13:19 -08:00
jennifersp
9bd2a889b6 warning instead of error for unix socket address already in use when starting sql server (#4697) 2022-11-07 19:55:18 -08:00
Aaron Son
e7cde63106 Merge pull request #4641 from dolthub/aaron/bats-move-sql-server-temporary-table-test
integration-tests/bats/sql-server.bats: Move the temporary table session specific test to go-sql-server-driver.
2022-10-28 16:27:56 -07:00
Aaron Son
d85ad51b4b Merge remote-tracking branch 'origin/main' into aaron/bats-move-sql-server-temporary-table-test 2022-10-28 13:33:00 -07:00
Tim Sehn
542ef5f78d Missed one server_query in sql-server.bats 2022-10-28 12:46:14 -07:00
Tim Sehn
63d5c325ab Migrated sql-server.bats to dolt sql-client 2022-10-28 12:43:15 -07:00
Tim Sehn
e58f5585e0 Removed mistakenly added character 2022-10-27 12:37:18 -07:00
Tim Sehn
eb9acdd940 Migrated all server_query tests I could without autocommit, multi-statement, and connect to branch support to dolt sql-client 2022-10-27 11:36:53 -07:00
Tim Sehn
6801407055 Migrated sql-server.bats up to test 28 2022-10-27 11:05:28 -07:00
Tim Sehn
4b0a3e22e1 About half done sql-server.bats migration to dolt sql-client 2022-10-27 10:12:51 -07:00
Aaron Son
4d93b69ef3 integration-tests/bats/sql-server.bats: Move the temporary table session specific test to go-sql-server-driver. 2022-10-27 09:43:29 -07:00
Tim Sehn
b7bf34b052 Merge branch 'main' into tim/remove-server-query 2022-10-26 17:56:44 -07:00
Tim Sehn
e2928925ff More tests migrated to dolt sql-client 2022-10-26 17:32:04 -07:00
Tim Sehn
482d32351f Good checkpoint on sql-server.bats migration to dolt sql-client 2022-10-26 17:07:58 -07:00
Tim Sehn
1d4da2df98 Fixed sql-server.bats leaving around garbage directories 2022-10-26 16:09:29 -07:00
Tim Sehn
7558fc896c Progress on migration to dolt sql-client. Also unskipped a test that now works 2022-10-26 15:57:22 -07:00
Jason Fulghum
89ae36a108 Stop using default socket location unless the test requires testing it and add extra handling to remove shared, global socket file when shutting down. Hunch is that socket file is not always getting cleaned up and causing other tests to fail to start sql-server. 2022-10-25 15:07:08 -07:00