mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed bug in determinating uncacheable queries
new fatal_error interface to assign is_fatal_error and ne.report_error commant about Item_row
This commit is contained in:
@ -24,7 +24,7 @@ extern "C" {
|
||||
{
|
||||
THD *thd=current_thd;
|
||||
if (thd) // QQ; To be removed
|
||||
thd->fatal_error=1; /* purecov: inspected */
|
||||
thd->fatal_error(); /* purecov: inspected */
|
||||
sql_print_error(ER(ER_OUT_OF_RESOURCES));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user