Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bumpCreated with
brew bump-formula-pr.release notes
BATS_TEST_RETRIESto be higher for flakydocker-entrypoint.batsbuild testsAdd $BATS_TEST_RETRIES to
latestand specific version buildbatstests for pageNot Founderror that sometimes happens from GitHub API call.read_onlyto always be true in standby modeFixes dolthub/dolt#10015
Dolt exposes the current server's current cluster role in @@GLOBAL.dolt_cluster_role, which will be either the string standby or the string primary. MySQL has a standard system variable to expose read-only status of the server, namely
read_only.read_onlyto always be set to true in standby mode.read_onlysetting is indirectly delegated to standby callback.There was a bug during matching where we did not consider the children of a node when we encountered the
anyMatchoperator. Interestingly, this was never found as we never mixed the singular operator (%) with a diverging match ('%wy) in a test scenario, so the column marker (separates each column) was always in the sort order slice instead of being a child.val.TupleDescas pointerIn contexts where memory usage is quota'd and allocation is failable, ConjoinAll should take quota when building up O(n) data structures like the merged prefix index. This change reworks planRangeCopyConjoin so that large in-memory structures are allocated through or accounted in the memory quota provider.
This change should not have an impact on Dolt's current behavior, since Dolt currently always run stoage with a non-failable memory quota provider.
mariadb-binlogtest andBinlogConsumerimplementationFixes dolthub/dolt#9887
Companion dolthub/go-mysql-server#3279 dolthub/vitess#439 dolthub/docs#2710
Add support for
BINLOG 'base64data'statement, which replays binary log events. Tools likemysqldumpandmariadb-binloguse it to output database changes as base64-encoded events that can be replayed on another server.mariadb-binlog mariadb-bin.000001 mariadb-bin.000002 | mariadb -u root -p -h 127.0.0.1 --skip-sslBinlogConsumerinterface implementation sogo-mysql-serverBINLOGstatement can feeddolt's binlog replica applier events sequentially.Binlogrelated queries with complementary handler that sets the engine to able to execute the queries withdolt.binlog-maker.batsto generateBinlogstatement only test files inbinlogreplication/testdatausingmariadb-binlogwhich later are run using new test handler.mysql-client-teststo includemariadb-binlog.batswhich generates*.binfiles with amariadbserver first to then pipe them into adolt sql-serverusing amariadbclient.Binlogstatements.go-mysql-server
BINLOGandmariadb-binlogsupportFixes dolthub/dolt#9887
BinlogConsumerandBinlogConsumerCataloginterfaces.BINLOGstatement that decodes base64 encoded event strings and runs them ondolt's binlog replica applier usingBinlogConsumerinterface.mariadb-binlogutility with new format support forsql_mode,collation_database,collation_connection, andcollation_server, which can use bitmasks and IDs tied to system variable values.lc_time_names; this remains a no-op.Binlogstatement and new privilege typesbinlog_admin,replication_applier.mariadb-binlogcompatibility:skip_parallel_replication,gtid_domain_id,gtid_seq_no,check_constraint_checks,sql_if_exists,system_versioning_insert_history, andinsert_id.sql.ValueRowsql.ValueRowis the reincarnation ofsql.Row2.This is an optimization to the sqlengine that eliminates interface boxing by never placing variables into a
[]interface.sql.ValueRowIteris implemented by:Comparison should only use CompareValue when left and right are both NumericType, so Integers, Floats, Decimal, Bit64, and Year types.
vitess
CREATE TABLE ... AS SELECTsupportFixes dolthub/dolt#9316
Companion dolthub/go-mysql-server#3283
BINLOGsupport andmariadbexecutable commentsFixes dolthub/dolt#9887
TypeName()tobinlogEventobjects for error message creation on the frontend, i.e.go-mysql-server.ERBase64DecodeError = 1575,ERNoFormatDescriptionEventBeforeBinlogStatement = 1609, andEROnlyFDAndRBREventsAllowedInBinlogStatement = 1730forBinlogstatements error handling.Binlogstatement parser support.mariadbexecutable comment support and fix handling of empty comments, i.e./*!*/and/*M!*/.Closed Issues
read_onlysystem variable should always be true.mariadb-binlogwhich translates a MariaDB binlog to SQL queriesView the full release notes at https://github.com/dolthub/dolt/releases/tag/v1.76.5.