mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Fixed bugs pointed by "Crash with 'big' derivated table in MySQL-4.1" bugreport
- fixed switching from heap to MyISAM table - fixed error handler
This commit is contained in:
@@ -1344,7 +1344,7 @@ mysql_execute_command(THD *thd)
|
||||
cursor->derived,
|
||||
cursor)))
|
||||
{
|
||||
if (res < 0)
|
||||
if (res < 0 || thd->net.report_error)
|
||||
send_error(thd,thd->killed ? ER_SERVER_SHUTDOWN : 0);
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
Reference in New Issue
Block a user