https://bugzilla.novell.com/show_bug.cgi?id=330078#c1
--- Comment #1 from hinz kunz 2007-10-04 18:05:40 MST ---
Update,
i think there is also a bug in this little patch. the patch tries to set the
reconnect option right after connection setup but doesn't test the connection
causing a segfault if the connection didn't come up right before. a short look
at the code showed (about line 570):
if (reconnect > 0) {
my_bool bool = reconnect;
mysql_options(conn, MYSQL_OPT_RECONNECT, &bool);
}
which should be something like that:
if ((reconnect > 0) && (conn)) {
my_bool bool = reconnect;
mysql_options(conn, MYSQL_OPT_RECONNECT, &bool);
}
after this change the segfault upon false connection parameters will disappear.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.