1
0
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:
bell@sanja.is.com.ua
2002-11-16 00:01:48 +02:00
parent 237e2ca001
commit 7f4ee30de1
3 changed files with 9 additions and 4 deletions

View File

@@ -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;
}