summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-connection.cpp')
-rw-r--r--libmysqlpp/my-connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqlpp/my-connection.cpp b/libmysqlpp/my-connection.cpp
index 97924e3..63f4932 100644
--- a/libmysqlpp/my-connection.cpp
+++ b/libmysqlpp/my-connection.cpp
@@ -87,7 +87,7 @@ MySQL::Connection::~Connection()
void
MySQL::Connection::beginTxInt()
{
- if (mysql_autocommit(&conn, 0)) {
+ if (mysql_autocommit(&conn, false)) {
throw Error(&conn);
}
}