mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33997 : Assertion `((WSREP_PROVIDER_EXISTS_ && this->variables.wsrep_on) && wsrep_emulate_bin_log) || mysql_bin_log.is_open()' failed in int THD::binlog_write_row(TABLE*, bool, const uchar*)
Problem was that we did not found that table was partitioned and then we should find what is actual underlaying storage engine. We should not use RSU for !InnoDB tables. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
committed by
Julius Goryavsky
parent
5a61fd5819
commit
b1d74b7e72
@@ -4759,6 +4759,13 @@ mysql_execute_command(THD *thd)
|
||||
thd->wsrep_consistency_check= NO_CONSISTENCY_CHECK;
|
||||
}
|
||||
|
||||
/* Only TOI allowed to !InnoDB tables */
|
||||
if (!is_innodb && wsrep_OSU_method_get(thd) != WSREP_OSU_TOI)
|
||||
{
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "RSU on this table engine");
|
||||
break;
|
||||
}
|
||||
|
||||
// For !InnoDB we start TOI if it is not yet started and hope for the best
|
||||
if (!is_innodb && !wsrep_toi)
|
||||
{
|
||||
|
Reference in New Issue
Block a user