1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00
Files
mariadb/storage/tokudb/mysql-test/tokudb_bugs/t/889.test
Sergei Golubchik 9a3b9a5416 tokudb test suites
2013-09-09 13:59:38 +02:00

27 lines
404 B
Plaintext

--source include/have_tokudb.inc
#
# Record inconsistency.
#
#
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1 (c1 INT PRIMARY KEY);
INSERT INTO t1 VALUES (0);
INSERT INTO t1 VALUES (256);
COMMIT;
--disable_query_log
BEGIN;
UPDATE t1 SET c1 = c1 + 2;
COMMIT;
--enable_query_log
SELECT c1 from t1;
# Final cleanup.
DROP TABLE t1;