]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4658] fixed fetch failure handling
authorRazvan Becheriu <razvan@isc.org>
Mon, 3 Aug 2026 13:13:02 +0000 (16:13 +0300)
committerRazvan Becheriu <razvan@isc.org>
Mon, 3 Aug 2026 18:15:27 +0000 (21:15 +0300)
ChangeLog
src/lib/mysql/mysql_constants.h

index d59e7b65f6b2e6c758fd689b4798b27c8ee0b77f..c60cdbb9edc22f47c0a184bdaf9c81edb9a4c015 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2524.  [bug]           razvan
+       Corrected MLM_MYSQL_FETCH_FAILURE to 1 so MySQL
+       selectQuery and host lookups detect mysql_stmt_fetch
+       errors instead of silently ignoring them.
+       (Gitlab #4658)
+
 Kea 3.3.0 (development) released on July 29, 2026
 
 2523.  [func]          fdupont
index 4739ee4913a714aa7b99178e429c70dfb65d511e..793e5c17429eeb2da0323426b8b2cd9876857136 100644 (file)
@@ -46,7 +46,7 @@ static_assert(sizeof(my_bool) == sizeof(char), "unsupported bool size");
 const int MLM_MYSQL_FETCH_SUCCESS = 0;
 
 /// @brief MySQL fetch failure code.
-const int MLM_MYSQL_FETCH_FAILURE = 0;
+const int MLM_MYSQL_FETCH_FAILURE = 1;
 
 //@}