check that all system tables deleted added
This commit is contained in:
parent
791bdf2c48
commit
8ab5398bf7
@ -126,3 +126,5 @@ columns_priv CREATE TABLE `columns_priv` (
|
|||||||
`Column_priv` set('Select','Insert','Update','References') NOT NULL default '',
|
`Column_priv` set('Select','Insert','Update','References') NOT NULL default '',
|
||||||
PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`,`Column_name`)
|
PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`,`Column_name`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Column privileges'
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Column privileges'
|
||||||
|
show tables;
|
||||||
|
Tables_in_test
|
||||||
|
@ -6,3 +6,8 @@
|
|||||||
use mysql;
|
use mysql;
|
||||||
-- enable_query_log
|
-- enable_query_log
|
||||||
-- source include/system_db_struct.inc
|
-- source include/system_db_struct.inc
|
||||||
|
-- disable_query_log
|
||||||
|
use test;
|
||||||
|
-- enable_query_log
|
||||||
|
# keep results same with system_mysql_db_fix
|
||||||
|
show tables;
|
||||||
|
@ -68,15 +68,9 @@ INSERT INTO user VALUES ('localhost','', '','N','N','N','N','N','N','N','N','
|
|||||||
|
|
||||||
-- disable_query_log
|
-- disable_query_log
|
||||||
|
|
||||||
DROP TABLE db;
|
DROP TABLE db, host, user, func, tables_priv, columns_priv, help_category, help_keyword, help_relation, help_topic, time_zone, time_zone_leap_second, time_zone_name, time_zone_transition, time_zone_transition_type;
|
||||||
DROP TABLE host;
|
|
||||||
DROP TABLE user;
|
|
||||||
DROP TABLE func;
|
|
||||||
DROP TABLE tables_priv;
|
|
||||||
DROP TABLE columns_priv;
|
|
||||||
DROP TABLE help_category;
|
|
||||||
DROP TABLE help_keyword;
|
|
||||||
DROP TABLE help_relation;
|
|
||||||
DROP TABLE help_topic;
|
|
||||||
|
|
||||||
-- enable_query_log
|
-- enable_query_log
|
||||||
|
|
||||||
|
# check that we droped all system tables
|
||||||
|
show tables;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user