Bug #2126 mysql_server_init call shouldn't be necessary step

Submitted: 15 Dec 2003 23:59 Modified: 18 Dec 2003 5:07
Reporter: Alexey Botchkov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:4.1 OS:Any (All)
Assigned to: Alexey Botchkov CPU Architecture:Any

[15 Dec 2003 23:59] Alexey Botchkov
Description:
libmysqld returns an error when one starts using mysql functions
without initial mysql_server_init call

Actually we should call mysql_server_init implicitly during mysql_init
in this case

How to repeat:
main()
{
   MYSQL mysql= mysql_connect(NULL, NULL, NULL, NULL);
}

compiled with the embedded library
[16 Dec 2003 0:23] Alexey Botchkov
bk commit - 4.1 tree (hf:1.1675) (16 Dec 2003)
[18 Dec 2003 2:50] Alexey Botchkov
New patch:
bk commit - 4.1 tree (hf:1.1685) (18 Dec 2003)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.