summaryrefslogtreecommitdiff
path: root/mysql-test/r/lowercase_table.result
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-04-28 15:30:42 -0700
committerunknown <jimw@mysql.com>2005-04-28 15:30:42 -0700
commitef3e9e1cffd0ee79e7ad433ad83353413a59accd (patch)
tree0d3f86c29624a2336877bab198674022cff235ef /mysql-test/r/lowercase_table.result
parent1faa742b86727245ad07e150be19670033adeee7 (diff)
downloadmariadb-git-ef3e9e1cffd0ee79e7ad433ad83353413a59accd.tar.gz
Fix 'CREATE TABLE ... LIKE ...' when lower_case_table_names
is set on case-sensitive file systems and the source table was specified in something other than lowercase. (Bug #9761) mysql-test/r/lowercase_table.result: Add results mysql-test/t/lowercase_table.test: Regression test for Bug #9761 sql/sql_table.cc: When lower_case_table_names is set, make sure to look for the source table using a lowercase filename.
Diffstat (limited to 'mysql-test/r/lowercase_table.result')
-rw-r--r--mysql-test/r/lowercase_table.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/lowercase_table.result b/mysql-test/r/lowercase_table.result
index a30ec0f160c..ef379cebaa9 100644
--- a/mysql-test/r/lowercase_table.result
+++ b/mysql-test/r/lowercase_table.result
@@ -78,5 +78,8 @@ ERROR 42000: Not unique table/alias: 'C'
select C.a, c.a from t1 c, t2 C;
ERROR 42000: Not unique table/alias: 'C'
drop table t1, t2;
+create table t1 (a int);
+create table t2 like T1;
+drop table t1, t2;
show tables;
Tables_in_test