Commit Graph

135 Commits

Author SHA1 Message Date
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
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
Tim Sehn
33ad4354c5 Fix a select commit to call dolt_commit I found in code review 2022-10-21 12:15:15 -07:00
Tim Sehn
6af00ce059 Fixed all (or at least most) bats tests 2022-10-21 12:12:07 -07:00
jennifersp
24108f14a2 get unused port number and stop running server only (#4550) 2022-10-14 14:07:35 -07:00
Aaron Son
dd7b5b5bec integration-tests/go-sql-server-driver: Move over some more tests. 2022-10-03 16:37:24 -07:00
Aaron Son
153ea002e4 integration-tests/go-sql-server-driver: Start migrating over some simple tests from sql-server.bats. 2022-10-03 14:00:56 -07:00
jennifersp
4565f37da2 turn off opt-in feature for unix socket (#4413) 2022-09-28 10:28:01 -07:00
jennifersp
a1e57989bb allow drop current database directory and fix drop db with '-' (#4400) 2022-09-27 11:45:07 -07:00
jennifersp
51952b84a1 have TempTableFilesDir() return err if .dolt is not found (#4301) 2022-09-16 20:29:21 -07:00
jennifersp
f528ff1b6a create db when no current db is set (#4315) 2022-09-12 14:51:40 -07:00
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