1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

adding DBUG_ENTER/DBUG_RETURN tags that were useful when fixing memory leaks

This commit is contained in:
Sergei Golubchik
2011-07-10 20:21:18 +02:00
parent 49501b4ccb
commit e44fefc7b3
20 changed files with 326 additions and 164 deletions

View File

@ -7342,6 +7342,7 @@ bool parse_sql(THD *thd,
Object_creation_ctx *creation_ctx)
{
bool ret_value;
DBUG_ENTER("parse_sql");
DBUG_ASSERT(thd->m_parser_state == NULL);
DBUG_ASSERT(thd->lex->m_stmt == NULL);
@ -7389,7 +7390,7 @@ bool parse_sql(THD *thd,
ret_value= mysql_parse_status || thd->is_fatal_error;
MYSQL_QUERY_PARSE_DONE(ret_value);
return ret_value;
DBUG_RETURN(ret_value);
}
/**