[OpenSIPS-Devel] [OpenSIPS/opensips] 478291: [sql_cacher] Proper handling of empty tables
Bogdan Andrei IANCU
noreply at github.com
Thu Aug 1 11:31:11 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 478291e2e1f634fe3d5b922c62d973a48712349e
https://github.com/OpenSIPS/opensips/commit/478291e2e1f634fe3d5b922c62d973a48712349e
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