Commit Graph

166 Commits

Author SHA1 Message Date
jennifersp 6910ac96b7 allow init with empty working set (#4255) 2022-09-02 13:21:27 -07:00
Tan Yong Zhi af955f4ccb Fix more bats sql tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 178f541f34 Fix bats tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 9b4b805268 Fix more failing bats tests 2022-08-26 12:14:05 +08:00
jennifersp 6886a8721f commit merge if no conflict (#4105) 2022-08-23 12:38:12 -07:00
Jason Fulghum 750f0b4852 Skipping a sql-server test that's been hanging for hours in CI 2022-08-23 10:16:51 -07:00
Timothy Sehn 3bd2b86e56 fix flakey test with an order by 2022-08-23 08:48:31 -07:00
Timothy Sehn c562e86c43 Max feedback. Fix test broken by compiling main. 2022-08-22 18:24:52 -07:00
Timothy Sehn 7c681938f1 Merged main and fixed conflicts 2022-08-22 17:30:58 -07:00
Timothy Sehn f62ba4ac77 Checkpoint. Most bats working. Confirming locally. 2022-08-22 16:35:22 -07:00
Jason Fulghum 8383b9ba65 Merge pull request #4102 from dolthub/fulghum/revision-databases
Various fixes for database revision specifiers
2022-08-19 20:59:23 -07:00
Zach Musgrave d8fb87ada4 Merge pull request #4071 from dolthub/zachmu/ai
global auto increment tracking
2022-08-17 16:34:18 -07:00
Maximilian Hoffman 413b823a0d Lock new databases where source db is locked (#4091)
* Lock new databases where source db is locked

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* zach comments

* delete log comment

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-08-17 16:21:56 -07:00
Jason Fulghum e5633a5a1d Merge branch 'main' into fulghum/revision-databases 2022-08-17 16:00:40 -07:00
Zach Musgrave ad7ccc42ad Merge main 2022-08-17 14:05:29 -07:00
Zach Musgrave 8c5831410c Fixed server tests 2022-08-17 11:35:53 -07:00
Zach Musgrave 75416dff0a Merge main 2022-08-17 09:51:59 -07:00
Jason Fulghum 59f59b61d7 updating error message 2022-08-16 22:02:49 -07:00
Jason Fulghum 8090ff9a1c Merge branch 'main' into fulghum/revision-databases 2022-08-16 10:21:05 -07:00
Jason Fulghum 22353dcbf6 Adding a skipped bats test for dolt_reset being disallowed in read-only databases. 2022-08-16 09:49:43 -07:00
jennifersp f42712b240 allow optional empty value for string value for arg parsing (#4093)
* arg value should allow optional empty value

* fix godocs
2022-08-15 20:05:44 -07:00
Jason Fulghum fb89d11e9b Adding a skipped bats test for dolt_reset being disallowed in read-only databases. 2022-08-15 17:16:10 -07:00
Zach Musgrave 6164b27912 Merge main 2022-08-12 15:18:48 -07:00
Zach Musgrave 94c7cf8dac Bug fix for dropping table 2022-08-12 14:13:01 -07:00
Zach Musgrave be6ba38d29 Server test for global auto increment 2022-08-12 11:41:30 -07:00
Dhruv Sringari 241cf79018 Add storage format information to dolt version and add new sql function dolt_storage_format(). Add dolt init --new-format (#4068)
* wip

* add bats

* remove unused

* add SELECT dolt_storage_format()

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* prepared test

* rename skip_nbf_dolt_1 to skip_nbf_dolt

* multidb mode should load databases based on DOLT_DEFAULT_BIN_FORMAT

If there is a database in ./.dolt then we use its format to search for other compatible formats.

If there is no database in ./.dolt then we use `DOLT_DEFAULT_BIN_FORMAT` to search for other compatible formats.

* fix bats

* fix check_prepared_tests.sh

* fix bats

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-11 21:04:58 -07:00
coffeegoddd f505d10b80 /integration-tests/bats/sql-server.bats: use port_finder in sql server test 2022-08-09 12:42:16 -07:00
Jason Fulghum bab02484b2 Adding a BATS test 2022-08-04 15:36:19 -07:00
Vinai Rachakonda f86e2996d6 Lockfile should be ignored if encoded pid is different than the current process (#3986) 2022-08-03 13:41:05 -07:00
James Cor 9623166ab9 more privilege changes (#3810) 2022-07-27 17:31:57 -07:00
jennifersp 84af41c638 support unix socket (#3796) 2022-07-25 22:48:34 -07:00
Maximilian Hoffman 9dae75ed7d Better read only error messages (#3920)
* Better read only error messages

* GMS bump

* block table import for server lock
2022-07-25 18:02:14 -07:00
Dhruv Sringari 47f2f324f2 Fix for persisted database specific system variables failing to load (#3905)
* Fix for persisted database specific system variables failing to load

* Re-added missed line

* adding bats for global config

* fix bats

* pr comments
2022-07-25 10:42:16 -07:00
Dhruv Sringari 72055b9548 unskip bats that already work and annotate the rest (#3884) 2022-07-21 12:43:14 -07:00
James Cor 278b2b3ebb merge with main 2022-07-12 16:02:49 -07:00
Brian Hendriks eaf0312c3f test fix 2022-07-12 13:35:27 -07:00
Brian Hendriks 82e3ce1be5 debug 2022-07-11 17:43:10 -07:00
Brian Hendriks fdb5104efe Support per user session variables in the server config 2022-07-11 15:26:38 -07:00
James Cor 6b5ee5f5d3 merge with main 2022-07-05 21:37:15 -07:00
Maximilian Hoffman cf2812f20e CLI write commands server-locked (#3755)
* [no-release-notes] broken arm release

* CLI write commands server-locked

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* abs path

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-07-05 16:30:40 -07:00
James Cor 2baa661785 Merge branch 'main' into james/local-user 2022-07-05 14:57:54 -07:00
Maximilian Hoffman d5ec4382a6 Only rebase transaction start for read replica (#3722)
* Only rebase transaction start for read replica

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* missed var names

* another var name

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* server lock file

* put serverLockFile in dsess

* better multiEnv locking

* more doc comments

* zach's comments

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-07-01 17:02:09 -07:00
Dhruv Sringari 24cac1f6c4 [no-release-notes] unskip more bats (#3737)
* Fix merge test for __DOLT_1__

* tree.ThreeWayMerge always calls callback when key collision occurs

* add keyless support for new format merge and other merge related tables

* newline of doom

* unskip more bats

* empty

* skip blame.bats and remotes-aws.bats
2022-07-01 17:00:42 -07:00
James Cor 461cd9d03f replacing in bats tests as well 2022-06-30 13:55:48 -07:00
Daylon Wilkins 178259995b Unskipped bats tests 2022-06-21 04:03:39 -07:00
jennifersp d9bb364c42 case sensitivity for database and branch names 2022-05-31 21:51:23 -07:00
Zach Musgrave c1d21f1e3a Merge pull request #3455 from dolthub/zachmu/db-drop-panic
[no-release-notes] Additional tests for drop database panic
2022-05-19 08:55:12 -07:00
Zach Musgrave 40c7f67dd0 Merge pull request #3454 from dolthub/zachmu/db-drop-panic
Fixed panic when dropping a database with active branches in use
2022-05-18 21:04:17 -07:00
Zach Musgrave 8934137ebc Added skipped tests for case sensitivity in db connection strings 2022-05-18 19:42:49 -07:00
Zach Musgrave 837a9f6ac8 Added test for dropping a branch-qualified DB 2022-05-18 19:24:55 -07:00