Commit Graph

11772 Commits

Author SHA1 Message Date
Dustin Brown 94f8780670 Merge pull request #3054 from dolthub/db/bump-go
/{.github,go}: require go 1.18
2022-03-21 15:51:08 -07:00
Dustin Brown bb25ce9d6f /{.github,go}: require go 1.18 2022-03-21 14:02:06 -07:00
Zach Musgrave 6f7a48379c Merge pull request #3042 from dolthub/zachmu/index-bugs
Fixed two bugs in foreign key creation
2022-03-21 14:55:24 -05:00
Dustin Brown 7b46688942 Merge pull request #3050 from dolthub/db/bump-go
[no-release-notes] /.github/workflows: bump go in CI
2022-03-21 12:12:47 -07:00
Dustin Brown 63789fd9f9 /.github/workflows: bump go in CI 2022-03-21 12:07:14 -07:00
Zach Musgrave 0fe92461e5 Fixed missing error, removed unnecessary env var from bats tests 2022-03-21 10:45:06 -07:00
Zach Musgrave 9aa656a3df Fixed tests 2022-03-21 10:12:07 -07:00
Zach Musgrave a3c9d91116 Bats test for foreign keys onto a compound primary key 2022-03-18 17:29:50 -07:00
Zach Musgrave e0f60063d3 Fixed bug in automatic index creation on referenced table during foreign key creation. Two bugs: the index was being incorrectly created as unique in some cases; and index was being incorrectly permitted when it wasn't a prefix of the key. 2022-03-18 17:19:59 -07:00
Zach Musgrave f5dda58b2e Bats test for fixed bug 2022-03-18 16:48:36 -07:00
Zach Musgrave f43697d9b4 Fixed bug in index type checking. Was validating every column in the table, rather than just the ones being used to create an index. 2022-03-18 16:14:12 -07:00
Aaron Son 58bc41ce7a Merge pull request #3038 from dolthub/aaron/github-protobuf-to-golang-protobuf
go.mod,proto/third_party: Bump protobuf dependencies to migrate from github.com/golang/protobuf to google.golang.org/protobuf.
2022-03-18 14:25:32 -07:00
Aaron Son 89e35d3b22 Merge pull request #3031 from dolthub/aaron/doltdb-commitst-to-value
[no-release-notes] go/{store/datas,doltdb}: Further decouple commit usage from types.Struct.
2022-03-18 13:30:48 -07:00
Aaron Son f9e8f1fada go.mod,proto/third_party: Bump protobuf dependencies to migrate from github.com/golang/protobuf to google.golang.org/protobuf. 2022-03-18 13:06:19 -07:00
AndyA 7291433c2d Merge pull request #3035 from dolthub/andy/db-revision-tests
go/libraries/sqle: Added integration tests for "Database Revisions", simplified DoltDatabseProvider
2022-03-18 12:55:48 -07:00
jennifersp b837fc98de Merge pull request #3034 from dolthub/jennifersp-93a6edd8
[auto-bump] [no-release-notes] dependency by jennifersp
2022-03-18 12:22:06 -07:00
andrew-wm-arthur 26fa9ac3f2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-03-18 18:56:19 +00:00
Andy Arthur c0828fa41d fix create table statements 2022-03-18 11:54:50 -07:00
Andy Arthur 6ef53ef4fe cleanup 2022-03-18 11:50:44 -07:00
Andy Arthur a6c2b7cd15 added more tests for commit revisions 2022-03-18 11:48:22 -07:00
jennifersp b1dba3bb2f Merge branch 'main' into jennifersp-93a6edd8 2022-03-18 11:38:12 -07:00
Vinai Rachakonda 774c7311f2 Pin the version of mysqlfw, add a comment, and a check to stop postgres (#3030) 2022-03-18 11:15:31 -07:00
Andy Arthur 79eadb0613 updated test sql context/session to include Revision Database provider 2022-03-18 11:15:20 -07:00
jennifersp 0f3ac10dad [ga-bump-dep] Bump dependency in Dolt by jennifersp 2022-03-18 17:52:01 +00:00
Andy Arthur cc616b18f1 reworked tests, removed config from database provider 2022-03-18 10:27:17 -07:00
Andy Arthur 6c5fcd19d8 db revision integration test stub 2022-03-18 09:40:00 -07:00
Aaron Son 676683a269 libraries/doltcore/doltdb: Further small types.Struct cleanup. 2022-03-18 09:16:54 -07:00
reltuk d2893778ae [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-03-17 23:53:50 +00:00
Aaron Son 4da7b8dd9c Merge remote-tracking branch 'origin/main' into aaron/doltdb-commitst-to-value 2022-03-17 16:42:54 -07:00
Aaron Son d2f21e5818 Merge pull request #3019 from dolthub/aaron/datas-commit-cleanup
[no-release-notes] go: store/datas,doltdb: Decouple some Commit accesses and implementations from types.
2022-03-17 16:42:47 -07:00
Aaron Son 35aafdf82d go/store/datas: Make the names of commit struct fields package private. 2022-03-17 16:22:00 -07:00
AndyA 5260801057 Merge pull request #3021 from dolthub/andy/session-refactor
go/libraries/doltcore/sqle/dsess: Refactor Dolt Session update methods
2022-03-17 14:57:36 -07:00
Aaron Son b67c7ca41f store/datas,doltdb: Convert some Commit accesses to go through types.Value instead of types.Struct. 2022-03-17 14:05:41 -07:00
Andy Arthur a9b32ab689 cleaned up Database initialization 2022-03-17 13:13:20 -07:00
Andy Arthur 99d95653de combine un/exported versions of Session.SetWorkingSet() 2022-03-17 13:05:23 -07:00
AndyA fbcc56d6ed Merge pull request #3025 from dolthub/andy/set-mysql-client-test-timeout
.github/workflows: Added timeout for MySQL client integration tests
2022-03-17 11:54:08 -07:00
Andy Arthur 46c3344cf7 added timeout for MySQL client integration tests 2022-03-17 11:49:37 -07:00
Andy Arthur bd574edce2 updated method docs for WriteSession 2022-03-17 11:22:24 -07:00
Andy Arthur b3002d06f7 fix comment, add another working set ref assertion 2022-03-17 11:16:21 -07:00
Aaron Son 19af8b8d74 go: doltdb: commit.go: Fix out of bounds index. 2022-03-17 10:42:47 -07:00
Aaron Son d3dcafa57f go/store/datas: NewCommitForValue returns types.Value. 2022-03-17 10:38:23 -07:00
Aaron Son 8740b38d1b go: doltdb: commit.go: Do not eagerly load root value, as that can error on feature version mismatch. 2022-03-17 10:07:06 -07:00
Aaron Son be075c7cfb store/datas/commit.go: Fix unreachable code. 2022-03-17 09:30:00 -07:00
Aaron Son ce6aa6d921 doltdb: Commit.GetAncestor: Fix cur/c confufsion. 2022-03-17 09:23:52 -07:00
Aaron Son 5ad5b2bd52 Merge remote-tracking branch 'origin/main' into aaron/datas-commit-cleanup 2022-03-17 09:06:06 -07:00
Aaron Son 7a328fff7d Update copyrighthdrs. 2022-03-17 08:46:47 -07:00
andrew-wm-arthur 84bcd6774d [ga-bump-release] Update Dolt version to 0.37.6 and release v0.37.6 v0.37.6 2022-03-17 03:14:27 +00:00
Andy Arthur c2b5e58173 enforce WorkingSet ref continuity in Session 2022-03-16 17:44:15 -07:00
Maximilian Hoffman ab4d2234aa Apply PK ordinals to secondary index pk tag ordering (#3013)
* Apply PK ordinals to secondary index pk tag ordering

* bump GMS
2022-03-16 17:06:27 -07:00
Andy Arthur 334ac46e60 change SwitchWorkingSet to discard previous WriteSession 2022-03-16 17:01:28 -07:00