summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2022-07-03 17:35:27 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-08-10 15:03:10 +0200
commitc38b8f49b8cbe43e20d7710b0d291dd92490fced (patch)
tree9811f1052beb71247936933cea7a3732fb7d324a /sql/sql_delete.cc
parent4ce1470a700809c7b62ade40ddb95063a0e47402 (diff)
downloadmariadb-git-c38b8f49b8cbe43e20d7710b0d291dd92490fced.tar.gz
cleanup: consolidate binlog-related THD::*_used into one bitmap
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index d4384f49112..1f0945b1a2d 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -1640,7 +1640,7 @@ bool multi_delete::send_eof()
thd->clear_error();
else
errcode= query_error_code(thd, killed_status == NOT_KILLED);
- thd->thread_specific_used= TRUE;
+ thd->used|= THD::THREAD_SPECIFIC_USED;
StatementBinlog stmt_binlog(thd, thd->binlog_need_stmt_format(transactional_tables));
if (unlikely(thd->binlog_query(THD::ROW_QUERY_TYPE,
thd->query(), thd->query_length(),