Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/r/innodb_stats_create_table.result |
SELECT COUNT(*) FROM mysql.innodb_table_stats WHERE database_name = 'test' AND table_name = 'test_ps_create_table'; COUNT(*) 0 CREATE TABLE test_ps_create_table (a INT, PRIMARY KEY (a)) ENGINE=INNODB STATS_PERSISTENT=0; SELECT COUNT(*) FROM mysql.innodb_table_stats WHERE database_name = 'test' AND table_name = 'test_ps_create_table'; COUNT(*) 0 DROP TABLE test_ps_create_table; CREATE TABLE test_ps_create_table (a INT, PRIMARY KEY (a)) ENGINE=INNODB; SELECT COUNT(*) FROM mysql.innodb_table_stats WHERE database_name = 'test' AND table_name = 'test_ps_create_table'; COUNT(*) 1 DROP TABLE test_ps_create_table; CREATE TABLE test_ps_create_table (a INT, PRIMARY KEY (a)) ENGINE=INNODB STATS_PERSISTENT=default; SELECT COUNT(*) FROM mysql.innodb_table_stats WHERE database_name = 'test' AND table_name = 'test_ps_create_table'; COUNT(*) 1 DROP TABLE test_ps_create_table; CREATE TABLE test_ps_create_table (a INT, PRIMARY KEY (a)) ENGINE=INNODB STATS_PERSISTENT=1; SELECT COUNT(*) FROM mysql.innodb_table_stats WHERE database_name = 'test' AND table_name = 'test_ps_create_table'; COUNT(*) 1 DROP TABLE test_ps_create_table;