mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 02:35:29 +02:00
Backport of:
---------------------------------------------------------- revno: 2617.22.5 committer: Konstantin Osipov <kostja@sun.com> branch nick: mysql-6.0-runtime timestamp: Tue 2009-01-27 05:08:48 +0300 message: Remove non-prefixed use of HASH. Always use my_hash_init(), my_hash_inited(), my_hash_search(), my_hash_element(), my_hash_delete(), my_hash_free() rather than non-prefixed counterparts (hash_init(), etc). Remove the backward-compatible defines.
This commit is contained in:
parent
2b75d952e6
commit
9b41c7532d
44 changed files with 561 additions and 578 deletions
|
|
@ -2156,7 +2156,7 @@ void Query_tables_list::reset_query_tables_list(bool init)
|
|||
We delay real initialization of hash (and therefore related
|
||||
memory allocation) until first insertion into this hash.
|
||||
*/
|
||||
hash_clear(&sroutines);
|
||||
my_hash_clear(&sroutines);
|
||||
}
|
||||
else if (sroutines.records)
|
||||
{
|
||||
|
|
@ -2179,7 +2179,7 @@ void Query_tables_list::reset_query_tables_list(bool init)
|
|||
|
||||
void Query_tables_list::destroy_query_tables_list()
|
||||
{
|
||||
hash_free(&sroutines);
|
||||
my_hash_free(&sroutines);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue