mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge next-mr -> next-4284.
This commit is contained in:
@ -308,7 +308,6 @@ const char **get_handler_errmsgs()
|
||||
int ha_init_errors(void)
|
||||
{
|
||||
#define SETMSG(nr, msg) handler_errmsgs[(nr) - HA_ERR_FIRST]= (msg)
|
||||
const char **errmsgs;
|
||||
|
||||
/* Allocate a pointer array for the error message strings. */
|
||||
/* Zerofill it to avoid uninitialized gaps. */
|
||||
@ -3649,7 +3648,6 @@ int ha_create_table_from_engine(THD* thd, const char *db, const char *name)
|
||||
void st_ha_check_opt::init()
|
||||
{
|
||||
flags= sql_flags= 0;
|
||||
sort_buffer_size = current_thd->variables.myisam_sort_buff_size;
|
||||
}
|
||||
|
||||
|
||||
@ -3726,15 +3724,6 @@ int ha_change_key_cache_param(KEY_CACHE *key_cache)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
Free memory allocated by a key cache.
|
||||
*/
|
||||
int ha_end_key_cache(KEY_CACHE *key_cache)
|
||||
{
|
||||
end_key_cache(key_cache, 1); // Can never fail
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
Move all tables from one key cache to another one.
|
||||
*/
|
||||
@ -4442,7 +4431,7 @@ static bool check_table_binlog_row_based(THD *thd, TABLE *table)
|
||||
|
||||
return (thd->current_stmt_binlog_row_based &&
|
||||
table->s->cached_row_logging_check &&
|
||||
(thd->options & OPTION_BIN_LOG) &&
|
||||
(thd->variables.option_bits & OPTION_BIN_LOG) &&
|
||||
mysql_bin_log.is_open());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user