summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2006-04-13 01:46:44 +0400
committerunknown <konstantin@mysql.com>2006-04-13 01:46:44 +0400
commitc5ed5c4b1cba6761a0f2d79d939893f028c2bd22 (patch)
tree7b71c9c16b89ef08edc5b2f5b5f227d0b5c54d4a /sql/sql_class.h
parente46a193be82ba9956ac2db8e015fb528c84842da (diff)
downloadmariadb-git-c5ed5c4b1cba6761a0f2d79d939893f028c2bd22.tar.gz
Post-merge fixes. Add a new error message for max_prepared_stmt_count
limit. mysql-test/r/ps.result: Post-merge fixes. mysql-test/t/ps.test: Post-merge fixes. sql/share/errmsg.txt: Add a new error message for max_prepared_stmt_count limit, we can do it in 5.0 sql/sql_class.cc: Post-merge fixes. sql/sql_class.h: Post-merge fixes. sql/sql_prepare.cc: Post-merge fixes.
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