2004-03-06 10:43:35 +02:00
|
|
|
#
|
|
|
|
# Test of force of lower-case-table-names=0
|
2004-04-07 16:04:28 +02:00
|
|
|
# (User has case insensitive file system and wants to preserve case of
|
2004-03-06 10:43:35 +02:00
|
|
|
# table names)
|
|
|
|
#
|
|
|
|
|
|
|
|
--source include/have_innodb.inc
|
2005-08-02 15:58:41 -07:00
|
|
|
--source include/have_lowercase0.inc
|
2008-07-11 01:14:13 +02:00
|
|
|
--source include/have_case_insensitive_file_system.inc
|
2005-08-02 15:58:41 -07:00
|
|
|
--source include/not_windows.inc
|
2004-03-06 10:43:35 +02:00
|
|
|
|
|
|
|
--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);
|
|
|
|
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.
|
|
|
|
#
|
|
|
|
|
2007-07-18 13:55:50 +05:00
|
|
|
CREATE TABLE bug29839 (a int) ENGINE=INNODB;
|
2005-02-14 18:23:10 +03:00
|
|
|
--error 1146
|
2007-07-18 13:55:50 +05:00
|
|
|
SELECT * from BUG29839;
|
|
|
|
drop table bug29839;
|
2005-07-28 03:22:47 +03:00
|
|
|
|
|
|
|
# End of 4.1 tests
|