11 changed files with 32 additions and 74 deletions
-
8mysql-test/mysql-test-run.pl
-
10mysql-test/suite/pbxt/r/lowercase_table3.result
-
6mysql-test/suite/pbxt/r/lowercase_view.result
-
4mysql-test/suite/pbxt/r/pbxt_bugs.result
-
40mysql-test/suite/pbxt/t/lowercase_table3.test
-
4mysql-test/suite/pbxt/t/null.test
-
2mysql-test/suite/pbxt/t/pbxt_bugs.test
-
4mysql-test/suite/pbxt/t/range.test
-
1mysql-test/suite/pbxt/t/xml.test
-
6storage/pbxt/src/heap_xt.cc
-
21storage/pbxt/src/table_xt.cc
@ -1,10 +0,0 @@ |
|||
DROP TABLE IF EXISTS t1,T1; |
|||
CREATE TABLE t1 (a int); |
|||
SELECT * from T1; |
|||
ERROR 42S02: Table 'test.T1' doesn't exist |
|||
drop table t1; |
|||
flush tables; |
|||
CREATE TABLE t1 (a int) ENGINE=INNODB; |
|||
SELECT * from T1; |
|||
ERROR 42S02: Table 'test.T1' doesn't exist |
|||
drop table t1; |
|||
@ -1,40 +0,0 @@ |
|||
# |
|||
# Test of force of lower-case-table-names=0 |
|||
# (User has case insensitive file system and wants to preserve case of |
|||
# table names) |
|||
# |
|||
|
|||
--source include/have_innodb.inc |
|||
--source include/have_lowercase0.inc |
|||
--source include/not_windows.inc |
|||
|
|||
--disable_warnings |
|||
DROP TABLE IF EXISTS t1,T1; |
|||
--enable_warnings |
|||
|
|||
# |
|||
# This is actually an error, but ok as the user has forced this |
|||
# by using --lower-case-table-names=0 |
|||
|
|||
CREATE TABLE t1 (a int); |
|||
--error 1146 # PBXT will generate an error (is better than hanging in the drop) |
|||
SELECT * from T1; |
|||
drop table t1; |
|||
flush tables; |
|||
|
|||
# |
|||
# InnoDB should in this case be case sensitive |
|||
# Note that this is not true on windows as no this OS, InnoDB is always |
|||
# storing things in lower case. |
|||
# |
|||
|
|||
CREATE TABLE t1 (a int) ENGINE=INNODB; |
|||
--error 1146 |
|||
SELECT * from T1; |
|||
drop table t1; |
|||
|
|||
|
|||
--disable_query_log |
|||
drop database pbxt; |
|||
--enable_query_log |
|||
# End of 4.1 tests |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue