mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
This patch adds handlerton passing to functions. NDB and Innodb still require a global hanlderton in the main code due to the nature of the sql_cache call back function (should be solveable... another patch).
Partitioning now has a flag to allow disabling of engines from being compatible with partitioning. Cleaned up heap naming convention on panic call.
This commit is contained in:
@@ -506,7 +506,7 @@ ndbcluster_binlog_index_purge_file(THD *thd, const char *file)
|
||||
}
|
||||
|
||||
static void
|
||||
ndbcluster_binlog_log_query(THD *thd, enum_binlog_command binlog_command,
|
||||
ndbcluster_binlog_log_query(handlerton *hton, THD *thd, enum_binlog_command binlog_command,
|
||||
const char *query, uint query_length,
|
||||
const char *db, const char *table_name)
|
||||
{
|
||||
@@ -637,7 +637,9 @@ static void ndbcluster_reset_slave(THD *thd)
|
||||
/*
|
||||
Initialize the binlog part of the ndb handlerton
|
||||
*/
|
||||
static int ndbcluster_binlog_func(THD *thd, enum_binlog_func fn, void *arg)
|
||||
static int ndbcluster_binlog_func(handlerton *hton, THD *thd,
|
||||
enum_binlog_func fn,
|
||||
void *arg)
|
||||
{
|
||||
switch(fn)
|
||||
{
|
||||
|
Reference in New Issue
Block a user