mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
17
mysql-test/main/stat_tables_partition.test
Normal file
17
mysql-test/main/stat_tables_partition.test
Normal file
@ -0,0 +1,17 @@
|
||||
--source include/have_partition.inc
|
||||
|
||||
--echo #
|
||||
--echo # Bug mdev-3866: valgrind complain from ANALYZE on a table with BIT field
|
||||
--echo #
|
||||
|
||||
SET use_stat_tables = 'preferably';
|
||||
|
||||
CREATE TABLE t1 (pk int PRIMARY KEY, a bit(1), INDEX idx(a)
|
||||
) ENGINE=MyISAM PARTITION BY KEY(pk) PARTITIONS 2;
|
||||
INSERT INTO t1 VALUES (1,1),(2,0),(3,0),(4,1);
|
||||
|
||||
ANALYZE TABLE t1;
|
||||
|
||||
SET use_stat_tables = DEFAULT;
|
||||
|
||||
DROP TABLE t1;
|
Reference in New Issue
Block a user