mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-16222 Assertion `0' failed in row_purge_remove_sec_if_poss_leaf on table with virtual columns and indexes
Cause Stale thd->m_stmt_da->m_sql_errno which is from different invocation. Fix Reset error state before attempt to open table.
This commit is contained in:
@ -4848,6 +4848,11 @@ unsigned long long thd_get_query_id(const MYSQL_THD thd)
|
||||
return((unsigned long long)thd->query_id);
|
||||
}
|
||||
|
||||
void thd_clear_error(MYSQL_THD thd)
|
||||
{
|
||||
thd->clear_error();
|
||||
}
|
||||
|
||||
extern "C" const struct charset_info_st *thd_charset(MYSQL_THD thd)
|
||||
{
|
||||
return(thd->charset());
|
||||
|
Reference in New Issue
Block a user