diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-10-13 14:13:40 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-10-13 14:13:40 +0100 |
commit | 8193b47ceb4c1d2044b6a09f08d795b711704726 (patch) | |
tree | 7014da47d9bd9b01153da95b8015f9aa5ef0bf90 /libmysqlpp/my-connection.cpp | |
parent | Modernize build (diff) | |
download | libdbpp-mysql-8193b47ceb4c1d2044b6a09f08d795b711704726.tar.bz2 libdbpp-mysql-8193b47ceb4c1d2044b6a09f08d795b711704726.tar.xz libdbpp-mysql-8193b47ceb4c1d2044b6a09f08d795b711704726.zip |
Fix literal booleans
Diffstat (limited to 'libmysqlpp/my-connection.cpp')
-rw-r--r-- | libmysqlpp/my-connection.cpp | 2 |
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); } } |