Andy Arthur
dff4b98668
skip typestable for new format
2022-05-26 12:11:50 -07:00
Andy Arthur
cfd74ab17d
unskip typestable enginetests
2022-05-26 11:56:55 -07:00
Andy Arthur
8e45698e3d
Merge remote-tracking branch 'origin/main' into andy/prolly-decimal-encoding
2022-05-25 13:56:15 -07:00
AndyA
a55ec2b016
Merge pull request #3479 from dolthub/andy/prolly-encodings
...
[no-release-notes] New format encodings for `Year`, `Date` and `Time`
2022-05-25 13:26:39 -07:00
Andy Arthur
9ee8773b83
added encoding for decimal.Decimal
2022-05-25 12:29:12 -07:00
Zach Musgrave
8f1c3ed5e9
Merge pull request #3466 from dolthub/zachmu/ddl3
...
Support for adding / dropping primary keys on new storage format
2022-05-25 12:25:48 -07:00
Andy Arthur
03972c9e4c
fix prolly_fields_test
2022-05-25 12:18:20 -07:00
Zach Musgrave
d671c177f5
Fixed bug adding primary key, not null constraint wasn't getting applied in some cases
2022-05-25 11:01:06 -07:00
Maximilian Hoffman
93945d94d3
Log and diff tables use topo sorted iterator ( #3480 )
...
* Topologically sort commit traversal
* docstring
* aaron's comments
* delete old
2022-05-25 09:59:21 -07:00
Andy Arthur
b1203d02d5
fix prolly_fields_test
2022-05-24 16:18:32 -07:00
Andy Arthur
c878a26694
added new encoding for Time
2022-05-24 16:14:15 -07:00
Andy Arthur
2e7a81437b
added new encodings for year and date
2022-05-24 15:49:36 -07:00
Zach Musgrave
58b2ba2c14
Merge branch 'main' into zachmu/ddl3
2022-05-24 14:57:47 -07:00
zachmu
72b67b575a
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2022-05-24 21:41:24 +00:00
Zach Musgrave
d46920ef37
Fixed bug in table rewrites during primary key change: always flush new working set to disk even if we didn't write any rows. This matters when we've rewritten a table with no rows, but still need to persist the schema change.
2022-05-24 14:39:35 -07:00
Zach Musgrave
4f822170ef
Change the order of operations on insert: first primary index, then secondaries
2022-05-24 14:04:48 -07:00
JCOR11599
388ae91c2f
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2022-05-24 19:30:55 +00:00
James Cor
a6f70d46d1
no more grants please
2022-05-24 12:29:24 -07:00
James Cor
247eb019d6
Merge branch 'main' into james/mysql
2022-05-24 12:22:04 -07:00
Maximilian Hoffman
a22adf4d33
[no-release-notes] old harness refactors ( #3474 )
...
* [no-release-notes] refactor harness setup
* remove local GMS
* fix unscoped diff table panic
* try to make NewEngine look respectable
2022-05-24 11:59:40 -07:00
Zach Musgrave
76ea2f1885
Fix tests to make them actually drain iterators
2022-05-24 11:49:59 -07:00
Zach Musgrave
7c21057d9d
Fixed test with new error
2022-05-24 11:06:05 -07:00
Zach Musgrave
f1f93c19d0
Removing a debug print message, fixing noms show output
2022-05-24 11:01:05 -07:00
James Cor
ffa6ac9df3
feedback + testing if unskippable on windows
2022-05-24 10:25:00 -07:00
Zach Musgrave
da6169b173
Removed debug print statements
2022-05-24 10:10:29 -07:00
James Cor
e5c15a2933
Merge branch 'main' into james/mysql
2022-05-24 10:07:50 -07:00
Zach Musgrave
bf350af9cc
Merge main
2022-05-24 10:04:08 -07:00
AndyA
14e54ed631
Merge pull request #3475 from dolthub/andy/value-store-validation
...
[no-release-notes] Fix chunk corruption for keyless tables
2022-05-23 16:45:56 -07:00
Andy Arthur
f848a963a1
fix chunker overwrite for keyless tables, add valuestore validate to enginetests
2022-05-23 15:51:29 -07:00
Maximilian Hoffman
4a994d31c6
Read replica update working set fixes ( #3471 )
...
* Read replica update working set fixes
Read replica pull updates the session working set after pulling a
filtered set of branches from the tracking database. The original
(buggy) implementation updates the working set to the branch specified
at server-start time. The identity of that branch was fixed for the
duration of the server, so dolt_checkout would (appear to) have no
effect on the new branch's working set. What actually happened was more
pernicious: the working set was updated to the value of the
incorrect branch.
The fix no longer statically sets the active branch for a read replica
database. The active branch is pulled from the `*sql.Context`, so the
correct working set will be updated.
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* add test
* todos
* delete extraeneous line
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com >
2022-05-23 15:00:11 -07:00
James Cor
42a7f497a3
Merge branch 'main' into james/mysql
2022-05-23 13:23:46 -07:00
Daylon Wilkins
079ab06a38
Added indexing for keyless tables + keyless foreign keys
2022-05-23 06:28:03 -07: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
Zach Musgrave
e0627b4b9c
More debug messages
2022-05-20 16:28:56 -07:00
James Cor
5ded1a3110
Merge branch 'main' into james/mysql
2022-05-20 14:27:47 -07:00
James Cor
0e032556a3
only load privs sometimes, and always persist mysql.db
2022-05-20 14:25: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
Zach Musgrave
8817a8baef
Debug printing and debug printing bug fixes
2022-05-19 17:02:11 -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
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
Jason Fulghum
57c5e293e1
Minor tweaks to tidy up a little more
2022-05-19 11:07:06 -07:00
Zach Musgrave
7f3f7e3d2b
Moved backup foreign key index logic into alterSchema, added drop primary key functionality to rewrite logic
2022-05-19 10:19:00 -07:00
Zach Musgrave
25ce2194e6
Moved foreign index update logic to foreign key collection type
2022-05-19 09:20:59 -07:00
Zach Musgrave
779a8d1ea8
Merge branch 'main' into zachmu/ddl3
2022-05-19 08:59:32 -07: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
Zach Musgrave
c491e777a0
Fixed panic when dropping a database with active branches in use
2022-05-18 18:17:25 -07:00
Zach Musgrave
35a40ab02b
Rewrite on primary column drop
2022-05-18 17:22:06 -07:00