1
# Embedded server doesn't support external clients
2
--source include/not_embedded.inc
4
# check that CSV engine was compiled in, as the result of the test
5
# depends on the presence of the log tables (which are CSV-based).
6
--source include/have_csv.inc
9
drop database if exists client_test_db;
16
# Bug #13783 mysqlcheck tries to optimize and analyze information_schema
18
--replace_result 'Table is already up to date' OK
19
--exec $MYSQL_CHECK --all-databases --analyze --optimize
20
--replace_result 'Table is already up to date' OK
21
--exec $MYSQL_CHECK --analyze --optimize --databases test information_schema mysql
22
--exec $MYSQL_CHECK --analyze --optimize information_schema schemata
25
# Bug #16502: mysqlcheck tries to check views
27
create table t1 (a int);
28
create view v1 as select * from t1;
29
--replace_result 'Table is already up to date' OK
30
--exec $MYSQL_CHECK --analyze --optimize --databases test
31
--replace_result 'Table is already up to date' OK
32
--exec $MYSQL_CHECK --all-in-1 --analyze --optimize --databases test
36
--echo End of 5.0 tests