mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Fix for bug#8156:information_schema and lowercase_table3 fail on OSX
Can't repeat information_schema test failure Fix for lowercase_table3 only mysql-test/r/lowercase_table3.result: Fix for bug#8156:information_schema and lowercase_table3 fail on OSX mysql-test/t/lowercase_table3.test: Fix for bug#8156:information_schema and lowercase_table3 fail on OSX sql/ha_innodb.cc: Fix for bug#8156:information_schema and lowercase_table3 fail on OSX
This commit is contained in:
@@ -6,5 +6,5 @@ drop table t1;
|
|||||||
flush tables;
|
flush tables;
|
||||||
CREATE TABLE t1 (a int) ENGINE=INNODB;
|
CREATE TABLE t1 (a int) ENGINE=INNODB;
|
||||||
SELECT * from T1;
|
SELECT * from T1;
|
||||||
ERROR HY000: Can't open file: 'T1.ibd' (errno: 1)
|
ERROR 42S02: Table 'test.T1' doesn't exist
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@@ -32,6 +32,6 @@ flush tables;
|
|||||||
#
|
#
|
||||||
|
|
||||||
CREATE TABLE t1 (a int) ENGINE=INNODB;
|
CREATE TABLE t1 (a int) ENGINE=INNODB;
|
||||||
--error 1016
|
--error 1146
|
||||||
SELECT * from T1;
|
SELECT * from T1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@@ -1861,7 +1861,7 @@ ha_innobase::open(
|
|||||||
my_free((char*) upd_buff, MYF(0));
|
my_free((char*) upd_buff, MYF(0));
|
||||||
my_errno = ENOENT;
|
my_errno = ENOENT;
|
||||||
|
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(HA_ERR_NO_SUCH_TABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ib_table->ibd_file_missing && !thd->tablespace_op) {
|
if (ib_table->ibd_file_missing && !thd->tablespace_op) {
|
||||||
@@ -1878,7 +1878,7 @@ ha_innobase::open(
|
|||||||
my_free((char*) upd_buff, MYF(0));
|
my_free((char*) upd_buff, MYF(0));
|
||||||
my_errno = ENOENT;
|
my_errno = ENOENT;
|
||||||
|
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(HA_ERR_NO_SUCH_TABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
innobase_prebuilt = row_create_prebuilt(ib_table);
|
innobase_prebuilt = row_create_prebuilt(ib_table);
|
||||||
|
Reference in New Issue
Block a user