summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-04-13 01:46:44 +0400
committerkonstantin@mysql.com <>2006-04-13 01:46:44 +0400
commitc49e6f8869c150dfebc3b181cdeb8394ad81db5b (patch)
tree7b71c9c16b89ef08edc5b2f5b5f227d0b5c54d4a /sql/sql_class.h
parent75792fc0dca5d744662f87a7edc5805ce26ffe0c (diff)
downloadmariadb-git-c49e6f8869c150dfebc3b181cdeb8394ad81db5b.tar.gz
Post-merge fixes. Add a new error message for max_prepared_stmt_count
limit.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index dd645fcf75e..7c74ff6fa93 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -867,16 +867,6 @@ public:
}
return last_found_statement;
}
- void erase(Statement *statement)
- {
- if (statement == last_found_statement)
- last_found_statement= 0;
- if (statement->name.str)
- {
- hash_delete(&names_hash, (byte *) statement);
- }
- hash_delete(&st_hash, (byte *) statement);
- }
/*
Close all cursors of this connection that use tables of a storage
engine that has transaction-specific state and therefore can not