Commit Graph

214 Commits

Author SHA1 Message Date
Damandeep Singh
5ce7ea7aa0 chore: added test case for log_format 2025-02-27 21:23:51 +05:30
Jason Fulghum
9dd401c286 Deprecate user and pass options for sql-server 2025-02-03 13:21:07 -08:00
Neil Macneale IV
809be27d65 Tests for the dolt_branches dirty column 2025-01-27 11:22:14 -08:00
Jason Fulghum
eccaa4f56b Changing to persist a root superuser that gets created on first launch of sql-server when there are no existing privileges. 2025-01-14 17:50:13 -08:00
Neil Macneale IV
0eeb791f08 Add test for conflicting data dirs 2025-01-02 09:58:30 -08:00
Neil Macneale IV
06f747afdd relative config file path from cwd bug 2025-01-02 09:58:30 -08:00
James Cor
7714f70d79 parse user vars as interface{} instead of always string (#8677) 2024-12-13 14:20:06 -08:00
Dustin Brown
e739e4f3fd [auto-bump] [no-release-notes] dependency by jycor (#8648) 2024-12-06 13:45:01 -08:00
James Cor
bb53838af8 system variables cannot have nil defaults (#8590) 2024-11-22 13:44:19 -08:00
Jason Fulghum
68e108475c Updating error message check in BATS test 2024-11-20 15:48:34 -08:00
Jason Fulghum
0ccc3349b6 Adding tests for dolt CLI error messages in an uninitialized directory where a sql-server is running 2024-05-17 12:13:13 -07:00
Jason Fulghum
51edd8decb Bug fix: dolt sql-server should initialize persisted global variables from its local config store 2024-05-14 16:52:17 -07:00
Jason Fulghum
6386ad810c Making wait_for_connection timeouts consistent to try and prevent timeouts in lambda execution 2024-05-13 15:03:34 -07:00
Nick Tobey
efec700aeb innodb_autoinc_lock_mode now supports other values. Remove test that asserted it can't. 2024-04-10 09:30:31 -07:00
James Cor
676c7e9f00 innodb_autoinc_lock_mode tests (#7637) 2024-03-22 15:59:40 -07:00
Jason Fulghum
c7076d9f75 Fixing test from change to match how MySQL returns system variable names 2024-01-17 15:48:09 -08:00
Aaron Son
6c5c03dffe integration-tests/bats: Small bats tests improvements for the lambda runner. 2023-12-05 15:14:00 -08:00
Aaron Son
2d738b7b1d intergration-tests/bats: Update tests for new sql-server.info filename. 2023-11-30 15:15:13 -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
jennifersp
d09c29cb7e use database name that is the same as directory name on disk (#7020) 2023-11-20 13:20:12 -08:00
jennifersp
8ea2847759 allow hyphen in db name to match its dir name (#6995) 2023-11-16 07:25:55 -08:00
Stephanie You
7b2dd70f78 fix sql server test 2023-11-03 15:30:25 -07:00
Stephanie You
7a7a0384f8 simplify connection flags 2023-11-02 21:15:36 -07:00
Stephanie You
290ca7d4ab remove dolt sql-client from bats tests 2023-11-01 18:03:14 -07:00
Stephanie You
5b2169c37f fix bats tests 2023-10-30 12:32:23 -07:00
jennifersp
c107df2bc2 add --all flag for dolt push (#6787) 2023-10-14 12:36:25 -07:00
Jason Fulghum
aab6972dad Preventing dolt_checkout from creating new branches in read-only databases.
Fixes: https://github.com/dolthub/dolt/issues/6785
2023-10-12 13:37:09 -07:00
Jason Fulghum
5c6b7829c5 Bug fix for https://github.com/dolthub/dolt/issues/6730
Mark dolt_checkout and dolt_count_commits as read only procedures
2023-09-27 11:40:57 -07:00
Neil Macneale IV
79a2885579 PR Feedback - remove teardown call 2023-08-22 12:17:06 -07:00
Neil Macneale IV
8034567916 Ensure that the --data-dir flag does what we expect it to 2023-08-18 14:46:31 -07:00
Neil Macneale IV
47b58258ef Two additional sql-server tests
Servers don't start where other servers are
`dolt sql` can connect to the empty server
2023-08-18 14:46:31 -07:00
Neil Macneale IV
74759c5e1b Simplify error message to fix test 2023-08-18 14:46:31 -07:00
Nick Tobey
ea79737142 Add additional tests for dolt branch 2023-06-30 12:24:51 -07:00
Neil Macneale IV
2657665463 In local mode allow use of ephemeral root user 2023-06-26 15:54:46 -07:00
Nick Tobey
df259a8c31 Fix sql-server test to use correct user name. 2023-06-20 12:41:56 -07:00
Nick Tobey
3f3acf351c Add BATS tests for call dolt_branch -m 2023-06-20 12:41:56 -07:00
Stephanie You
0739e49b04 fixes failing bats tests, removes irrelevant bats tests 2023-06-16 16:42:48 -07:00
Zach Musgrave
5d56fe3c6d Fixed test that was using -databases 2023-06-16 13:43:55 -07:00
Pavel Safronov
ce0d4cf9a6 Update sql-server.bats to explicitly specify a user when calling dolt status. 2023-06-09 15:52:35 -07:00
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