[OpenSIPS-Devel] [OpenSIPS/opensips] 4dfa62: db_sqlite: Use recommended way of enabling/disabli...

Bogdan Andrei IANCU noreply at github.com
Thu Jan 16 13:19:24 UTC 2025


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4dfa622d087aec1236ff1a22de5b6b2a538ce93a
      https://github.com/OpenSIPS/opensips/commit/4dfa622d087aec1236ff1a22de5b6b2a538ce93a
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M modules/db_sqlite/sqlite_con.c

  Log Message:
  -----------
  db_sqlite: Use recommended way of enabling/disabling extension loading

sqlite3_db_config with SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION affects
only C-API without enabling SQL function load_extension()


  Commit: 3e5dec49876913bd08c922b5233cd697d5d935c8
      https://github.com/OpenSIPS/opensips/commit/3e5dec49876913bd08c922b5233cd697d5d935c8
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M modules/db_sqlite/db_sqlite.c
    M modules/db_sqlite/db_sqlite.h
    M modules/db_sqlite/sqlite_con.c

  Log Message:
  -----------
  db_sqlite: Add busy_timeout and exec_pragma module parameters


  Commit: dffe6c540a3dda3063f02efd8c7c7c3e45c8d887
      https://github.com/OpenSIPS/opensips/commit/dffe6c540a3dda3063f02efd8c7c7c3e45c8d887
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M modules/db_sqlite/doc/db_sqlite_admin.xml

  Log Message:
  -----------
  db_sqlite: Add documentation for the new parameters


  Commit: 242f825c4b8359808ad8edf6b1a5234e052d2366
      https://github.com/OpenSIPS/opensips/commit/242f825c4b8359808ad8edf6b1a5234e052d2366
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M modules/db_sqlite/db_sqlite.c
    M modules/db_sqlite/dbase.c
    M modules/db_sqlite/doc/db_sqlite_admin.xml
    M modules/db_sqlite/res.c

  Log Message:
  -----------
  db_sqlite: Remove infinite loops when a database lock occurs.

The proper way to handle a locked database is to use a busy timeout.
Previously, the behavior resulted in an infinite lock for the process
attempting to write to the locked database. The default value for the
busy timeout has been set to 500 ms to avoid immediate errors when short
database locks occur.


  Commit: 083603b66d13c99ecef36be38677cb81ae77ec0f
      https://github.com/OpenSIPS/opensips/commit/083603b66d13c99ecef36be38677cb81ae77ec0f
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M modules/db_sqlite/sqlite_con.c

  Log Message:
  -----------
  db_sqlite: Add length check for exec_pragma parameter value


  Commit: 7192510466106b03c0368e2d9bfe5c9a65bd5b50
      https://github.com/OpenSIPS/opensips/commit/7192510466106b03c0368e2d9bfe5c9a65bd5b50
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M modules/db_sqlite/db_sqlite.c
    M modules/db_sqlite/db_sqlite.h
    M modules/db_sqlite/dbase.c
    M modules/db_sqlite/doc/db_sqlite_admin.xml
    M modules/db_sqlite/res.c
    M modules/db_sqlite/sqlite_con.c

  Log Message:
  -----------
  Merge pull request #3559 from vasilevalex/sqlite_newparams

db_sqlite: new parameters for SQLite configuration


Compare: https://github.com/OpenSIPS/opensips/compare/9f2aa5bb4920...719251046610

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



More information about the Devel mailing list