[OpenSIPS-Devel] [OpenSIPS/opensips] 6fd568: [sql_cacher] When on demand mode, get column types...
Vlad Pătrașcu
noreply at github.com
Thu Dec 2 16:48:17 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 6fd5688a8654106e91ed10885042a50e7ab4c2c8
https://github.com/OpenSIPS/opensips/commit/6fd5688a8654106e91ed10885042a50e7ab4c2c8
Author: Gang Zhuo <gang.zhuo at gmail.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M modules/sql_cacher/sql_cacher.c
Log Message:
-----------
[sql_cacher] When on demand mode, get column types at mod_init
Fix https://github.com/OpenSIPS/opensips/issues/2649
On demand mode, if the cache key exists, sql_cacher do not load data
from the database, the get_column_types() function will not be called,
so c_entry->column_types will remaining the initial value 0.
This will cause the wrong data type to be used to decode the cached values.
Commit: 69966d71127f34b6dec1f4d2a4b431a9778f5d72
https://github.com/OpenSIPS/opensips/commit/69966d71127f34b6dec1f4d2a4b431a9778f5d72
Author: Vlad Pătrașcu <vladp at opensips.org>
Date: 2021-12-02 (Thu, 02 Dec 2021)
Changed paths:
M modules/sql_cacher/sql_cacher.c
Log Message:
-----------
Merge pull request #2676 from GangZhuo/issues-2649
[sql_cacher] When on demand mode, get column types at mod_init
Compare: https://github.com/OpenSIPS/opensips/compare/008196a5308a...69966d71127f
More information about the Devel
mailing list