Skip to content

Commit dfcad24

Browse files
cosmo0920edsiper
authored andcommitted
blob: Plug a sdldb encapsulation leak
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent eb77790 commit dfcad24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flb_blob_db.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ int flb_blob_db_file_part_insert(struct flb_blob_db *context,
909909
else {
910910
result = FLB_BLOB_DB_SUCCESS;
911911

912-
*out_id = sqlite3_last_insert_rowid(context->db);
912+
*out_id = flb_sqldb_last_id(context->db);
913913
}
914914

915915
sqlite3_clear_bindings(statement);

0 commit comments

Comments
 (0)