summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2022-06-30 18:26:54 +0200
committerNikita Malyavin <nikitamalyavin@gmail.com>2022-10-17 15:24:45 +0300
commit0fcaf0018a2c74db622c957638255a0ab1031194 (patch)
tree86a74327f409aadb61617dee66e75001c516c167
parent5f502b87d0f6aca737ca0cec4f6e27568ce674f9 (diff)
downloadmariadb-git-0fcaf0018a2c74db622c957638255a0ab1031194.tar.gz
remove redundant warnings in RBR and online alter
in RBR - only show warnings for values that are to be written into a table, that is, only for the after-image. Don't show data conversion warnings for the before-image.
-rw-r--r--sql/log_event_server.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event_server.cc b/sql/log_event_server.cc
index cd915667b0d..52f82dde263 100644
--- a/sql/log_event_server.cc
+++ b/sql/log_event_server.cc
@@ -8194,6 +8194,7 @@ int Rows_log_event::find_row(rpl_group_info *rgi)
TABLE *table= m_table;
int error= 0;
bool is_table_scan= false, is_index_scan= false;
+ Check_level_instant_set clis(table->in_use, CHECK_FIELD_IGNORE);
/*
rpl_row_tabledefs.test specifies that