mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
When we warn that --log-bin alone is dangerous, we give a suggestion.
sql/mysqld.cc: more suggestive warning message sql/sql_class.h: need a method to see MYSQL_LOG::name (the name of the binlog but without the numeric extension)
This commit is contained in:
@@ -205,6 +205,7 @@ public:
|
||||
inline bool is_open() { return log_type != LOG_CLOSED; }
|
||||
inline char* get_index_fname() { return index_file_name;}
|
||||
inline char* get_log_fname() { return log_file_name; }
|
||||
inline char* get_name() { return name; }
|
||||
inline pthread_mutex_t* get_log_lock() { return &LOCK_log; }
|
||||
inline IO_CACHE* get_log_file() { return &log_file; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user