mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge mysql-5.1-rep+2-delivery1 --> mysql-5.1-rpl-merge
Conflicts: Text conflict in .bzr-mysql/default.conf Text conflict in mysql-test/extra/rpl_tests/rpl_loaddata.test Text conflict in mysql-test/r/mysqlbinlog2.result Text conflict in mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result Text conflict in mysql-test/suite/binlog/r/binlog_unsafe.result Text conflict in mysql-test/suite/rpl/r/rpl_insert_id.result Text conflict in mysql-test/suite/rpl/r/rpl_loaddata.result Text conflict in mysql-test/suite/rpl/r/rpl_stm_auto_increment_bug33029.result Text conflict in mysql-test/suite/rpl/r/rpl_udf.result Text conflict in mysql-test/suite/rpl/t/rpl_slow_query_log.test Text conflict in sql/field.h Text conflict in sql/log.cc Text conflict in sql/log_event.cc Text conflict in sql/log_event_old.cc Text conflict in sql/mysql_priv.h Text conflict in sql/share/errmsg.txt Text conflict in sql/sp.cc Text conflict in sql/sql_acl.cc Text conflict in sql/sql_base.cc Text conflict in sql/sql_class.h Text conflict in sql/sql_db.cc Text conflict in sql/sql_delete.cc Text conflict in sql/sql_insert.cc Text conflict in sql/sql_lex.cc Text conflict in sql/sql_lex.h Text conflict in sql/sql_load.cc Text conflict in sql/sql_table.cc Text conflict in sql/sql_update.cc Text conflict in sql/sql_view.cc Conflict adding files to storage/innobase. Created directory. Conflict because storage/innobase is not versioned, but has versioned children. Versioned directory. Conflict adding file storage/innobase. Moved existing file to storage/innobase.moved. Conflict adding files to storage/innobase/handler. Created directory. Conflict because storage/innobase/handler is not versioned, but has versioned children. Versioned directory. Contents conflict in storage/innobase/handler/ha_innodb.cc
This commit is contained in:
12
sql/log.h
12
sql/log.h
@ -20,6 +20,9 @@ class Relay_log_info;
|
||||
|
||||
class Format_description_log_event;
|
||||
|
||||
bool trans_has_updated_trans_table(THD* thd);
|
||||
bool stmt_has_updated_trans_table(THD *thd);
|
||||
|
||||
/*
|
||||
Transaction Coordinator log - a base abstract class
|
||||
for two different implementations
|
||||
@ -347,8 +350,9 @@ public:
|
||||
ulonglong table_map_version() const { return m_table_map_version; }
|
||||
void update_table_map_version() { ++m_table_map_version; }
|
||||
|
||||
int flush_and_set_pending_rows_event(THD *thd, Rows_log_event* event);
|
||||
int remove_pending_rows_event(THD *thd);
|
||||
int flush_and_set_pending_rows_event(THD *thd, Rows_log_event* event,
|
||||
bool is_transactional);
|
||||
int remove_pending_rows_event(THD *thd, bool is_transactional);
|
||||
|
||||
#endif /* !defined(MYSQL_CLIENT) */
|
||||
void reset_bytes_written()
|
||||
@ -387,7 +391,7 @@ public:
|
||||
/* Use this to start writing a new log file */
|
||||
void new_file();
|
||||
|
||||
bool write(Log_event* event_info); // binary log write
|
||||
bool write(Log_event* event_info);
|
||||
bool write(THD *thd, IO_CACHE *cache, Log_event *commit_event, bool incident);
|
||||
bool write_incident(THD *thd, bool lock);
|
||||
|
||||
@ -586,6 +590,8 @@ public:
|
||||
void init_base();
|
||||
void init_log_tables();
|
||||
bool flush_logs(THD *thd);
|
||||
bool flush_slow_log();
|
||||
bool flush_general_log();
|
||||
/* Perform basic logger cleanup. this will leave e.g. error log open. */
|
||||
void cleanup_base();
|
||||
/* Free memory. Nothing could be logged after this function is called */
|
||||
|
Reference in New Issue
Block a user