mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
sql/log.cc
Added magic number to binlog sql/log_event.cc distinquish bogus data from truncated logs sql/log_event.h added magic number added LOG_READ_TRUNC error sql/mysqlbinlog.cc fixed to handle magic number added O_BINARY to my_fopen sql/mysqld.cc added code for replicate-rewrite-db sql/slave.cc replicate-rewrite-db O_BINARY handle magic sql/sql_class.h added i_string_pair class sql/sql_repl.cc added magic better error messages support-files/magic added magic for binlog Added test case for replication of queries with error
This commit is contained in:
@ -218,6 +218,17 @@ public:
|
||||
i_string(char* s) : ptr(s) {}
|
||||
};
|
||||
|
||||
//needed for linked list of two strings for replicate-rewrite-db
|
||||
class i_string_pair: public ilink
|
||||
{
|
||||
public:
|
||||
char* key;
|
||||
char* val;
|
||||
i_string_pair():key(0),val(0) { }
|
||||
i_string_pair(char* key, char* val) : key(key),val(val) {}
|
||||
};
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
** every connection is handle by a thread with a THD
|
||||
****************************************************************************/
|
||||
|
Reference in New Issue
Block a user