mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-29830 Assertion `table->versioned()' in THD::vers_insert_history_fast
don't set VERS_ROW_START or VERS_ROW_END flags on fields of a temporary table (as not versioned tables should not have ROW START/ROW END fields)
This commit is contained in:
@@ -5577,6 +5577,7 @@ public:
|
||||
|
||||
bool vers_insert_history_fast(const TABLE *table)
|
||||
{
|
||||
DBUG_ASSERT(table->versioned());
|
||||
return table->versioned(VERS_TIMESTAMP) &&
|
||||
(variables.option_bits & OPTION_INSERT_HISTORY) &&
|
||||
lex->duplicates == DUP_ERROR;
|
||||
|
Reference in New Issue
Block a user