[OpenSIPS-Devel] [OpenSIPS/opensips] a13d98: db_sqlite: Fix interaction with sql_cacher

Liviu Chircu noreply at github.com
Wed Apr 1 14:21:57 UTC 2026


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a13d98a483da3063399b0e0552ee8976f89dcc91
      https://github.com/OpenSIPS/opensips/commit/a13d98a483da3063399b0e0552ee8976f89dcc91
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2026-04-01 (Wed, 01 Apr 2026)

  Changed paths:
    M modules/db_sqlite/dbase.c

  Log Message:
  -----------
  db_sqlite: Fix interaction with sql_cacher

The .query API endpoint in db/db.h is meant to return 0 on success, yet
the current implementation in db_sqlite was returning "number of rows"
on success, leading to:

ERROR:sql_cacher:load_entire_table: Failure to issue query to SQL DB...
ERROR:sql_cacher:cache_init_load: Failed to cache the entire table...
(cherry picked from commit 5abc95adbb087303620677f4802970686f6c3227)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list