summaryrefslogtreecommitdiffstats
path: root/src/lib/mysql
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2020-08-14 11:52:01 +0200
committerRazvan Becheriu <razvan@isc.org>2020-08-14 11:52:01 +0200
commitedc44ca7a37b95ec310c2d080ce92902cf62d76a (patch)
tree59fdcf3cddca5b978ee795904309764d93dd6650 /src/lib/mysql
parent[#1380] fixed compilation (diff)
downloadkea-edc44ca7a37b95ec310c2d080ce92902cf62d76a.tar.xz
kea-edc44ca7a37b95ec310c2d080ce92902cf62d76a.zip
[#1380] fixed compilation
Diffstat (limited to 'src/lib/mysql')
-rw-r--r--src/lib/mysql/mysql_connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mysql/mysql_connection.cc b/src/lib/mysql/mysql_connection.cc
index 536b18e357..6fea2a185f 100644
--- a/src/lib/mysql/mysql_connection.cc
+++ b/src/lib/mysql/mysql_connection.cc
@@ -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_));
}