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

Post-merge fixes.

This commit is contained in:
konstantin@mysql.com
2005-06-17 01:58:36 +04:00
parent 62dacf0813
commit 4f966145b0
5 changed files with 17 additions and 16 deletions

View File

@@ -2523,7 +2523,7 @@ mysql_execute_command(THD *thd)
lex->prepared_stmt_name.length,
lex->prepared_stmt_name.str));
/* We account deallocate in the same manner as mysql_stmt_close */
statistic_increment(com_stmt_close, &LOCK_status);
statistic_increment(thd->status_var.com_stmt_close, &LOCK_status);
if ((stmt= thd->stmt_map.find_by_name(&lex->prepared_stmt_name)))
{
thd->stmt_map.erase(stmt);