mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
18388d2105
automatic reconnect A client with automatic reconnect enabled will see the error message "Lost connection to MySQL server during query" if the connection is lost between mysql_stmt_prepare() and mysql_stmt_execute(). The mysql_stmt_errno() number, however, is 0 -- not the corresponding value 2013. This patch checks for the case where the prepared statement has been pruned due to a connection loss (i.e., stmt->mysql has been set to NULL) during a call to cli_advanced_command(), and avoids changing the last_errno to the result of the last reconnect attempt. |
||
---|---|---|
.. | ||
.cvsignore | ||
acinclude.m4 | ||
client_settings.h | ||
CMakeLists.txt | ||
conf_to_src.c | ||
dll.c | ||
errmsg.c | ||
get_password.c | ||
libmysql.c | ||
libmysql.def | ||
libmysql.ver.in | ||
Makefile.am | ||
Makefile.shared | ||
manager.c |