diff --git a/include/mysql_connection.h b/include/mysql_connection.h index dc02793d7..71b6bd74c 100644 --- a/include/mysql_connection.h +++ b/include/mysql_connection.h @@ -158,7 +158,7 @@ class MySQL_Connection { void async_free_result(); - bool IsActiveTransaction() { + bool IsActiveTransaction(); /* { bool ret=false; if (mysql) { ret = (mysql->server_status & SERVER_STATUS_IN_TRANS); @@ -167,7 +167,7 @@ class MySQL_Connection { } } return ret; - } + } */ bool IsServerOffline(); bool IsAutoCommit(); bool MultiplexDisabled(); diff --git a/lib/mysql_connection.cpp b/lib/mysql_connection.cpp index db51b43a4..d8c2eeffe 100644 --- a/lib/mysql_connection.cpp +++ b/lib/mysql_connection.cpp @@ -1463,7 +1463,7 @@ void MySQL_Connection::async_free_result() { } } -/* + bool MySQL_Connection::IsActiveTransaction() { bool ret=false; if (mysql) { @@ -1474,7 +1474,7 @@ bool MySQL_Connection::IsActiveTransaction() { } return ret; } -*/ + bool MySQL_Connection::IsAutoCommit() { bool ret=false;