summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorNikita Malyavin <nikitamalyavin@gmail.com>2020-10-06 19:56:03 +1000
committerNikita Malyavin <nikitamalyavin@gmail.com>2023-04-18 00:29:47 +0300
commitee499431c130adae41a10c4f291d90297b116bcd (patch)
tree2eae5b3083069791e709e42c3fdcd18df0ddecd3 /sql/handler.h
parent4a1ef202094dd5de996410d3e992b44d555495b6 (diff)
downloadmariadb-git-ee499431c130adae41a10c4f291d90297b116bcd.tar.gz
MDEV-16329 [2/5] refactor binlog and cache_mngr
pump up binlog and cache manager to level of binlog_log_row_internal
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 0810d1a503a..e8db0f82d47 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -651,7 +651,11 @@ given at all. */
#define HA_CREATE_PRINT_ALL_OPTIONS (1UL << 26)
typedef ulonglong alter_table_operations;
-typedef bool Log_func(THD*, TABLE*, bool, const uchar*, const uchar*);
+
+class MYSQL_BIN_LOG;
+class binlog_cache_mngr;
+typedef bool Log_func(THD*, TABLE*, MYSQL_BIN_LOG *, binlog_cache_mngr *, bool,
+ const uchar*, const uchar*);
/*
These flags are set by the parser and describes the type of
@@ -5539,11 +5543,6 @@ inline const LEX_CSTRING *table_case_name(HA_CREATE_INFO *info, const LEX_CSTRIN
return ((lower_case_table_names == 2 && info->alias.str) ? &info->alias : name);
}
-typedef bool Log_func(THD*, TABLE*, bool, const uchar*, const uchar*);
-int binlog_log_row(TABLE* table,
- const uchar *before_record,
- const uchar *after_record,
- Log_func *log_func);
/**
@def MYSQL_TABLE_IO_WAIT