[OpenSIPS-Devel] [OpenSIPS/opensips] 72c9e1: cachedb_mongodb: Return DB_STRING strings, not DB_STR
    Liviu Chircu 
    noreply at github.com
       
    Tue Jan 12 17:33:55 EST 2021
    
    
  
  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 72c9e127d89ec6cb2b4a0752ea3c496063988bc1
      https://github.com/OpenSIPS/opensips/commit/72c9e127d89ec6cb2b4a0752ea3c496063988bc1
  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