mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
recovery from 5.0 merge for bug18676
mysql-test/r/ndb_autodiscover.result: recovery for bug#18676 merge in 5.0 sql/ha_ndbcluster.cc: recovery for bug#18676 merge in 5.0 sql/handler.cc: recovery for bug#18676 merge in 5.0 sql/sql_table.cc: recovery for bug#18676 merge in 5.0
This commit is contained in:
@@ -2865,9 +2865,9 @@ ha_find_files(THD *thd,const char *db,const char *path,
|
||||
Ask handler if the table exists in engine
|
||||
|
||||
RETURN
|
||||
HA_ERR_NO_SUCH_TABLE Table does not exist
|
||||
HA_ERR_TABLE_EXIST Table exists
|
||||
# Error code
|
||||
0 Table does not exist
|
||||
1 Table exists
|
||||
# Error code
|
||||
|
||||
*/
|
||||
struct st_table_exists_in_engine_args
|
||||
@@ -2891,7 +2891,7 @@ static my_bool table_exists_in_engine_handlerton(THD *thd, st_plugin_int *plugin
|
||||
|
||||
int ha_table_exists_in_engine(THD* thd, const char* db, const char* name)
|
||||
{
|
||||
int error= HA_ERR_NO_SUCH_TABLE;
|
||||
int error= 0;
|
||||
DBUG_ENTER("ha_table_exists_in_engine");
|
||||
DBUG_PRINT("enter", ("db: %s, name: %s", db, name));
|
||||
st_table_exists_in_engine_args args= {db, name};
|
||||
|
||||
Reference in New Issue
Block a user