This is a patch release, fixing several bugs and improving performance.
This release also enables the logging of bad rows during file import, and introduces the VALUES ROW(...)
SQL syntax
Merged PRs
- 1487: Properly reverts the version string on Dolt as automation does the fix
One day I will get automation right on the first try - 1485: 0.5
- 1483: bump version string
- 1481: libraries/doltcore/doltdb: fix dropped errors
This supersedes #1465 - 1479: Add few doltpy commands that broke with dolt compatibility changes
Some bats that if failed indicate a doltpy incompatibility. The tests could be more involved, but the goal here isn't row-output correctness.
This list will grow as I rewrite more dolt commands to use SQL features. - 1477: go/go.mod: Bump go-mysql-server.
- 1476: bump dolt version
- 1475: Vinai/log bad rows
This pr adds the functionality of logging bad rows to the cli. Since these rows are logged StdErr the rows can be sent to a file as well. - 1474: go/libraries/doltcore/sqle/async_indexed_lookups.go: Fix leaking of results from one index lookup to another.
When a query with an index lookup as a LIMIT, it's possible for the result
iterator to be closed before all the index results have been streamed. When
that happens, we can end up with queueRows goroutine which is enqueuing rows
into a ring buffer that is going to be used by a different query later.
This PR adds two mechanisms, one to stop the wrong results from being seen and
to cancel the unnecessary work.- RingBuffer gets an epoch, which is incremented on each Reset(). If a given
Push does not match the current epoch, then nothing is added to the ring
buffer. - queueRows is run with a cancelable (sub-)Context, and that Context is
canceled when the corresponding iterator is Closed().
- RingBuffer gets an epoch, which is incremented on each Reset(). If a given
- 1472: Vinai/merge squash
Introduces SQUASH() which merges a branch into the working set. - 1471: panic fix for 0 rows resolved
fix panic that occurs when a delete query against a conflict table affects 0 rows - 345: Support for VALUES ROW(...) derived tables
Closed Issues
- 1470: Can not connect using mysql client