diff options
author | unknown <jimw@mysql.com> | 2005-08-31 18:32:15 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-08-31 18:32:15 -0700 |
commit | b33e9493a1e21b240e935788cd07696f237e8e94 (patch) | |
tree | a60bbdc85012c14e9a336099e853fddfb6062bad /mysql-test/r | |
parent | e6ac9175d13091b8bd7661b5e8ae8d3add81fbb0 (diff) | |
download | mariadb-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/r')
-rw-r--r-- | mysql-test/r/lowercase_table.result | 6 | ||||
-rw-r--r-- | mysql-test/r/windows.result | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/mysql-test/r/lowercase_table.result b/mysql-test/r/lowercase_table.result index 499f46a237e..ef379cebaa9 100644 --- a/mysql-test/r/lowercase_table.result +++ b/mysql-test/r/lowercase_table.result @@ -83,9 +83,3 @@ create table t2 like T1; drop table t1, t2; show tables; Tables_in_test -use lpt1; -ERROR 42000: Unknown database 'lpt1' -use com1; -ERROR 42000: Unknown database 'com1' -use prn; -ERROR 42000: Unknown database 'prn' diff --git a/mysql-test/r/windows.result b/mysql-test/r/windows.result new file mode 100644 index 00000000000..039c5b1476e --- /dev/null +++ b/mysql-test/r/windows.result @@ -0,0 +1,8 @@ +use lpt1; +ERROR 42000: Unknown database 'lpt1' +use com1; +ERROR 42000: Unknown database 'com1' +use prn; +ERROR 42000: Unknown database 'prn' +create table nu (a int); +drop table nu; |