1717 * limitations under the License.
1818 */
1919
20- #ifdef FLB_HAVE_SQLDB
20+ #include <fluent-bit.h>
21+ #include <fluent-bit/flb_blob_db.h>
2122
23+ #ifdef FLB_HAVE_SQLDB
2224#include <fluent-bit/flb_sqldb.h>
23- #include <fluent-bit/flb_blob_db.h>
2425
2526static int prepare_stmts (struct flb_blob_db * context )
2627{
@@ -1411,6 +1412,16 @@ int flb_blob_db_close(struct flb_blob_db *context)
14111412 return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
14121413}
14131414
1415+ int flb_blob_db_lock (struct flb_blob_db * context )
1416+ {
1417+ return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
1418+ }
1419+
1420+ int flb_blob_db_unlock (struct flb_blob_db * context )
1421+ {
1422+ return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
1423+ }
1424+
14141425int flb_blob_db_file_exists (struct flb_blob_db * context ,
14151426 char * path ,
14161427 uint64_t * id )
@@ -1455,6 +1466,13 @@ int flb_blob_db_file_delivery_attempts(struct flb_blob_db *context,
14551466 return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
14561467}
14571468
1469+ int flb_blob_file_update_remote_id (struct flb_blob_db * context ,
1470+ uint64_t id ,
1471+ cfl_sds_t remote_id )
1472+ {
1473+ return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
1474+ }
1475+
14581476int flb_blob_db_file_get_next_aborted (struct flb_blob_db * context ,
14591477 uint64_t * id ,
14601478 uint64_t * delivery_attempts ,
@@ -1467,6 +1485,13 @@ int flb_blob_db_file_get_next_aborted(struct flb_blob_db *context,
14671485 return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
14681486}
14691487
1488+ int flb_blob_db_file_part_update_remote_id (struct flb_blob_db * context ,
1489+ uint64_t id ,
1490+ cfl_sds_t remote_id )
1491+ {
1492+ return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
1493+ }
1494+
14701495int flb_blob_db_file_get_next_stale (struct flb_blob_db * context ,
14711496 uint64_t * id ,
14721497 cfl_sds_t * path ,
@@ -1512,12 +1537,12 @@ int flb_blob_db_file_part_get_next(struct flb_blob_db *context,
15121537 cfl_sds_t * file_path ,
15131538 cfl_sds_t * destination ,
15141539 cfl_sds_t * remote_file_id ,
1515- cfl_sds_t * tag )
1540+ cfl_sds_t * tag ,
1541+ int * part_count )
15161542{
15171543 return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
15181544}
15191545
1520-
15211546int flb_blob_db_file_part_uploaded (struct flb_blob_db * context , uint64_t id )
15221547{
15231548 return FLB_BLOB_DB_ERROR_NO_BACKEND_AVAILABLE ;
0 commit comments