summaryrefslogtreecommitdiff
path: root/mysql-test/r/lowercase_table2.result
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-05-25 20:26:40 -0700
committerunknown <jimw@mysql.com>2005-05-25 20:26:40 -0700
commit8ac75806e2a18451198948d7086db8cafe8b0071 (patch)
treea13cd0b98a3007bc3cd354cc0071b05ac82857e2 /mysql-test/r/lowercase_table2.result
parentedcc645b8e03bcd60012a871ead7175067b72c0a (diff)
downloadmariadb-git-8ac75806e2a18451198948d7086db8cafe8b0071.tar.gz
Fix table renaming to not lowercase table names for all storage
engines when lower_case_table_names == 2, as it did previously for InnoDB and MEMORY. (Bug #9660) mysql-test/r/lowercase_table2.result: Fix results sql/sql_table.cc: Add build_table_path() function to construct the path to a table, and use it to replace nearly all of the places where this was done with similar code. Fix mysql_rename_table() to not lowercase the .frm file name when lower_case_table_names == 2 and the storage engine does not set the HA_FILE_BASED flag (such as InnoDB).
Diffstat (limited to 'mysql-test/r/lowercase_table2.result')
-rw-r--r--mysql-test/r/lowercase_table2.result12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/r/lowercase_table2.result b/mysql-test/r/lowercase_table2.result
index 8361b66817a..1015990df9a 100644
--- a/mysql-test/r/lowercase_table2.result
+++ b/mysql-test/r/lowercase_table2.result
@@ -72,7 +72,7 @@ T1 CREATE TABLE `T1` (
RENAME TABLE T1 TO T2;
SHOW TABLES LIKE "T2";
Tables_in_test (T2)
-t2
+T2
SELECT * FROM t2;
a
1
@@ -83,25 +83,25 @@ t3
RENAME TABLE T3 TO T1;
SHOW TABLES LIKE "T1";
Tables_in_test (T1)
-t1
+T1
ALTER TABLE T1 add b int;
SHOW TABLES LIKE "T1";
Tables_in_test (T1)
-t1
+T1
ALTER TABLE T1 RENAME T2;
SHOW TABLES LIKE "T2";
Tables_in_test (T2)
-t2
+T2
LOCK TABLE T2 WRITE;
ALTER TABLE T2 drop b;
SHOW TABLES LIKE "T2";
Tables_in_test (T2)
-t2
+T2
UNLOCK TABLES;
RENAME TABLE T2 TO T1;
SHOW TABLES LIKE "T1";
Tables_in_test (T1)
-t1
+T1
SELECT * from T1;
a
1