1
0
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:
cmiller@zippy.cornsilk.net
2008-04-03 11:32:00 -04:00
parent 3bff5b59c6
commit 9ff7a0cedc
5 changed files with 8 additions and 8 deletions

View File

@ -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