Changelog and roadmap

MySQL front-end, D52 to D64

Entries from level 1a to D64: wire protocol, tables, prepared statements, accounts, joins, transactions, foreign keys.

Unreleased version (Stage 0), section Added. Newest first.

  • MySQL front-end (D64): foreign keys (enforced: 1452/1451, CASCADE, SET NULL, rollback), BIT, DATETIME(n)/TIME(n), DISABLE KEYS, mysqldump works; the jms export (74,878 rows) loads and round-trips identically to MySQL.
  • MySQL front-end (D61): PrestaShop installs and runs the same as on MySQL; bit operators, non-strict mode warnings, NATURAL JOIN, many SHOW statements GUI tools send, EXPLAIN, logs start at 1 MiB (raftdb-wal).
  • MySQL front-end (D60): each front-end lists only its own databases; prefix-index lengths kept; WordPress install and use give the same steps, refusals, schema and row counts as real MySQL.
  • MySQL front-end (D59): function library (CAST, date/time, numeric, string functions), REGEXP with an own matcher, INTERVAL, IS TRUE/FALSE/UNKNOWN; output identical to MySQL 9.7.
  • MySQL front-end (D58): reads use Raft DB's indexes (filters pushed to Raft DB, shadow fields for text, key lookups for joins); DECIMAL to 65 digits, ENUM, SET, BLOB family, BINARY/VARBINARY.
  • MySQL front-end, level 4a (D57): transactions (START TRANSACTION/COMMIT/ROLLBACK/SAVEPOINT/autocommit) that are atomic and rolled back with the connection; not isolated (stated); identical to MySQL 9.7 on 62 statements.
  • MySQL front-end, level 3b (D56): ALTER TABLE (columns, indexes, primary key, rename), UPDATE/DELETE over several tables, INSERT ... SELECT/SET, subqueries in writes; identical to MySQL 9.7 on two sets of 49 statements.
  • MySQL front-end, level 3a (D55): one executor for every SELECT: joins, GROUP BY/HAVING/DISTINCT, aggregates, subqueries, UNION, derived tables, SQL_CALC_FOUND_ROWS; identical to MySQL 9.7 on 66 statements.
  • MySQL front-end, level 2d (D54): MySQL accounts and privileges: CREATE/ALTER/DROP/RENAME USER, SET PASSWORD, GRANT/REVOKE (global, database, table, column), SHOW GRANTS, checks on every statement with MySQL's error numbers and texts (identical to MySQL 9.7); accounts live in a hidden Raft DB database with double hashes only.
  • MySQL front-end, level 2b (D52): information_schema as virtual tables (identical to MySQL 9.7), CASE, HAVING on aliases, COLLATE, string functions; the JDBC metadata calls of Connector/J (tables, columns, primary keys, indexes) are identical to MySQL 9.7.
  • MySQL front-end, level 2a (D52): UNIQUE keys (column, table-level, composite, on an existing table) in the connector with no core change: each unique index is a hidden Raft DB table of claims taken with the atomic insert-if-absent; crash-left claims are told from live ones by the row they name and only taken over when 30 seconds old. All statements keep claims consistent and undo themselves on failure. Identical to MySQL 9.7 except Cardinality.
  • MySQL front-end, level 1c (D52): prepared statements (COM_STMT_PREPARE/EXECUTE/SEND_LONG_DATA/CLOSE/RESET, binary result rows). Identical output to MySQL 9.7 under MySQL Connector/J 26.10 with server-side preparation. Fixes found by the real driver: the info text of an OK packet is length-encoded, column metadata (TINYINT(1) length, the TEXT types, decimal length, binary character set for numbers), the header of a string literal.
  • MySQL front-end, level 1b (D52): tables and rows in raftdb-mysql (the core is unchanged): CREATE/DROP/TRUNCATE TABLE, INSERT/REPLACE/SELECT/UPDATE/DELETE on one table, aggregates, SHOW/DESCRIBE, strict MySQL typing with MySQL's own error numbers and messages, primary-key uniqueness and AUTO_INCREMENT claimed by Raft DB's atomic insert, statement-level undo. Output and errors identical to a real MySQL 9.7 on two 85-statement scripts, except the listed gaps (UNIQUE keys, binary types, unusual names).
  • MySQL front-end, level 1a (D52): the new crate raftdb-mysql (a connector program, no dependencies outside the workspace) speaks the MySQL wire protocol (both password plugins) and gives sessions, expressions, variables, the SHOW family and database administration on top of Raft DB's JSON API; checked with the real mysql 9.7 client. Valid MySQL that is not supported yet answers MySQL's error 1235.