[OpenSIPS-Devel] [OpenSIPS/opensips] 4befbb: [dbops] remove obsolete flags from docs

Bogdan Andrei IANCU noreply at github.com
Tue Mar 12 20:55:26 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4befbb436d27011c8bd05c48ece4a1961d4f0ef4
      https://github.com/OpenSIPS/opensips/commit/4befbb436d27011c8bd05c48ece4a1961d4f0ef4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M modules/dbops/doc/dbops_admin.xml

  Log Message:
  -----------
  [dbops] remove obsolete flags from docs


  Commit: 80c2ee12dfc7f754e48af51cec47dc26b8cf0d3a
      https://github.com/OpenSIPS/opensips/commit/80c2ee12dfc7f754e48af51cec47dc26b8cf0d3a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M modules/dbops/dbops.c
    M modules/dbops/dbops_db.c
    M modules/dbops/dbops_db.h
    M modules/dbops/dbops_impl.c
    M modules/dbops/dbops_impl.h

  Log Message:
  -----------
  [dbops] Add SQL structured query functions

These are functions performing structured (not raw) queries via the internal DB SQL API. They provide full standard INSERT/UPDATE/SELECT/REPLACE/DELETE support.


  Commit: 518c4f94d82b589f5645dfb8e92ad095f772730e
      https://github.com/OpenSIPS/opensips/commit/518c4f94d82b589f5645dfb8e92ad095f772730e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M modules/dbops/doc/dbops.xml
    M modules/dbops/doc/dbops_admin.xml

  Log Message:
  -----------
  [dbops] docs update with the latest functions


  Commit: 12b9ba4a8af0c9191d7567ebdce298fad9a8723c
      https://github.com/OpenSIPS/opensips/commit/12b9ba4a8af0c9191d7567ebdce298fad9a8723c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M modules/dbops/dbops.c
    M modules/dbops/dbops_db.c
    M modules/dbops/dbops_db.h
    M modules/dbops/dbops_impl.c
    M modules/dbops/dbops_impl.h
    M modules/dbops/doc/dbops_admin.xml

  Log Message:
  -----------
  [dbops] swap cols and table as args for INSERT and REPLACE..

...just to follow order int the SQL syntax :)


  Commit: 5b7d83d4399b718601ba01f6a95be44f6b9a2f03
      https://github.com/OpenSIPS/opensips/commit/5b7d83d4399b718601ba01f6a95be44f6b9a2f03
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M modules/dbops/dbops_db.c

  Log Message:
  -----------
  [dbops] fix bad usage of non-static variable

Use the cols pointer (which is static) and not the str_cols which are valid only during a mem realloc


  Commit: 5efa82fcdee49c20377460b0ebfd94d1a73337ea
      https://github.com/OpenSIPS/opensips/commit/5efa82fcdee49c20377460b0ebfd94d1a73337ea
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M modules/dbops/dbops.c
    M modules/dbops/dbops_db.c
    M modules/dbops/dbops_db.h
    M modules/dbops/doc/dbops_admin.xml

  Log Message:
  -----------
  [dbops] added prepared statements support

for the newly added db_select|update|insert|replace|delete() functions


Compare: https://github.com/OpenSIPS/opensips/compare/64fd8c7e97ed...5efa82fcdee4

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



More information about the Devel mailing list