1
by brian
clean slate |
1 |
# Embedded server doesn't support external clients |
2 |
--source include/not_embedded.inc
|
|
3 |
||
4 |
# Don't run this test if $MYSQL_FIX_PRIVILEGE_TABLES isn't set |
|
5 |
# to the location of mysql_fix_privilege_tables.sql
|
|
6 |
if (`SELECT LENGTH("$MYSQL_FIX_PRIVILEGE_TABLES") <= 0`)
|
|
7 |
{
|
|
8 |
skip Test need MYSQL_FIX_PRIVILEGE_TABLES;
|
|
9 |
}
|
|
10 |
||
11 |
#
|
|
12 |
# This is the test for mysql_fix_privilege_tables
|
|
13 |
# It checks that a system tables from mysql 4.1.23
|
|
14 |
# can be upgraded to current system table format
|
|
15 |
#
|
|
16 |
# Note: If this test fails, don't be confused about the errors reported |
|
17 |
# by mysql-test-run This shows warnings generated by |
|
18 |
# mysql_fix_system_tables which should be ignored. |
|
19 |
# Instead, concentrate on the errors in r/system_mysql_db.reject |
|
20 |
||
21 |
--disable_warnings
|
|
22 |
drop table if exists t1,t1aa,t2aa; |
|
23 |
--enable_warnings
|
|
24 |
||
25 |
# End of 4.1 tests |