summaryrefslogtreecommitdiff
path: root/mysql-test/t/windows.test
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-08-31 18:32:15 -0700
committerunknown <jimw@mysql.com>2005-08-31 18:32:15 -0700
commitb33e9493a1e21b240e935788cd07696f237e8e94 (patch)
treea60bbdc85012c14e9a336099e853fddfb6062bad /mysql-test/t/windows.test
parente6ac9175d13091b8bd7661b5e8ae8d3add81fbb0 (diff)
downloadmariadb-git-b33e9493a1e21b240e935788cd07696f237e8e94.tar.gz
Fix handling of filenames that start the same as reserved filenames
on Windows. (Bug #12325) mysql-test/r/lowercase_table.result: Update results mysql-test/t/lowercase_table.test: Move test to new windows.test, since it is Windows-specific mysys/my_access.c: Check that we've matched the whole forbidden name. mysql-test/include/windows.inc: New BitKeeper file ``mysql-test/include/windows.inc'' mysql-test/r/windows.result: New BitKeeper file ``mysql-test/r/windows.result'' mysql-test/t/windows.test: New BitKeeper file ``mysql-test/t/windows.test''
Diffstat (limited to 'mysql-test/t/windows.test')
-rw-r--r--mysql-test/t/windows.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/t/windows.test b/mysql-test/t/windows.test
new file mode 100644
index 00000000000..d6bcfeb8cb3
--- /dev/null
+++ b/mysql-test/t/windows.test
@@ -0,0 +1,20 @@
+# Windows-specific tests
+--source include/windows.inc
+
+#
+# Bug 9148: Denial of service
+#
+--error 1049
+use lpt1;
+--error 1049
+use com1;
+--error 1049
+use prn;
+
+#
+# Bug #12325: Can't create table named 'nu'
+#
+create table nu (a int);
+drop table nu;
+
+# End of 4.1 tests