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)