1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

mysys/mf_format.c

workaround for SCO realpath() bug
sql/slave.cc
    fixed memory leak when slave runs bad query
This commit is contained in:
sasha@mysql.sashanet.com
2000-10-28 14:38:09 -06:00
parent 75cd25a579
commit 3bd51a5205
2 changed files with 6 additions and 1 deletions

View File

@@ -644,13 +644,14 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
// unless set explictly
close_thread_tables(thd);
free_root(&thd->mem_root,0);
delete ev;
if (thd->query_error)
{
sql_print_error("Slave: error running query '%s' ",
qev->query);
return 1;
}
delete ev;
if(thd->fatal_error)
{