diff options
author | unknown <monty@narttu.mysql.fi> | 2003-03-19 21:23:13 +0200 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-03-19 21:23:13 +0200 |
commit | d7bedeb998c911c921d7b67dc07049955481d9b7 (patch) | |
tree | 8bda97a92a625441a765c5282461fd89ee352624 /sql/sql_error.cc | |
parent | aa08887f7b724d8fc07d2d807d4b0b364ac937a7 (diff) | |
download | mariadb-git-d7bedeb998c911c921d7b67dc07049955481d9b7.tar.gz |
Added support for ULONG division with DIV
Fixed non fatal memory leak in slave code.
mysql-test/r/func_test.result:
Added test for DIV
mysql-test/t/func_test.test:
Added test for DIV
mysys/my_alloc.c:
More DBUG statements
sql/item_func.cc:
Added support for ULONG division with DIV
sql/log_event.cc:
Fixed memory leak (Wrong call to init_sql_alloc)
sql/slave.cc:
Fixed memory leak (Wrong call to init_sql_alloc)
sql/sql_base.cc:
More DBUG statements
sql/sql_class.cc:
Added init_for_queries() to fix memory leak in slave code
sql/sql_class.h:
Added init_for_queries() to fix memory leak in slave code
sql/sql_error.cc:
More DBUG statements
sql/sql_parse.cc:
Added init_for_queries() to fix memory leak in slave code
sql/unireg.h:
Moved memory defaults to include file
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r-- | sql/sql_error.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc index 00c80a654cb..8d3bb3ca49b 100644 --- a/sql/sql_error.cc +++ b/sql/sql_error.cc @@ -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; } |