mirror of
https://github.com/MariaDB/server.git
synced 2025-07-10 04:22:00 +03:00
A fix for linking failure of MySQL client when linking with imap libraries
(Bug#7428) (renamed: hash_reset -> my_hash_reset)
This commit is contained in:
@ -122,13 +122,13 @@ void hash_free(HASH *hash)
|
|||||||
Delete all elements from the hash (the hash itself is to be reused).
|
Delete all elements from the hash (the hash itself is to be reused).
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
hash_reset()
|
my_hash_reset()
|
||||||
hash the hash to delete elements of
|
hash the hash to delete elements of
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void hash_reset(HASH *hash)
|
void my_hash_reset(HASH *hash)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("hash_reset");
|
DBUG_ENTER("my_hash_reset");
|
||||||
DBUG_PRINT("enter",("hash: 0x%lxd",hash));
|
DBUG_PRINT("enter",("hash: 0x%lxd",hash));
|
||||||
|
|
||||||
hash_free_elements(hash);
|
hash_free_elements(hash);
|
||||||
|
@ -648,8 +648,8 @@ public:
|
|||||||
/* Erase all statements (calls Statement destructor) */
|
/* Erase all statements (calls Statement destructor) */
|
||||||
void reset()
|
void reset()
|
||||||
{
|
{
|
||||||
hash_reset(&names_hash);
|
my_hash_reset(&names_hash);
|
||||||
hash_reset(&st_hash);
|
my_hash_reset(&st_hash);
|
||||||
last_found_statement= 0;
|
last_found_statement= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user