summaryrefslogtreecommitdiff
path: root/mysql-test/t/symlink.test
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-03-03 15:01:46 -0800
committerjimw@mysql.com <>2005-03-03 15:01:46 -0800
commitf7c01cfb76fa4284973a34ee03a9c2f71359dae0 (patch)
treed9fcf7c0806dd22a5d3dc0996b6c7b4ff240cbb9 /mysql-test/t/symlink.test
parent18f13a24a2890e610e868ebfc7e04397b78d6e85 (diff)
parent96e034f50e49068dd2391ef12f94cb40dcee7b1b (diff)
downloadmariadb-git-f7c01cfb76fa4284973a34ee03a9c2f71359dae0.tar.gz
Merged from 4.1
Diffstat (limited to 'mysql-test/t/symlink.test')
-rw-r--r--mysql-test/t/symlink.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/symlink.test b/mysql-test/t/symlink.test
index 7fb7e81b3b1..f477fc378c6 100644
--- a/mysql-test/t/symlink.test
+++ b/mysql-test/t/symlink.test
@@ -121,3 +121,18 @@ eval alter table t1 index directory="$MYSQL_TEST_DIR/var/log";
enable_query_log;
show create table t1;
drop table t1;
+
+#
+# Test specifying DATA DIRECTORY that is the same as what would normally
+# have been chosen. (Bug #8707)
+#
+disable_query_log;
+eval create table t1 (i int) data directory = "$MYSQL_TEST_DIR/var/master-data/test/";
+enable_query_log;
+show create table t1;
+drop table t1;
+disable_query_log;
+eval create table t1 (i int) index directory = "$MYSQL_TEST_DIR/var/master-data/test/";
+enable_query_log;
+show create table t1;
+drop table t1;