Merged PRs
dolt
- 5860: go: env/actions: remotes.go: In SyncRoots, if we are syncing to an empty destination repository, use pull.Clone instead of pull.Pull.
pull.Clone uses the TableFileStore interface to transit whole table files without needing to follow chunk references or do any reconciliation with the destination database regarding what it already has. It is much faster against every time of remote. - 5853:
dolt diff
shouldn't print ignored tables.
Fixes #5841 - 5843: BATS Executor Exemplar
A utility command which runs bats test in parallel.$ batsee --help NAME batsee - Run the Bats Tests concurrently SYNOPSIS batsee [-t <threads>] [--skip-slow] [--max-time <time>] [--retries <retries>] [--only test1,test2,...] DESCRIPTION From within the integration-test/bats directory, run the bats tests concurrently. Output for each test is written to a file in the batsee_output directory. Example: batsee -t 42 --max-time 1h15m -r 2 --only types.bats,foreign-keys.bats OPTIONS -t <threads>, --threads=<threads> Number of tests to execute in parallel. Defaults to 12 -s, --skip-slow Skip slow tests. This is a static list of test we know are slow, may grow stale. --max-time=<duration> Maximum time to run tests. Defaults to 30m --only Only run the specified test, or tests (comma separated) -r <retries>, --retries=<retries> Number of times to retry a failed test. Defaults to 1
- 5842: Output for
dolt status
should say "tables", not "files"
Fixes #5840 - 5830: Automatically resolve additive enum/set changes in merges
This PR adds a new type compatibility checker for resolving compatible type changes during a merge. The intent is to be able to automatically resolve merges where a column's type has changed in a compatible way, starting with adding a new value at the end of an enum or a set.
I considered a few places to put this logic. The TypeInfo interface seemed like a logical place, but I wasn't completely comfortable with every type having to know the implementation details for each storage layer's implementation. There are also only two types that we're implementing this logic for initially (sets and enums), so editing all types seemed like overkill right now. I figured it would be a good start to get the initial logic together here, then iterate on expanding it or moving it around.
go-mysql-server
- 1743: Optimize division with integers by using floats internally instead of decimal.Decimal
Fix for #5832
Seems unlikely to break anything in Dolt, but I went ahead and ran Dolt CI tests: #5857 - 1741: allow renaming views with
RENAME TABLE
statement
This is the same PR as dolthub/go-mysql-server#1712 (it was reverted)- allows renaming views using
RENAME TABLE
statement - fails on renaming views using
ALTER TABLE ... RENAME ...
statement
- allows renaming views using