[OpenSIPS-Devel] [OpenSIPS/opensips] cc6b47: cachedb_mongodb: Return DB_STRING strings, not DB_STR
Liviu Chircu
noreply at github.com
Tue Jan 12 17:42:44 EST 2021
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: cc6b47aac6fd2ae3d278dea55e552dbda2f13c78
https://github.com/OpenSIPS/opensips/commit/cc6b47aac6fd2ae3d278dea55e552dbda2f13c78
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-01-12 (Tue, 12 Jan 2021)
Changed paths:
M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
M ut.h
Log Message:
-----------
cachedb_mongodb: Return DB_STRING strings, not DB_STR
Several modules relying on SQL data do not fully handle the DB_STR data
type, e.g. drouting. So when db_cachedb is used on top of
cachedb_mongodb, these modules may report errors such as:
ERROR:drouting:dr_load_routing_info: column gwid has a bad type [4],
accepting only [3]
Many thanks to Sasmita Panda for the report and helping with testing!
(cherry picked from commit f03a9584821215531b0078ca2d5227403bfda14b)
More information about the Devel
mailing list