Commit Graph

10184 Commits

Author SHA1 Message Date
Zach Musgrave
8a47db3dcf Refactoring sql command, added a failing bats test 2021-11-03 17:00:45 -07:00
Zach Musgrave
9b565a19df Changed multirepo env to use deterministic ordering and to initialize with nested repositories by default. Removed commit arg from sql command. 2021-11-03 16:37:53 -07:00
Zach Musgrave
c255cf9787 Fixed / skip tests involving dropping databases 2021-11-03 10:44:49 -07:00
Zach Musgrave
7213c523c9 Upgrade GMS 2021-11-02 16:43:32 -07:00
Zach Musgrave
337210c37b Better valid test for sql client command 2021-11-02 16:37:18 -07:00
zachmu
f879f63745 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-11-02 23:05:46 +00:00
Zach Musgrave
17a8f13f14 SQL command line test for creating databases 2021-11-02 16:01:21 -07:00
Zach Musgrave
1cdf3c7b5b Added tests of error conditions 2021-11-02 15:37:48 -07:00
Zach Musgrave
58d8e8740f Server tests for creating new databases 2021-11-02 15:32:52 -07:00
Zach Musgrave
d97e82853b Made sql-server run correctly without a dolt env 2021-11-02 13:34:33 -07:00
Zach Musgrave
9322c5a607 Added filesys to DB provider, CREATE DATABASE now fully working 2021-11-02 11:19:25 -07:00
Zach Musgrave
92f175a37a Merge branch 'main' into zachmu/create-db 2021-11-02 10:46:50 -07:00
Zach Musgrave
037f249e91 First pass at getting something working for create db 2021-11-02 10:46:12 -07:00
Daylon Wilkins
280bbb42f9 Updated the index interface 2021-11-01 19:34:44 -07:00
Maximilian Hoffman
d11f5ec41b default session implements persistable interface, can save SQL variables (#2270)
* save version with defaultConfig in session -- todo remove and make PersistedSession

* add PersistedSession, and DoltSession interface to switch

* fmt

* fixup test for persistedSession

* PersistedSession progress, interfaces and enginetests

* All DsessFromSess references fixed

* delete unnuecessary lines

* Comments for dolt session

* Dolt session tests

* save bats progress

* formatting

* GMS version

* Bump GMS version

* add license header

* fix multi-db errors

* try copyright again

* make test deterministic

* higher connection timeout default

* sever config ordering

* PR fixes

* PR fixes

* config rewrite progress

* server config refactor

* PR cleanup

* delete lines

* add go tests, refactor persistent global initialization

* PR fixes

* delete more lines

* small PR cleanup

* try to fix data race

* better constructor names

* zach don't like --server flag

* edge cases around disabling replication

* missed line in merge

* Skip two tests i fixed in follow-on PR

* merge two config prs

* fix nondeterministic bats

* zach's comments

* bump bats sql-shell expect timeout

* GMS and integrator race to access system vars; need to decide whether to force integrator to initialize, or make GMS init private; leaving in GMS for now
2021-11-01 16:49:00 -07:00
reltuk
fafb6fa6ed [ga-bump-release] Update Dolt version to 0.32.2 and release v0.32.2 v0.32.2 2021-11-01 18:08:55 +00:00
Zach Musgrave
e0c52c9b8c Merge pull request #2314 from dolthub/zachmu/docs
Fixed docs markdown generation and fixed a number of related formatting errors
2021-11-01 11:02:03 -07:00
Zach Musgrave
d2bb7b291b Merge pull request #2309 from dolthub/zachmu-ba7d8488
[auto-bump] [no-release-notes] dependency by zachmu
2021-11-01 10:24:20 -07:00
Zach Musgrave
63828cd208 Merge branch 'zachmu/docs' of github.com:dolthub/dolt into zachmu/docs 2021-11-01 10:19:25 -07:00
Zach Musgrave
d224601cb3 Param name again 2021-11-01 10:09:55 -07:00
Zach Musgrave
ae750f803d Fixed inadvertently changed param 2021-11-01 10:06:53 -07:00
zachmu
58ddaedf35 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-30 03:10:03 +00:00
Zach Musgrave
dab35fdeef Fixed a couple more formatting options 2021-10-29 20:04:59 -07:00
Zach Musgrave
553ca940cb Fix md docs dump format. Fixed a problem in formatting of reset docs. Tweaked command order. 2021-10-29 19:45:58 -07:00
Zach Musgrave
b78d7f05f6 Changed markdown interface to take a writer 2021-10-29 17:44:57 -07:00
Aaron Son
bd04b35c98 Merge pull request #2302 from dolthub/aaron/dolt-deleted-branch-handling
checkout,sql-server: Make `dolt checkout` and sql-connect-to-branch functionality available even when configured default branches do not exist.
2021-10-29 10:46:07 -07:00
Vinai Rachakonda
4a5a033c5d Expand Client Tests to include sql functions (#2303) 2021-10-29 10:18:38 -07:00
Vinai Rachakonda
3ddaf74aa8 Make sure sql shell context uses the session stored database (#2298) 2021-10-28 17:03:22 -07:00
zachmu
189a88af7b [ga-bump-dep] Bump dependency in Dolt by zachmu 2021-10-28 23:07:50 +00:00
Maximilian Hoffman
ca5ae29dd1 replica benchmark, no event progress for server (#2258)
* small push on write perf benchmark with no prog channel

* remove unused prog funcs

* remove unused prog funcs

* fix bench name

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

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-10-28 15:34:04 -07:00
Maximilian Hoffman
f12196df03 dolt_branches INSERT/UPDATE commit replication (#2301)
* branch table replicates

* Change param type
2021-10-28 15:28:31 -07:00
Dustin Brown
be8ed36bed [ga-bump-dep] Bump dependency in Dolt by VinaiRachakonda (#2308)
Co-authored-by: VinaiRachakonda <vinai@dolthub.com>
2021-10-28 14:07:41 -07:00
Brian Hendriks
a7a4eaf1b6 support oldgen table files in roots command (#2155) 2021-10-28 12:59:57 -07:00
reltuk
f45ef2091d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-27 22:53:40 +00:00
Aaron Son
87d0f702f5 go/libraries/doltcore/sqle/dsess: Further rework sql database initialization to allow revision specifiers to work when @@GLOBAL.dolt_default_branch specifies a non-existant branch. 2021-10-27 15:52:18 -07:00
Aaron Son
0e907557fc go/libraries/doltcore/sqle: Rework InitialDbState to allow for revision specifiers to continue to work after the default branch is deleted. 2021-10-27 12:08:50 -07:00
Dustin Brown
c5a5ddbab8 Merge pull request #2299 from dolthub/db/capture-error
[no-release-notes] /go/libraries/doltcore/remotestorage/chunk_store.go: capture has many error
2021-10-27 12:00:32 -07:00
Dustin Brown
9747423f42 /go/libraries/doltcore/remotestorage/chunk_store.go: capture has many error 2021-10-27 11:12:22 -07:00
Aaron Son
9e77f1cd13 go/libraries/doltcore/env/actions: branch.go: Fix dolt checkout so it works even if the currently checked out branch does not exist. 2021-10-27 11:09:54 -07:00
Tim Sehn
4298ac70b6 Merge pull request #2294 from dolthub/tim/skipped-bats-for-multidb-bug
Skipped bats for --multi-db-dir bug
2021-10-26 13:54:48 -07:00
Timothy Sehn
0850338a36 Added skipped bats tests for a bug in multi db mode when joining two tables of the same name in two different databases 2021-10-26 12:59:01 -07:00
Vinai Rachakonda
ce7db6b6d9 Get DoltMerge to ignore ErrIsAhead instead of error (#2288) 2021-10-26 11:48:06 -07:00
reltuk
dad1ea3b14 [ga-bump-release] Update Dolt version to 0.32.1 and release v0.32.1 v0.32.1 2021-10-26 00:13:58 +00:00
Aaron Son
1cadc76aaf Merge pull request #2290 from dolthub/reltuk-be5218fa
[auto-bump] [no-release-notes] dependency by reltuk
2021-10-25 17:11:26 -07:00
reltuk
3e618727ae [ga-bump-dep] Bump dependency in Dolt by reltuk 2021-10-25 23:43:18 +00:00
reltuk
90d1893349 [ga-bump-release] Update Dolt version to 0.32.0 and release v0.32.0 v0.32.0 2021-10-22 19:05:35 +00:00
Taylor Bantle
bf697ac661 Merge pull request #2280 from dolthub/taylor/force-create-bats
[no-release-notes] Add skipped bats for overwriting a table with foreign key constraints
2021-10-22 11:48:33 -07:00
Aaron Son
2827e6dd56 Merge pull request #2278 from dolthub/aaron/async-sorted-edits-must-be-stable
go/store/types/edits: Changes to ensure AsyncSortedEdits always returned edits in stable order based on how they were added.
2021-10-22 11:45:41 -07:00
Taylor Bantle
3315fa18f3 Only check for foreign key 2021-10-22 11:13:19 -07:00
Aaron Son
cd8695c528 integration-tests/bats: large-update.bats: Add a test to assert large SQL updates do not drop rows. 2021-10-22 11:12:39 -07:00