Commit Graph

7308 Commits

Author SHA1 Message Date
JCOR11599 eb0b71090d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-05-22 05:58:07 +00:00
James Cor d60d309d18 ignore loading privileges from non-existent file 2022-05-21 22:56:52 -07:00
James Cor d0c130d215 starting expect, got file behavior correct 2022-05-20 16:41:27 -07:00
James Cor 5ded1a3110 Merge branch 'main' into james/mysql 2022-05-20 14:27:47 -07:00
James Cor c006dcea5e get main 2022-05-20 14:27:02 -07:00
James Cor 0e032556a3 only load privs sometimes, and always persist mysql.db 2022-05-20 14:25:14 -07:00
Andy Arthur ae2fd4ec4f Merge branch 'main' of github.com:dolthub/dolt into main 2022-05-20 11:02:44 -07:00
Andy Arthur 3b1212fa20 update test names 2022-05-20 11:02:36 -07:00
Dustin Brown 6dc63afcf8 [ga-bump-dep] Bump dependency in Dolt by max-hoffman (#3461)
Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com>
Co-authored-by: Max Hoffman <max@dolthub.com>
2022-05-20 08:34:14 -07:00
Maximilian Hoffman 8a7bc85bf8 [no-release-notes] New enginetest harness (#3452)
* [no-release-notes] New enginetest harness

* touch ups

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

* missing dep

* fix new storage engine tests

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

* missing go.sum

* refactor setup package

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

* refactor setup package again

* [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>
2022-05-19 20:07:00 -07:00
Aaron Son ae2ca28611 Merge pull request #3456 from dolthub/aaron/flatbuffers-no-write-buffering
[no-release-notes] store/types: value_store.go: Disable write buffering locality optimization in value store when using __DOLT_* formats.
2022-05-19 14:25:03 -07:00
Jason Fulghum a2522edbdf Merge pull request #3444 from dolthub/fulghum/multi-db-test-fix
[no-release-notes] Changing Dolt Harness to track a MultiRepoEnv
2022-05-19 13:32:04 -07:00
JCOR11599 51c1634b30 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-05-19 18:53:52 +00:00
James Cor e45afffd6e bump 2022-05-19 11:52:39 -07:00
James Cor 5931e86b3c Merge branch 'main' into james/mysql 2022-05-19 11:49:58 -07:00
Jason Fulghum 504cd47e82 Adding a new function to create a test environment with configuration params separate from other test environments and using that new function for creating databases in Dolt Harness. 2022-05-19 11:49:22 -07:00
Aaron Son bb05f7e8b4 store/types: value_store.go: Disable write buffering locality optimization in value store when using __DOLT_* formats. 2022-05-19 11:07:54 -07:00
Jason Fulghum 57c5e293e1 Minor tweaks to tidy up a little more 2022-05-19 11:07:06 -07:00
Aaron Son 4784b51cb3 store/types: value_store.go: Remove panics on err in bufferChunk; just return errors. 2022-05-19 10:43:05 -07:00
Dhruv Sringari fefb7d9683 go/store/types: add types.UnionMaps (#3448)
* add types.UnionMaps

* caller can choose value when key collision occurs

* fix comment
2022-05-19 09:19:20 -07:00
zachmu 14a751c2e0 [ga-bump-release] Update Dolt version to 0.40.4 and release v0.40.4 2022-05-19 04:16:55 +00:00
Zach Musgrave 40c7f67dd0 Merge pull request #3454 from dolthub/zachmu/db-drop-panic
Fixed panic when dropping a database with active branches in use
2022-05-18 21:04:17 -07:00
AndyA 70e9b0dc6b Merge pull request #3449 from dolthub/andy/fix-diff-table-time
[no-release-notes] Maybe deref commit time value
2022-05-18 18:24:21 -07:00
AndyA 622eecb9ce Merge pull request #3408 from dolthub/andy/nbf-gate
[no-release-notes] Gate some CLI commands for `__DOLT_1__`
2022-05-18 18:23:49 -07:00
Zach Musgrave c491e777a0 Fixed panic when dropping a database with active branches in use 2022-05-18 18:17:25 -07:00
JCOR11599 353d13b6ac [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-05-19 00:22:00 +00:00
James Cor a9b4054946 Merge branch 'main' into james/mysql 2022-05-18 17:20:25 -07:00
James Cor 831cb9a41b aaaaa 2022-05-18 17:19:50 -07:00
Zach Musgrave 6c938e61fa Merge pull request #3447 from dolthub/zachmu/ddl3
[no-release-notes] Always rewrite tables with the new code path on drop column
2022-05-18 16:28:54 -07:00
Andy Arthur 0705398333 nil check ddb 2022-05-18 16:18:46 -07:00
Andy Arthur 814b8a58aa maybe deref commit time value 2022-05-18 15:59:00 -07:00
Aaron Son 4c37410e54 Merge pull request #3443 from dolthub/aaron/fix-racey-pipeline-finalization
[no-release-notes] go/libraries/utils/pipeline: Fix racey finalization of a pipeline.
2022-05-18 15:41:37 -07:00
Zach Musgrave 64364cf9ed Merge main 2022-05-18 15:05:13 -07:00
Zach Musgrave 5aa3a5aed4 Upgrade gms 2022-05-18 15:03:31 -07:00
Zach Musgrave 39ed416515 Always rewrite tables on drop column 2022-05-18 15:01:37 -07:00
Aaron Son edf0485148 go/libraries/utils/pipeline/stage.go: Fix how we finalize a stage so that every consumer can still see nil in the success case. 2022-05-18 14:31:09 -07:00
Andy Arthur 6d28deda12 Merge remote-tracking branch 'origin/main' into andy/nbf-gate 2022-05-18 14:25:23 -07:00
Aaron Son ec7af0c507 go/libraries/utils/pipeline: Fix unit test for new semantics. 2022-05-18 14:07:14 -07:00
James Cor e9ada8a99e empty check 2022-05-18 13:36:22 -07:00
Jason Fulghum 69957b7171 Changing Dolt Harness to track a MultiRepoEnv instead of DoltEnv to fix multi database support. 2022-05-18 13:21:25 -07:00
Aaron Son a8f5e44786 go/libraries/utils/pipeline: stage.go: Another pass at finalization strategy. 2022-05-18 12:17:35 -07:00
James Cor 57f2a3f163 moving flatbuffer logic out of dolt 2022-05-18 12:08:06 -07:00
Aaron Son f4b6b6fe50 go/libraries/utils/pipeline: Fix racey finalization of a pipeline.
Before this change, when an initial stage function returned a non-nil err, it
would return non-nil, resulting in closing its output channel and leaving the
errgroup responsible for canceling the egCtx.

The next transform stage would read `nil, false` on its inCh. That stage would
forward the `nil` down the transform pipeline. If the inCh selects all resolved
down the transform pipeline before any of the `<- ctx.Done()` selects, then the
pipeline would see the exact same behavior for the error case as it would see
for an `io.EOF` being reached in the first stage.

Instead, transform stages in the pipeline should abort without forwarding data
if they see a closed input channel. In turn, input stages should forward one
last `nil` sentinel value to their output channel when the see an `io.EOF`
before they close the channel.
2022-05-18 10:11:27 -07:00
Aaron Son 25d00df834 Merge remote-tracking branch 'origin/main' into aaron/dolt_backup-stored-procedure 2022-05-18 09:02:25 -07:00
Hydrocharged e99fac4030 [ga-bump-release] Update Dolt version to 0.40.3 and release v0.40.3 2022-05-18 04:35:35 +00:00
Daylon Wilkins e613b1647a Added SHOW CREATE PROCEDURE test for external procedures 2022-05-17 20:32:24 -07:00
Hydrocharged ecdd382349 [ga-bump-dep] Bump dependency in Dolt by Hydrocharged 2022-05-18 03:21:35 +00:00
Maximilian Hoffman f4dd4c7d6b Dolt clean (#3440)
* Dolt clean

CLI and sql clean function. Clears untracked tables by finding the
difference betewen HEAD and the current working set and then deleting
the result.

Optionally specify `--dry-run` to avoid persisting the result root.

Optionally pass a list of table names to filter for deletion if
untracked.

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

* zach comments

* need clean func for proc

* fix andy's PR

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-05-17 18:38:24 -07:00
Andy Arthur b4ccd71c57 Merge branch 'main' into andy/nbf-gate 2022-05-17 17:11:09 -07:00
Vinai Rachakonda 5e333b0e8f Fix error message for DOLT_MERGE conflicts (#3413) 2022-05-17 19:56:09 -04:00