mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
Rename hash_create to hash0_create by a #define. This fixes a
symbol collision when building PHP with IMAP and MySQL (Bug #13859). The bug was originally fixed by MySQL in a more obtrusive way, by replacing all occurrences of hash_create with hash0_create. This change was applied to the MySQL tree as follows: ChangeSet@1.1616.2924.6, 2007-01-11 12:31:52+01:00, kent@mysql.com +9 -0 Many files: Reverted change for bug#13859, applied smaller patch from Marko
This commit is contained in:
parent
45ef99db9d
commit
cd46201941
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ typedef struct hash_cell_struct hash_cell_t;
|
|||
|
||||
typedef void* hash_node_t;
|
||||
|
||||
/* Fix Bug #13859: symbol collision between imap/mysql */
|
||||
#define hash_create hash0_create
|
||||
|
||||
/*****************************************************************
|
||||
Creates a hash table with >= n array cells. The actual number
|
||||
of cells is chosen to be a prime number slightly bigger than n. */
|
||||
|
|
Loading…
Add table
Reference in a new issue