Brian Hendriks
0a0ce2181c
Bh/gen cs ( #1938 )
2021-08-05 18:20:19 -07:00
Vinai Rachakonda
6a1c5ded21
nits
2021-08-03 18:19:26 -07:00
Vinai Rachakonda
e0405cd347
updt tests
2021-08-03 18:14:52 -07:00
AndyA
a51926d02e
Merge pull request #1972 from dolthub/andy/merge-abort-clean-index
...
Reset staging index on `dolt merge --abort`
2021-08-03 15:48:27 -07:00
Andy Arthur
d18c2e8003
set stagedRoot = workingRoot in WorkingSet.AbortMerge()
2021-08-03 15:19:10 -07:00
Andy Arthur
f6c9f227cb
added skipped bats to repro dirty index after 'dolt merge --abort'
2021-08-03 15:14:54 -07:00
Zach Musgrave
1ab4f68db6
Slightly more robust test
2021-08-02 17:31:33 -07:00
Zach Musgrave
677b7d5cd7
Fixed panic in merging a branch that still contains a table that was deleted in our root
2021-08-02 17:25:35 -07:00
Zach Musgrave
9ce9d5e0b4
More tests, and fixed most of the deleted table problems in merge
2021-08-02 17:14:29 -07:00
Zach Musgrave
6c55b14ecb
New merge tests, including two panics
2021-08-02 14:07:23 -07:00
Maximilian Hoffman
903684b6c8
Max/push panic ( #1959 )
...
* Fix push panic
* Fmt
2021-07-30 13:24:12 -07:00
Aaron Son
d57a17733d
Merge pull request #1951 from dolthub/aaron/improve-branch-edit-workingset-management
...
go: env/actions/branch: Move and delete branch also update working sets.
2021-07-30 12:34:32 -07:00
AndyA
154370c3d8
Merge pull request #1958 from dolthub/andy/stage-with-conflicts
...
[no-release-notes] Remove conflict/constraint checks from staging
2021-07-29 19:02:50 -07:00
Andy Arthur
6a37b7e12d
update test
2021-07-29 18:32:08 -07:00
Andy Arthur
1a1b051f27
more test updates
2021-07-29 17:29:57 -07:00
Andy Arthur
7571fc46c4
update test
2021-07-29 17:21:06 -07:00
Andy Arthur
723607870e
remove conflict/constraint checks from staging
2021-07-29 17:13:01 -07:00
Zach Musgrave
a367bda243
Fixed dolt_checkout to correctly update the head ref var, added a bats test
2021-07-29 16:24:35 -07:00
Zach Musgrave
e54107bc74
Allow switching branches by setting the head ref system variable. Added a bats test
2021-07-29 15:51:51 -07:00
Zach Musgrave
c674d817a8
bats test for switching heads with a session var
2021-07-29 15:43:56 -07:00
Zach Musgrave
2091b10b48
Merge pull request #1949 from dolthub/zachmu/use-branch
...
Branch and commit-qualified database names enabled by default
2021-07-29 14:46:37 -07:00
Daylon Wilkins
6148bded9d
Changed commit force to ignore conflicts and constraint violations
2021-07-29 14:12:59 -07:00
Aaron Son
3f1977561d
Iterate on bats/branch.bats for windows.
2021-07-29 13:51:47 -07:00
Aaron Son
b561946f86
go: env/actions/branch: When moving a branch, also move its working set.
2021-07-29 11:11:23 -07:00
Zach Musgrave
4c7f804563
Added a server test for connecting to database at a commit hash. Added the ability to assert an exception string in the python script
2021-07-28 18:39:20 -07:00
Vinai Rachakonda
fe231a0ad1
Vinai/dolt merge ret type ( #1941 )
...
Change dolt merge ret type
2021-07-28 14:10:56 -07:00
Zach Musgrave
82ed59272e
Tests for read-only error cases
2021-07-28 12:19:31 -07:00
Zach Musgrave
56f7ea3661
Somewhat hacky fix to get commit hash qualified DBs working
2021-07-28 11:42:07 -07:00
Zach Musgrave
2938edeeb5
Allow commit hashes to be used for DB qualifiers. This means we don't have a working set in this case, still many bugs there.
2021-07-27 20:39:28 -07:00
Zach Musgrave
eec245b055
Tests of using branch qualified db names in select and insert statements
2021-07-27 17:41:32 -07:00
Zach Musgrave
793979690d
Added test for USE branch syntax in SQL shell
2021-07-27 17:24:14 -07:00
Zach Musgrave
a0eaa87db7
Added tests for branch-based connection strings and USE syntax
2021-07-27 15:21:35 -07:00
Zach Musgrave
fa32453e31
Added a repo name param to all server tests
2021-07-27 13:11:14 -07:00
Maximilian Hoffman
909fdf4117
keyless secondary index ( #1886 )
...
* Initial keyless secondary index
* Cleanup code
* Add bats test
remove comments
* Remove confusing diff
* Remote feature gate
* Adds index insert, delete on row, should work with update. Not concurrency safe, might need to use ActionExecutor
* Fix the cardinality issues, card stored in index value tuple, indexKey returned multiple times in lookup range iterator
* Add index unit tests
* Refactor cardCounter, add describe bats
* Remove the extraneous iea map
* Fix inRange bug
* Remove types.Tuple{} usage
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* Delete commented line
* small tuple changes
* Fix noerror mistake
* Keyless indexEd undo in it's own closure
* Fix broken foreign key reference cascades
* QOL edits re: PR feedback
* Better comment
* Delete extraneous comment
* Delete extraneous comment
* Fix noms row ReduceToIndexKeys comment
* Add basic keyless FK cascade checks
* Daylon's PR comments
* Add keyless fk bats starter
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* Skip extra bats
* Replace PK reference with keyless index, skip 2 extra testsg
* Fix bats test names
* bats test name change typo
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com >
2021-07-26 14:52:29 -07:00
Vinai Rachakonda
02aacf5f8d
Add Bats Testcase for importing and exporting timestamps ( #1939 )
...
Add testcase
2021-07-25 14:32:29 -07:00
Vinai Rachakonda
3111cc4a5b
No-op bad alter table auto increment ( #1930 )
2021-07-21 14:24:07 -07:00
Daylon Wilkins
1d33bde91b
Reworked verify-constraints and renamed to constraints verify
2021-07-20 18:16:38 -07:00
Vinai Rachakonda
5134c4d822
Vinai/push error check ( #1932 )
2021-07-20 12:39:06 -07:00
Vinai Rachakonda
c4846fcc3d
Vinai/updt client ( #1926 )
...
Updates the server client to match gms
2021-07-16 15:17:07 -07:00
Daylon Wilkins
8d971dcd35
Added fast forward handling and fleshed out constraint violation messages
2021-07-15 17:16:16 -07:00
Andy Arthur
4a83a6e1ea
bats test
2021-07-15 14:31:05 -07:00
Daylon Wilkins
e68c6b2418
Foreign key and unique key constraint violation tests
2021-07-13 16:00:42 -07:00
Daylon Wilkins
2f4a949435
Added foreign and unique key constraint violations
2021-07-13 16:00:42 -07:00
Vinai Rachakonda
622a425ea3
Vinai/ai transactions ( #1876 )
...
This pr fixes auto increment behavior to deal with concurrency and multiple sessions.
2021-07-13 15:35:29 -07:00
Dustin Brown
35ed7e6243
Merge pull request #1892 from dolthub/db/schema-infer
...
fix: infer_schema treat leading zero numbers as strings
2021-07-07 13:32:53 -07:00
Vinai Rachakonda
467ad112ee
Add mysql_fdw read path test case ( #1889 )
2021-07-07 13:04:12 -07:00
Dustin Brown
fdd6d33293
/{go,integration-tests}: fix parse int with leading zero issue
2021-07-07 11:21:54 -07:00
Zach Musgrave
475a6c4787
Merge pull request #1890 from dolthub/zachmu/tx-enabled
...
Enable SQL transactions by default, and begin writing working set to database instead of repo_state.json file
2021-07-06 18:12:47 -07:00
Brian Hendriks
88fd93e7cc
Bh/push pull temptf ( #1885 )
2021-07-06 17:09:16 -07:00
Zach Musgrave
a0b14f3da9
Fixed bug in compatibility script. The test setup for forward compatibility was being done with the current dolt, not the dolt under test
2021-07-05 11:42:21 -07:00