mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge bug 26461 to 5.1-opt
This commit is contained in:
@ -1883,7 +1883,7 @@ private:
|
|||||||
{ return HA_ADMIN_NOT_IMPLEMENTED; }
|
{ return HA_ADMIN_NOT_IMPLEMENTED; }
|
||||||
virtual int analyze(THD* thd, HA_CHECK_OPT* check_opt)
|
virtual int analyze(THD* thd, HA_CHECK_OPT* check_opt)
|
||||||
{ return HA_ADMIN_NOT_IMPLEMENTED; }
|
{ return HA_ADMIN_NOT_IMPLEMENTED; }
|
||||||
virtual bool check_and_repair(THD *thd) { return HA_ERR_WRONG_COMMAND; }
|
virtual bool check_and_repair(THD *thd) { return TRUE; }
|
||||||
virtual int disable_indexes(uint mode) { return HA_ERR_WRONG_COMMAND; }
|
virtual int disable_indexes(uint mode) { return HA_ERR_WRONG_COMMAND; }
|
||||||
virtual int enable_indexes(uint mode) { return HA_ERR_WRONG_COMMAND; }
|
virtual int enable_indexes(uint mode) { return HA_ERR_WRONG_COMMAND; }
|
||||||
virtual int discard_or_import_tablespace(my_bool discard)
|
virtual int discard_or_import_tablespace(my_bool discard)
|
||||||
|
@ -1005,7 +1005,7 @@ bool LOGGER::general_log_write(THD *thd, enum enum_server_command command,
|
|||||||
|
|
||||||
current_time= my_time(0);
|
current_time= my_time(0);
|
||||||
while (*current_handler)
|
while (*current_handler)
|
||||||
error+= (*current_handler++)->
|
error|= (*current_handler++)->
|
||||||
log_general(thd, current_time, user_host_buff,
|
log_general(thd, current_time, user_host_buff,
|
||||||
user_host_len, id,
|
user_host_len, id,
|
||||||
command_name[(uint) command].str,
|
command_name[(uint) command].str,
|
||||||
|
@ -42,7 +42,7 @@ static int copy_data_between_tables(TABLE *from,TABLE *to,
|
|||||||
|
|
||||||
static bool prepare_blob_field(THD *thd, Create_field *sql_field);
|
static bool prepare_blob_field(THD *thd, Create_field *sql_field);
|
||||||
static bool check_engine(THD *, const char *, HA_CREATE_INFO *);
|
static bool check_engine(THD *, const char *, HA_CREATE_INFO *);
|
||||||
static bool
|
static int
|
||||||
mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
|
mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
|
||||||
Alter_info *alter_info,
|
Alter_info *alter_info,
|
||||||
bool tmp_table,
|
bool tmp_table,
|
||||||
@ -2173,7 +2173,7 @@ int prepare_create_field(Create_field *sql_field,
|
|||||||
TRUE error
|
TRUE error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static bool
|
static int
|
||||||
mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
|
mysql_prepare_create_table(THD *thd, HA_CREATE_INFO *create_info,
|
||||||
Alter_info *alter_info,
|
Alter_info *alter_info,
|
||||||
bool tmp_table,
|
bool tmp_table,
|
||||||
|
Reference in New Issue
Block a user