diff options
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 10 |
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 |