diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-12-15 13:59:38 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-12-28 16:59:29 +0530 |
commit | fad1d15326651a92895c799829ff66edc37fc20f (patch) | |
tree | 42ec5b7784677b579b7655afaaaa880af270551f /debian/patches | |
parent | 4daf9d7c3ee05baf7643f3a866e6d3828e1bb93b (diff) | |
download | mariadb-git-fad1d15326651a92895c799829ff66edc37fc20f.tar.gz |
MDEV-25460: Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())'
failed in Diagnostics_area::set_ok_status in my_ok from
mysql_sql_stmt_prepare
Analysis: Before PREPARE is executed, binlog_format is STATEMENT.
This PREPARE had SET STATEMENT which sets binlog_format to ROW. Now after
PREPARE is done we reset the binlog_format (back to STATEMENT). But we have
temporary table, it doesn't let changing binlog_format=ROW to
binlog_format=STATEMENT and gives error which goes unreported. This
unreported error eventually causes assertion failure.
Fix: Change return type for LEX::restore_set_statement_var() to bool and
make it return error state.
Diffstat (limited to 'debian/patches')
0 files changed, 0 insertions, 0 deletions