From ee495b2235275925bb24c8b67bcf61c3c4a0f266 Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Tue, 13 Sep 2022 16:14:10 -0700 Subject: [PATCH] Fix after the latest rebase of commits for MDEV-28883 --- sql/sql_delete.cc | 3 +++ sql/sql_update.cc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 75bd9bd4d10..ec49341624b 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -44,6 +44,9 @@ // end_read_record #include "sql_insert.h" // fix_rownum_pointers #include "sql_partition.h" // make_used_partitions_str +#ifdef WITH_WSREP +#include "wsrep_mysqld.h" +#endif #define MEM_STRIP_BUF_SIZE ((size_t) thd->variables.sortbuff_size) diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 90f78a298c8..d4cea5290f1 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -45,6 +45,9 @@ #include "sql_insert.h" // For vers_insert_history_row() that may be // needed for System Versioning. +#ifdef WITH_WSREP +#include "wsrep_mysqld.h" +#endif /** True if the table's input and output record buffers are comparable using