mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
2b76f6f61d
Currently RocksDB engine doesn't update AUTO_INCREMENT in the UPDATE statement.
For example,
CREATE TABLE t1 (pk INT AUTO_INCREMENT, a INT, PRIMARY KEY(pk)) ENGINE=RocksDB;
INSERT INTO t1 (a) VALUES (1);
UPDATE t1 SET pk = 3; ==> AUTO_INCREMENT should be updated to 4.
Without this fix, it hits the Assertion `dd_val >= last_val' failed in
myrocks::ha_rocksdb::load_auto_incr_value_from_index.
(cherry picked from commit
|
||
---|---|---|
.. | ||
rocksdb | ||
rocksdb_hotbackup | ||
rocksdb_rpl | ||
rocksdb_stress | ||
rocksdb_sys_vars | ||
storage_engine |