Moving MySQL_Connection::IsActiveTransaction() back into cpp file

pull/1269/head
René Cannaò 9 years ago
parent a9151ce929
commit 1d5756c6cd

@ -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();

@ -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;

Loading…
Cancel
Save