~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/varbinary.test

  • Committer: Brian Aker
  • Date: 2010-04-05 23:46:43 UTC
  • Revision ID: brian@gaz-20100405234643-0he3xnj902rc70r8
Fixing tests to work with PBXT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This test uses chmod, can't be run with root permissions
2
 
 
3
 
 
4
1
# Initialise
5
2
--disable_warnings
6
3
drop table if exists t1;
41
37
 
42
38
# End of 4.1 tests
43
39
 
44
 
#
45
 
# Bug #19371 VARBINARY() have trailing zeros after upgrade from 4.1
46
 
#
47
 
 
48
 
# MySQL file formats are not compatible with Drizzle
49
 
# Test with a saved table from 4.1
50
 
copy_file std_data/bug19371.frm $MYSQLTEST_VARDIR/master-data/test/t1.frm;
51
 
chmod 0777 $MYSQLTEST_VARDIR/master-data/test/t1.frm;
52
 
copy_file std_data/bug19371.MYD $MYSQLTEST_VARDIR/master-data/test/t1.MYD;
53
 
chmod 0777 $MYSQLTEST_VARDIR/master-data/test/t1.MYD;
54
 
copy_file std_data/bug19371.MYI $MYSQLTEST_VARDIR/master-data/test/t1.MYI;
55
 
chmod 0777 $MYSQLTEST_VARDIR/master-data/test/t1.MYI;
56
 
--error ER_NO_SUCH_TABLE
57
 
show create table t1;
58
 
--error ER_BAD_TABLE_ERROR
59
 
drop table t1;
60
 
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.frm
61
 
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD
62
 
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI 
63
40
 
64
41
# Check that the fix does not affect table created with current version
65
42
create table t1(a varbinary(255));