mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mergin 5.1 -> rep+2 -> rep+3. create_table_from_dump issue will be merged on the next step
This commit is contained in:
@ -414,7 +414,7 @@ cleanup:
|
||||
therefore be treated as a DDL.
|
||||
*/
|
||||
int log_result= thd->binlog_query(query_type,
|
||||
thd->query, thd->query_length,
|
||||
thd->query(), thd->query_length(),
|
||||
is_trans, FALSE, FALSE, errcode);
|
||||
|
||||
if (log_result)
|
||||
@ -839,7 +839,7 @@ void multi_delete::abort()
|
||||
{
|
||||
int errcode= query_error_code(thd, thd->killed == THD::NOT_KILLED);
|
||||
thd->binlog_query(THD::ROW_QUERY_TYPE,
|
||||
thd->query, thd->query_length,
|
||||
thd->query(), thd->query_length(),
|
||||
transactional_tables, FALSE, FALSE, errcode);
|
||||
}
|
||||
}
|
||||
@ -1015,7 +1015,7 @@ bool multi_delete::send_eof()
|
||||
else
|
||||
errcode= query_error_code(thd, killed_status == THD::NOT_KILLED);
|
||||
if (thd->binlog_query(THD::ROW_QUERY_TYPE,
|
||||
thd->query, thd->query_length,
|
||||
thd->query(), thd->query_length(),
|
||||
transactional_tables, FALSE, FALSE, errcode) &&
|
||||
!normal_tables)
|
||||
{
|
||||
@ -1156,7 +1156,7 @@ end:
|
||||
TRUNCATE must always be statement-based binlogged (not row-based) so
|
||||
we don't test current_stmt_binlog_format.
|
||||
*/
|
||||
write_bin_log(thd, TRUE, thd->query, thd->query_length);
|
||||
write_bin_log(thd, TRUE, thd->query(), thd->query_length());
|
||||
my_ok(thd); // This should return record count
|
||||
}
|
||||
VOID(pthread_mutex_lock(&LOCK_open));
|
||||
|
Reference in New Issue
Block a user