summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlcheck.test
blob: f5eddff88160b1c8fbecb07abd7b8824b01e0d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Embedded server doesn't support external clients
--source include/not_embedded.inc

# check that CSV engine was compiled in, as the result of the test
# depends on the presence of the log tables (which are CSV-based).
--source include/have_csv.inc

--disable_warnings
drop database if exists client_test_db;
--enable_warnings

DROP SCHEMA test;
CREATE SCHEMA test;
#
# Bug #13783  mysqlcheck tries to optimize and analyze information_schema
#
--replace_result 'Table is already up to date' OK
--exec $MYSQL_CHECK --all-databases --analyze --optimize
--replace_result 'Table is already up to date' OK
--exec $MYSQL_CHECK --analyze --optimize  --databases test information_schema mysql
--exec $MYSQL_CHECK --analyze --optimize information_schema schemata