Commit Graph

485 Commits

Author SHA1 Message Date
Timothy Sehn ad61c3bef3 Skipped bats test for creating tables using the database.table syntax in the same session as creating the database. 2022-01-24 14:13:53 -08:00
Daylon Wilkins 9a38087ee6 Updated GMS and updated interface changes 2022-01-24 06:53:23 -08:00
jennifersp ec95a96d9c add \G vertical query format (#2593) 2022-01-18 12:02:58 -08:00
Zach Musgrave 988485307b Merge pull request #2597 from dolthub/zachmu/defaults
Lazily load column defaults
2022-01-12 20:12:05 -08:00
Zach Musgrave ba6967053c Fixed test for new CHECK output format 2022-01-12 19:04:54 -08:00
Vinai Rachakonda 7637e2028f Rewrite portion of the import path to better support partials (#2601) 2022-01-12 18:12:40 -08:00
Zach Musgrave 6002ddbc73 Just spacing 2022-01-12 17:49:20 -08:00
Aaron Son e67e6002a0 Merge pull request #2592 from dolthub/aaron/sql-server-autocommit-config-respected
sql-server: Fix regression: Respect autocommit config.
2022-01-10 15:03:11 -08:00
Aaron Son aa1aed79bc integration-tests/bats/sql-server.bats: Skip mysql CLI test on macOS for now. 2022-01-10 13:22:58 -08:00
Andy Arthur fc8b4b3599 added bats test for init with new format 2022-01-10 12:39:20 -08:00
Aaron Son 7b2abffcec sql-server: Fix regression: Respect autocommit config.
In the migration to *SqlEngine in 0.34.4 to 0.34.5, the server config's respect
for the default value for autocommit regressed. In 0.34.5 - 0.35.3,
`autocommit` is always turned on by default for incoming connections,
regardless of the setting in the config.yaml file or the flag
`--no-auto-commit` being passed at the command line.
2022-01-10 12:00:15 -08:00
Zach Musgrave 4b4c98c66d Merge branch 'main' into zachmu/show-tables 2022-01-06 09:25:58 -08:00
Vinai Rachakonda e7aca8ba49 Fix bug with import update dropping rows (#2560) 2022-01-05 20:47:43 -08:00
Zach Musgrave 04bdbc4374 Test for https://github.com/dolthub/dolt/issues/2559 2022-01-05 18:00:59 -08:00
jennifersp 72444601de add DOLT_BRANCH() function (#2530) 2021-12-28 12:12:35 -08:00
jennifersp fdec0ba82b add mysql client bats test (#2540) 2021-12-27 19:13:15 -08:00
Zach Musgrave 6273c6db4e Fixed bug in node client test 2021-12-16 14:09:48 -08:00
Zach Musgrave 7efc695302 Fixed bug in cpp mysql connector test 2021-12-16 13:44:49 -08:00
Zach Musgrave e2f52af009 Fix for error message 2021-12-15 15:13:10 -08:00
Zach Musgrave 10844a40a2 Added a test of removing auto_increment from a key col 2021-12-15 15:02:35 -08:00
Zach Musgrave ff7f1680ab Merge main 2021-12-15 12:39:39 -08:00
Zach Musgrave ab43168435 Added a couple bats tests 2021-12-15 12:12:11 -08:00
jennifersp 058946246d add pager to dolt log (#2482) 2021-12-15 11:03:59 -08:00
Maximilian Hoffman da3dcab266 default upstream and bats test (#2503) 2021-12-14 09:43:18 -08:00
Maximilian Hoffman 0232eba612 bats test for failed window agg query (#2494)
* bats test for failed window agg query

* simplify bats test

* better test name
2021-12-13 20:28:16 -08:00
Zach Musgrave 6509ecc106 Starting to fix initial autoinc value for non-empty tables, added bats tests 2021-12-13 16:38:06 -08:00
Andy Arthur c41b147786 remove legacy compatibility tests 2021-12-13 16:16:07 -08:00
Maximilian Hoffman 0cbd7e780c Async push for replication (#2369)
* starter code

* async replication prototype

* benchmark async push

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

* delete hanging line

* add comment for concurrent map access

* move replication into databaseProvider

* top-level wait group for async threads

* fix testsg

* standardize wg format

* missing header

* address data race

* make async test shorter

* delete unnecessary lines

* starter code for new sqlEngine interface

* new engine interface with background threads

* brian's comments

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

* missed a datarace

* fix bats

* bad go.sum

* add latest GMS commit

* bump GMS

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-12-11 13:41:58 -08:00
Vinai Rachakonda 57ab97e743 Fix auto fwt transform to not drop a row on flush (#2490) 2021-12-11 12:35:32 -08:00
Zach Musgrave e7fb7749a3 Unskip test 2021-12-09 17:21:01 -08:00
Timothy Sehn d14b286523 Added skipped bats test for the issue where an index is used inappropriately when a function modifies the column producing incorrect results 2021-12-09 16:06:18 -08:00
Tim Sehn 29cfbf258d Merge pull request #2472 from dolthub/tim/sql-checkout-skipped-bats
Modified bats for SQL checkout to assert that the branch should not change on the CLI.
2021-12-07 15:52:02 -08:00
Timothy Sehn 92366d8d77 Added assertion that the branch is created 2021-12-07 15:10:01 -08:00
Timothy Sehn 7f83092992 Changed test to reflect current behavior and added a comment 2021-12-07 15:05:32 -08:00
Timothy Sehn 5ec1778b78 Modified bats for SQL checkout to be skipped. SQL Checkout does not change the branch in command line context. 2021-12-07 14:53:33 -08:00
James Cor c4c8ac3c11 Merge pull request #2443 from dolthub/james/fix-2442-read-only-flag-test
stop ignoring read_only flag
2021-12-07 14:29:53 -08:00
James Cor f7998428b4 more tests 2021-12-07 13:30:02 -08:00
Aaron Son c79663a6e8 integration-tests/bats/sql-server.bats: Update multi statement test to assert that the behavior works. 2021-12-07 10:02:37 -08:00
Maximilian Hoffman 5976e99c52 default PrimaryKeySchema, maintain primary key ordinals (#2446)
Use `sql.PrimaryKeySchema` in Dolt for PK ordered indexes. Applies to Table and Foreign Key indexes. Column mutation tracks PK Ordinal changes.
2021-12-03 15:56:33 -08:00
jennifersp 5e37076540 Merge pull request #2439 from dolthub/jennifer/checkout-force
add force flag to dolt checkout
2021-12-03 14:20:39 -08:00
Tim Sehn e09d71ebc0 Merge pull request #2459 from peter-gy/main
fix: userNameRequiredError message in CLI
2021-12-03 13:50:37 -08:00
jennifersp 4e9fce2e46 fix bats test 2021-12-03 13:48:17 -08:00
jennifersp 6fc1dbbd76 Merge pull request #2449 from dolthub/jennifer/dolt-blame
sort dolt blame result by pk
2021-12-03 13:16:59 -08:00
jennifersp 17e0afabfd fix change of bats test 2021-12-03 12:59:45 -08:00
jennifersp d461a7e12b add bats test 2021-12-03 12:56:39 -08:00
James Cor e938c91d46 go mod please 2021-12-02 13:23:21 -08:00
Aaron Son 5a3ee4db90 Merge pull request #2454 from dolthub/aaron/sqlserver-cfg-disable-multi-statements
go/cmd/dolt: commands/sqlserver: Add configuration for disabling MULTI_STATEMENTS support on the server.
2021-12-02 13:08:18 -08:00
jennifersp dc008f8b1e fix checkout tests 2021-12-02 11:54:23 -08:00
jennifersp 883f3eae50 fix sorting types 2021-12-02 10:02:33 -08:00
Timothy Sehn 239f93757a Added specific test for log respecting branches 2021-12-02 09:24:07 -08:00