Merged PRs
dolt
- 7494: Fix windows file paths for dropping databases
We have to convert windows file path separators to unix ones, when removing them from singleton cache.
Additionally, unskips some bats tests
Fixes #7492 - 7490: Bug fix:
IndexedDoltTable
didn't fully implementDoltTable
's interface
IndexedDoltTable
wasn't fully compatible withDoltTable
's interface, which was causing some queries to execute incorrectly due to using the wrong field indexes. This only happened with queries where the table was used in a read-only context (such as anAS OF
query), since in a read-write contextWritableIndexedDoltTable
is used, which is composed of aWritableDoltTable
, so fully inherits the interface.IndexedDoltTable
is now consistent with that, and is now composed of aDoltTable
instance. This enables the GMS code inassignExecIndexes
to use the correct, limited schema of the secondary index and to apply the correct field indexes.
Fixes: #7488 - 7486: Shallow Clone
Add the--depth
flag to the dolt_clone stored procedure and the dolt cli
This is possibly an MVP, as it's kind of impossible to test everything this touches. The guiding principle was to not break the code for any fully cloned repository.
There currently remain 7 problems to address in this code. They are each marked with "NM4" - 7482: go: sqle/cluster: When in standby mode, take the epoch of the primary.
When in detected_broken_config, become standby if we see a higher numbered primary.