Bug #2207 client "hangs" after calling mysql_set_server_option
Submitted: 25 Dec 2003 5:38 Modified: 12 Jan 2004 6:32
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.2 OS:Linux (Linux)
Assigned to: MySQL Verification Team CPU Architecture:Any

[25 Dec 2003 5:38] Georg Richter
Description:
When calling mysql_set_server_option client application hangs. This only occurs with libmysqlclient, in embedded server it works fine.

How to repeat:
<cut>
mysql = mysql_init(NULL);
	
if (!mysql_real_connect(mysql, "localhost", "root", "", "test", 0, NULL, 0)) {
	/* Errorhandling */
	...
}

mysql_set_server_option(mysql, MYSQL_OPTION_MULTI_STATEMENTS_ON);  <- hangs
[27 Dec 2003 8:41] MySQL Verification Team
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Fix will come in 4.1.2
[12 Jan 2004 6:32] MySQL Verification Team
Committed.