From 84274d9710f3eaa8e415b8a0208db55469f7fcbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sun, 10 Jan 2016 04:11:58 +0000 Subject: [PATCH] Minor fix on #461 --- lib/mysql_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mysql_connection.cpp b/lib/mysql_connection.cpp index 9493fa546e..535ae652cb 100644 --- a/lib/mysql_connection.cpp +++ b/lib/mysql_connection.cpp @@ -171,7 +171,7 @@ MySQL_Connection::~MySQL_Connection() { if (mysql) { async_free_result(); if (send_quit) { - mysql_close_start(mysql); + mysql_close(mysql); } else { mysql_close_no_command(mysql); }