diff --git a/mysql-test/r/key.result b/mysql-test/r/key.result index e076c59a76c..89307cf7080 100644 --- a/mysql-test/r/key.result +++ b/mysql-test/r/key.result @@ -284,9 +284,16 @@ c1 1 3 DELETE FROM t1 WHERE (c1 = 1); +check table t1; +Table Op Msg_type Msg_text +test.t1 check status OK select c1 from t1 where c2='\Z\Z\Z\Z'; c1 3 DELETE FROM t1 WHERE (c1 = 3); +check table t1; +Table Op Msg_type Msg_text +test.t1 check status OK select c1 from t1 where c2='\Z\Z\Z\Z'; c1 +drop table t1; diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test index 5c365ccf965..620b8e415b8 100644 --- a/mysql-test/t/key.test +++ b/mysql-test/t/key.test @@ -267,7 +267,10 @@ INSERT INTO t1 VALUES (2,'\Z\Z\Z\Z\Z\Z'); INSERT INTO t1 VALUES (3,'\Z\Z\Z\Z'); select c1 from t1 where c2='\Z\Z\Z\Z'; DELETE FROM t1 WHERE (c1 = 1); +check table t1; select c1 from t1 where c2='\Z\Z\Z\Z'; DELETE FROM t1 WHERE (c1 = 3); +check table t1; select c1 from t1 where c2='\Z\Z\Z\Z'; +drop table t1;