Test changes to improve stability of results

This commit is contained in:
Elena Stepanova 2017-06-22 21:06:31 +03:00
parent 953de41307
commit bb857f02d5
2 changed files with 7 additions and 1 deletions

View file

@ -26,7 +26,8 @@ if (!$mysql_errname)
SHOW CREATE TABLE t1;
DROP TEMPORARY TABLE t1;
DROP TABLE t1;
}
DROP TABLE t1;
--source cleanup_engine.inc

View file

@ -131,6 +131,11 @@ if (!$mysql_errname)
INSERT INTO t1 (b,b20,v16,v128) VALUES ('a','char1','varchar1a','varchar1b'),('a','char2','varchar2a','varchar2b'),('b','char3','varchar1a','varchar1b'),('c','char4','varchar3a','varchar3b'),('d','char5','varchar4a','varchar3b'),('e','char6','varchar2a','varchar3b');
INSERT INTO t1 (b,b20,v16,v128) SELECT b,b20,v16,v128 FROM t1;
--disable_result_log
--disable_query_log
ANALYZE TABLE t1;
--enable_query_log
--enable_result_log
--replace_column 1 # 2 # 3 # 4 # 5 # 7 # 8 # 9 # 10 #
EXPLAIN SELECT HEX(SUBSTRING(v16,0,3)) FROM t1 WHERE v16 LIKE 'varchar%';