From 8e0614c83950b6189eb1dfc218b13546fa663c13 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 29 Nov 2006 23:03:45 +0100 Subject: [PATCH] Bug#19371 VARBINARY() have trailing zeros after upgrade from 4.1 - chmod the saved files from 4.1 to make sure they are writable mysql-test/t/varbinary.test: As the files saved from 4.1 has been in bk they muight be readonly Use "chmod" to make sure they are writable --- mysql-test/t/varbinary.test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql-test/t/varbinary.test b/mysql-test/t/varbinary.test index a20359ac00e..0e45bfb5e1b 100644 --- a/mysql-test/t/varbinary.test +++ b/mysql-test/t/varbinary.test @@ -44,8 +44,11 @@ drop table t1; # Test with a saved table from 4.1 copy_file std_data/bug19371.frm $MYSQLTEST_VARDIR/master-data/test/t1.frm; +chmod 0777 $MYSQLTEST_VARDIR/master-data/test/t1.frm; copy_file std_data/bug19371.MYD $MYSQLTEST_VARDIR/master-data/test/t1.MYD; +chmod 0777 $MYSQLTEST_VARDIR/master-data/test/t1.MYD; copy_file std_data/bug19371.MYI $MYSQLTEST_VARDIR/master-data/test/t1.MYI; +chmod 0777 $MYSQLTEST_VARDIR/master-data/test/t1.MYI; # Everything _looks_ fine show create table t1;