~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/varbinary.test

  • Committer: Monty Taylor
  • Date: 2009-10-06 19:14:39 UTC
  • mfrom: (1130.2.18 plugin-base-class)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091006191439-fd1vvlp22654l3k3
Merged latest plugin-base-class.

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));