summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2022-08-28 22:44:56 +0300
committerSergei Golubchik <serg@mariadb.org>2022-10-26 15:30:38 +0200
commita2cda88631b47aaeec53a8fdd5ced48e04b8ceb0 (patch)
treeddcdabe7fcc9b0a8a2f48b27cf36ad204592931a /sql/sql_union.cc
parentd9b0c9ad2bc35b951e84d5c040eb2af86ff2d8cf (diff)
downloadmariadb-git-a2cda88631b47aaeec53a8fdd5ced48e04b8ceb0.tar.gz
MDEV-16546 System versioning setting to allow history modification
1. system_versioning_insert_history session variable allows pseudocolumns ROW_START and ROW_END be specified in INSERT, INSERT..SELECT and LOAD DATA. 2. Cleaned up select_insert::send_data() from setting vers_write as this parameter is now set on TABLE initialization. 4. Replication of system_versioning_insert_history via option_bits in OPTIONS_WRITTEN_TO_BIN_LOG.
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 758edbdcbaa..0a92422676a 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -33,7 +33,7 @@
#include "item_windowfunc.h"
bool mysql_union(THD *thd, LEX *lex, select_result *result,
- SELECT_LEX_UNIT *unit, ulong setup_tables_done_option)
+ SELECT_LEX_UNIT *unit, ulonglong setup_tables_done_option)
{
DBUG_ENTER("mysql_union");
bool res;