[OpenSIPS-Devel] [OpenSIPS/opensips] 49b1ef: [sql_cacher] Proper handling of empty tables

Bogdan Andrei IANCU noreply at github.com
Thu Aug 1 11:30:44 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 49b1efcee1aebc9814c8cc26bb3f9d797bdffb7d
      https://github.com/OpenSIPS/opensips/commit/49b1efcee1aebc9814c8cc26bb3f9d797bdffb7d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  [sql_cacher] Proper handling of empty tables

if there are no records in the table (after a reload on a fully cached table), do not consider it an error and (even more important) take care and do the version change on the keys (to remove the old values).

Closes #1784
Credits go to @clifjones for the patch

(cherry picked from commit 9198eccbd2dc1d147d7c1ccf8696dbb80b5935ee)





More information about the Devel mailing list