[OpenSIPS-Devel] [OpenSIPS/opensips] 9c0e3a: [db_virtual] fix or flag propagation from db_virtu...
ionutrazvanionita
ionutionita at opensips.org
Wed Mar 1 05:56:12 EST 2017
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 9c0e3a1af33c475d9a5bcee09e3e3f8901948b17
https://github.com/OpenSIPS/opensips/commit/9c0e3a1af33c475d9a5bcee09e3e3f8901948b17
Author: ionutrazvanionita <ionutionita at opensips.org>
Date: 2017-03-01 (Wed, 01 Mar 2017)
Changed paths:
M modules/db_virtual/dbase.c
Log Message:
-----------
[db_virtual] fix or flag propagation from db_virtual to other db backends
Nested connections under db_virtual were not receiving the
flags existing in the mother connection ( db_virtual connection ).
Because of this modules using OR operator for example ( like usrloc
and dialog ) were forced to used the default operator, AND thus
creating other queries than the ones desired.
Thanks to Chris Maciejewski <chris at level7systems.co.uk> for reporting
(cherry picked from commit 7b0bc8255e15b04372429bb847674a589854acd0)
More information about the Devel
mailing list