mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#26294: library name conflict between MySQL 4.x, 5.0 and Qt 3.3
When linking with some external programs, "multiple definition of `init_time'" Rename init_time() to my_init_time() to avoid collision with other libraries (particularly libmng).
This commit is contained in:
@ -30,7 +30,7 @@ void unireg_init(ulong options)
|
||||
wild_many='%'; wild_one='_'; wild_prefix='\\'; /* Change to sql syntax */
|
||||
|
||||
current_pid=(ulong) getpid(); /* Save for later ref */
|
||||
init_time(); /* Init time-functions (read zone) */
|
||||
my_init_time(); /* Init time-functions (read zone) */
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
my_abort_hook=unireg_abort; /* Abort with close of databases */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user