Merged PRs
dolt
- 5457: Panic fix for nil dolt env in multi repo env
- 5448: Add
from_table_name
andto_table_name
columns todolt_diff_summary
table function- Also fixes
dolt_status
system table output for renamed tables - Table name in
dolt diff --summary
CLI command for renamed table uses arrow syntax (i.e.from_table -> to_table
)
- Also fixes
- 5440: go/store/nbs: file_table_persister: Rework PruneTableFiles so that writes can proceed while we cleanup the old files.
- 5438: go/store/nbs: file_table_persister: Add a mechanism for a table persister to clean up newly unused sources after a successful conjoin.
- 5413: add dolt_patch() stored procedure
The result ofdolt_patch()
stored procedure is equivalent todolt diff -r sql
.
The input todolt_patch()
stored procedure isdolt_patch(<from_revision>, <to_revision>, [<tablename>])
, which are optional 2 revisions and optional table names.
It does not support two and three dot diffs.
Only--cached
flag is supported for now.
It returns both schema and data diff result.
Error cases of not being able to get data diff go into warning.
go-mysql-server
- 1623: Fixed Issue #1621
When using the example server, we had primary key indexes disabled for the in-memory database, so this just enables them as that is what people would expect. - 1622: fix
/
anddiv
operations on value of decimal type column
The cases fixed are:- the scale of decimal type column is bigger than the value stored. For example, the decimal column type is
DECIMAL(25,10)
and the value stored is4990
. This value is evaluated with 0 scale, whereas this should be evaluated as value with scale of 10. - the
IntPart()
function of decimal package returns 0 as undefined value for out of range values. This causes it hard to differentiate between cases where the final result is valid value of 0 and the final result is out of range value.
- the scale of decimal type column is bigger than the value stored. For example, the decimal column type is
- 1620: expose some parts of show create table statement for dolt usage
- 1619: Memo includes costs and stars best plan
- 1617: Adding privilege checks for binlog commands
Added support for binlog replication privilege checks, tests to assert dynamic privileges are only used at a global scope, and opChecker support for testing dynamic privileges. - 1615: update drop column logic to drop constraints first
Updates the ordering of the drop column logic to ensure that constraints always get checked for references and dropped when columns are dropped.