summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-11-29 23:03:45 +0100
committerunknown <msvensson@neptunus.(none)>2006-11-29 23:03:45 +0100
commitf12ec5c3c53ecd44e8add73bd98d8c49a0ce9ca8 (patch)
tree3287fdd7c884f296b4fdc1fc20bdbc3eff85bcd4
parent4037953b7ff01edadf858588ff6449f1b61e3b51 (diff)
downloadmariadb-git-f12ec5c3c53ecd44e8add73bd98d8c49a0ce9ca8.tar.gz
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
-rw-r--r--mysql-test/t/varbinary.test3
1 files changed, 3 insertions, 0 deletions
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;