~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/fix_priv_tables.test

Put errmsg.c in sql-common since it can be built only once and used twice.
Put client.c and net_serv.c in libmysql so that we can only have one
link_sources section. 
Got rid of just about all copying and other weirdness, other than some stuff
in client and client.c/net_serv.c, which need to be reworked.

Show diffs side-by-side

added added

removed removed

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