summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-06-05 11:43:05 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-06-09 13:38:29 -0400
commitf965cae5fb04a9fd06a939a8f2b52228a62ce9fa (patch)
tree93dd6732d4fe712ad7c937028719de88f48f9e2d /sql/log.h
parentc94789c3d38831fb7ad0781b97b28abb8a17a165 (diff)
downloadmariadb-git-f965cae5fb04a9fd06a939a8f2b52228a62ce9fa.tar.gz
MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index
Add log_bin_index, log_bin_basename and relay_log_basename system variables. Also, convert relay_log_index system variable to NO_CMD_LINE and implement --relay-log-index as a command line option.
Diffstat (limited to 'sql/log.h')
-rw-r--r--sql/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log.h b/sql/log.h
index a48b09cb9fc..2d0c2d1eee9 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -1087,6 +1087,8 @@ void binlog_reset_cache(THD *thd);
extern MYSQL_PLUGIN_IMPORT MYSQL_BIN_LOG mysql_bin_log;
extern LOGGER logger;
+extern const char *log_bin_index;
+extern const char *log_bin_basename;
/**
Turns a relative log binary log path into a full path, based on the