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

index 85877f40775db8a6b31f652ca3d0fef2947948a9..536b18e3578b063003eee96cc0c54b89af72f7f0 100644 (file)
@@ -220,7 +220,7 @@ MySqlConnection::openDatabase() {
     // Use of autocommit will eliminate this problem.
     my_bool result = mysql_autocommit(mysql_, 1);
     if (result != 0) {
-        isc_throw(DbOperationError, mysql_error(ctx->conn_.mysql_));
+        isc_throw(DbOperationError, mysql_error(mysql_));
     }
 
     // To avoid a flush to disk on every commit, the global parameter