mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-31660 : Assertion `client_state.transaction().active() in wsrep_append_key
At the moment we cannot support wsrep_forced_binlog_format=[MIXED|STATEMENT] during CREATE TABLE AS SELECT. Statement will use ROW instead and give a warning. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
committed by
Julius Goryavsky
parent
04b7b3a0ca
commit
f57deb314f
@ -537,6 +537,18 @@ bool Warning_info::has_sql_condition(const char *message_str, size_t message_len
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Warning_info::has_sql_condition(uint sql_errno) const
|
||||
{
|
||||
Diagnostics_area::Sql_condition_iterator it(m_warn_list);
|
||||
const Sql_condition *err;
|
||||
|
||||
while ((err = it++))
|
||||
{
|
||||
if (err->get_sql_errno() == sql_errno)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void Warning_info::clear(ulonglong new_id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user