mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
31ee98580d
git-svn-id: file:///svn/mysql/tests/mysql-test@23577 c7de825b-a66e-492c-adef-691d508d4ae1
26 lines
396 B
Text
26 lines
396 B
Text
--source include/have_tokudb.inc
|
|
#
|
|
# Record inconsistency.
|
|
#
|
|
#
|
|
SET 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;
|
|
|