mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
1bd50ced73
- Add missing drop(s) - Reset changed variables NOTE! These kind of problems are easily found with --check-testcases options to mysql-test-run.pl mysql-test/extra/rpl_tests/rpl_insert_id_pk.test: Add missing drop table mysql-test/extra/rpl_tests/rpl_loaddata.test: Add missing drop table mysql-test/extra/rpl_tests/rpl_log.test: Tables where only dropped on slave, switch to master connection before dropping them mysql-test/extra/rpl_tests/rpl_multi_update3.test: Add missing drop table mysql-test/extra/rpl_tests/rpl_row_sp006.test: Add missing drop database mysql-test/include/check-testcase.test: Add option "--skip-lock-tables" when dumping tables, as noone else is using the tables anyway mysql-test/r/ndb_cache_multi.result: Reset query_cache_size after test on both master and "second" master mysqld mysql-test/r/partition.result: Add missing drop procedure mysql-test/r/rpl_drop_db.result: Add missing drop table mysql-test/r/rpl_multi_update3.result: Add missing drop table mysql-test/r/rpl_ndb_multi_update3.result: Add missing drop table mysql-test/r/rpl_ndb_sp006.result: Add missing drop database mysql-test/r/rpl_stm_no_op.result: Add missing drop table mysql-test/r/rpl_variables.result: Reset slave_net_timeout to it's default value after test mysql-test/t/ndb_cache_multi.test: Reset query_cahche_size after test mysql-test/t/partition.test: Add missing drop procedure mysql-test/t/rpl_drop_db.test: Add missing drop table mysql-test/t/rpl_stm_no_op.test: Add missing drop table mysql-test/t/rpl_variables.test: Reset slave_net_timeout to it's default value after test
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
#
|
|
# This test is executed twice for each test case if mysql-test-run is passed
|
|
# the flag --check-testcase.
|
|
# Before every testcase it's run with mysqltest in record mode and will
|
|
# thus produce an output file
|
|
# that can be compared to output from after the tescase.
|
|
# In that way it's possible to check that a testcase does not have
|
|
# any unwanted side affects.
|
|
#
|
|
|
|
#
|
|
# Dump all global variables
|
|
#
|
|
show global variables;
|
|
|
|
#
|
|
# Dump all databases
|
|
#
|
|
show databases;
|
|
|
|
#
|
|
# Dump the "test" database, all it's tables and their data
|
|
#
|
|
--exec $MYSQL_DUMP --skip-comments --skip-lock-tables test
|
|
|
|
#
|
|
# Dump the "mysql" database and it's tables
|
|
# Select data separately to add "order by"
|
|
#
|
|
--exec $MYSQL_DUMP --skip-comments --skip-lock-tables --no-data mysql
|
|
use mysql;
|
|
select * from columns_priv;
|
|
select * from db order by host, db, user;
|
|
select * from func;
|
|
select * from help_category;
|
|
select * from help_keyword;
|
|
select * from help_relation;
|
|
select * from help_relation;
|
|
select * from host;
|
|
select * from proc;
|
|
select * from procs_priv;
|
|
select * from tables_priv;
|
|
select * from time_zone;
|
|
select * from time_zone_leap_second;
|
|
select * from time_zone_name;
|
|
select * from time_zone_transition;
|
|
select * from time_zone_transition_type;
|
|
select * from user;
|
|
|
|
|
|
|