1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Added support for ULONG division with DIV

Fixed non fatal memory leak in slave code.
This commit is contained in:
monty@narttu.mysql.fi
2003-03-19 21:23:13 +02:00
parent a916a03916
commit 48a9c1239c
12 changed files with 53 additions and 26 deletions

View File

@ -60,6 +60,7 @@ This file contains the implementation of error and warnings related
void mysql_reset_errors(THD *thd)
{
DBUG_ENTER("mysql_reset_errors");
if (thd->query_id != thd->warn_id)
{
thd->warn_id= thd->query_id;
@ -67,6 +68,7 @@ void mysql_reset_errors(THD *thd)
bzero((char*) thd->warn_count, sizeof(thd->warn_count));
thd->warn_list.empty();
}
DBUG_VOID_RETURN;
}