Commit Graph

9548 Commits

Author SHA1 Message Date
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
e4bb58d477 Un-feature-gate branch-qualified connection strings 2021-07-27 17:33:07 -07:00
Zach Musgrave
d554276ab6 Enabled named db revisions for SQL command (previously only in server) 2021-07-27 17:25:33 -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
Zach Musgrave
a94a02d7d1 Increase default max connections to 100 2021-07-27 12:07:17 -07:00
Daylon Wilkins
4a6e9844c2 Small fixes 2021-07-26 16:32:36 -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
AndyA
6882de8c98 Merge pull request #1933 from dolthub/andy/database-revisions
Andy/database revisions
2021-07-23 13:53:18 -07:00
Andy Arthur
f3591e41aa fix SessionStateAdapter 2021-07-21 16:07:40 -07:00
Hydrocharged
ff633742f7 [ga-bump-release] Update Dolt version to 0.27.0 and release v0.27.0 v0.27.0 2021-07-21 22:51:07 +00:00
Andy Arthur
0e3bd0f47f fix verify_constraints() 2021-07-21 15:35:35 -07:00
Andy Arthur
e9aa4c0bdc Merge branch 'master' into andy/database-revisions 2021-07-21 15:34:32 -07:00
Brian Hendriks
da6d5c5e3d fix initial gcGen and exit gc early if there is nothing to do (#1935) 2021-07-21 15:00:46 -07:00
Vinai Rachakonda
3111cc4a5b No-op bad alter table auto increment (#1930) 2021-07-21 14:24:07 -07:00
Andy Arthur
fdc91d7cf4 pr feedback 2021-07-21 10:01:26 -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
andrew-wm-arthur
66961cf567 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-07-20 19:37:46 +00:00
Andy Arthur
f5d067861d put locks on DoltDatabaseProvider 2021-07-20 12:32:50 -07:00
Andy Arthur
97d697f38a handle COM_INIT_DB 2021-07-20 12:32:50 -07:00
Andy Arthur
c54ce0be5a fix rebase problems 2021-07-20 12:32:50 -07:00
Andy Arthur
dc81473219 provide dynamic databases 2021-07-20 12:32:46 -07:00
Andy Arthur
58e39f42ec fix rebase errors 2021-07-20 12:32:17 -07:00
Andy Arthur
5fa0978734 added sess.LookupDbState() 2021-07-20 12:32:17 -07:00
Andy Arthur
7e25fa734f added database revisions to database provider 2021-07-20 12:32:17 -07:00
Andy Arthur
39fecd65f3 repofmt 2021-07-20 12:32:17 -07:00
Brian Hendriks
fe5bb93dbd Bh/delete optimizations (#1743) 2021-07-20 10:36:18 -07:00
Vinai Rachakonda
c4846fcc3d Vinai/updt client (#1926)
Updates the server client to match gms
2021-07-16 15:17:07 -07:00
Aaron Son
cd78742699 Merge pull request #1925 from dolthub/aaron/nbs-fix-tables-race-in-GetChunkLocations
[no-release-notes] go/store/nbs: Fix a racey read on nbs.tables in GetDownloadLocations.
2021-07-16 13:56:43 -07:00
Aaron Son
9974e2c6b3 Merge pull request #1924 from dolthub/aaron/datas-find-common-ancestor-uses-heap
[no-release-notes] go/store/datas: FindCommonAncestor uses heap.
2021-07-16 13:56:24 -07:00
Aaron Son
578a34f572 go/store/nbs: Fix a racey read on nbs.tables in GetDownloadLocations. 2021-07-16 12:08:01 -07:00
Aaron Son
0013dd4b53 go/store/datas: FindCommonAncestor uses heap. 2021-07-16 09:11:01 -07:00
Daylon Wilkins
8d971dcd35 Added fast forward handling and fleshed out constraint violation messages 2021-07-15 17:16:16 -07:00
AndyA
22a7dd9f48 Merge pull request #1922 from dolthub/andy/read-empty-conflicts
[no-release-notes] Andy/read empty conflicts
2021-07-15 14:57:52 -07:00
Andy Arthur
4a83a6e1ea bats test 2021-07-15 14:31:05 -07:00
Andy Arthur
add22061d6 read empty dolt_contlicts_* tables without erroring 2021-07-15 14:26:49 -07:00
Daylon Wilkins
6b2b68923b Further attempts to fix ACCESS_DENIED error on Windows 2021-07-15 13:26:59 -07:00
Aaron Son
2b0b879827 Merge pull request #1919 from dolthub/aaron/doltdb-branches-with-hashes
[no-release-notes] go/libraries/doltcore/doltdb: Add utility method for getting refs with their target hashes.
2021-07-15 10:04:35 -07:00
Aaron Son
c45d4f2b9e go/libraries/doltcore/doltdb: Add utility method for getting refs with their target hashes. 2021-07-14 16:28:26 -07:00
Vinai Rachakonda
bdab8be62a update readme for sql-server (#1911) 2021-07-14 16:18:28 -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
Brian Hendriks
f6822fd74f PUSH_LOG env var (#1904)
LGTM'd by @reltuk
2021-07-13 14:27:56 -07:00
AndyA
0402a15593 Merge pull request #1909 from dolthub/andy/diff-among-branches
[no-release-notes] Use only branch refs to calculate diff table super schema
2021-07-13 13:51:41 -07:00