]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1380] fixed compilation
authorRazvan Becheriu <razvan@isc.org>
Fri, 14 Aug 2020 09:52:01 +0000 (12:52 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 14 Aug 2020 09:52:01 +0000 (12:52 +0300)
src/lib/mysql/mysql_connection.cc

index 536b18e3578b063003eee96cc0c54b89af72f7f0..6fea2a185f8c6e96e5e319b39c2de767edfd3c79 100644 (file)
@@ -218,7 +218,7 @@ MySqlConnection::openDatabase() {
     // caused issues for some unit tests which were unable to cleanup
     // the database after the test because of pending transactions.
     // Use of autocommit will eliminate this problem.
-    my_bool result = mysql_autocommit(mysql_, 1);
+    result = mysql_autocommit(mysql_, 1);
     if (result != 0) {
         isc_throw(DbOperationError, mysql_error(mysql_));
     }