Merged PRs
This minor release includes a new entry in the dolt_status
and dolt_diff
system tables for database collation changes, making these tables backwards incompatible for some select statements. Changes to a dolt database collation will show up as table changes with the name __DATABASE__<db>
. Additionally, tables starting with this prefix are not allowed.
dolt
- 7823: handle database charset/collation changes
This PR makes dolt aware of database collation changes.
We treat database collation changes similarly to a collation change to a table.
To properly show adolt diff
we need to add support forshow create database as of ...
, which would require changes to vitess and gms. For now, we just show the new create statement.
Addtionally, we should add support to resolve database collation merge conflicts.
Affected functions are:dolt add
dolt commit
dolt status
dolt diff
dolt merge
Addresses: #7815
- 7819: use parser interface in engine
- 7803: Avoid escaping HTML characters when displaying them to the user.
This fixes an issue where if a JSON document in the storage layer contains escaped characters, those escape sequences could end up being displayed to the user via thedolt sql -r json
command. - 7764: Bump golang.org/x/net from 0.17.0 to 0.23.0 in /go
Bumps golang.org/x/net from 0.17.0 to 0.23.0.
go-mysql-server
- 2492: skip source values analyze when it only contains simple types
- 2491: ValidateInsertColumns avoids allocating hash map
- 2490: Avoid escaping HTML when Marshalling JSON
Due to a misconfiguration, HTML characters were being escaped when marshaling JSON. This is unnecessary, and since we now potentially display marshalled JSON to the user, we shouldn't be doing this. - 2488: System Variables: Add
log_bin
and change the default ofperformance_schema
Thelog_bin
system variable controls whether a MySQL server logs to the binary log or not.
Theperformance_schema
system variable was previously defaulted to1
, to match MySQL's default, but this can cause tools (e.g. Datadog) to believe that theperformance_schema
system tables are available, and then error out when trying to query them. Since we don't provide aperformance_schema
database, the new default for theperformance_schema
system variable is0
. - 2487: Expand literals in comparisons when safe
- 2486: add parser interface in engine
This PR createssql.Parser
interface. This interface is defined in the engine and it should be used rather than using mysql parser directly.
AddedGlobalParser
variable to expose Doltgres parser for parsing view definition for now. It can also be used in places that needs doltgres-specific syntax parsing.