From e2a94a9c4fa0969b859f51a551e7cfc935cb0999 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Tue, 26 Aug 2025 19:51:34 +0900 Subject: [PATCH] blob: Plug a sdldb encapsulation leak Signed-off-by: Hiroshi Hatake --- src/flb_blob_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flb_blob_db.c b/src/flb_blob_db.c index 27a156001a0..fe6bbcf05ee 100644 --- a/src/flb_blob_db.c +++ b/src/flb_blob_db.c @@ -909,7 +909,7 @@ int flb_blob_db_file_part_insert(struct flb_blob_db *context, else { result = FLB_BLOB_DB_SUCCESS; - *out_id = sqlite3_last_insert_rowid(context->db); + *out_id = flb_sqldb_last_id(context->db); } sqlite3_clear_bindings(statement);