Module: kamailio Branch: master Commit: fed70c48a907dd3579ff6a7b288e1469cc9ece34 URL: https://github.com/kamailio/kamailio/commit/fed70c48a907dd3579ff6a7b288e1469cc9ece34
Author: lazedo <[email protected]> Committer: lazedo <[email protected]> Date: 2015-12-22T11:04:01Z Merge pull request #451 from kamailio/lazedo-patch-2 db_text : column type comparison --- Modified: modules/db_text/dbt_lib.c --- Diff: https://github.com/kamailio/kamailio/commit/fed70c48a907dd3579ff6a7b288e1469cc9ece34.diff Patch: https://github.com/kamailio/kamailio/commit/fed70c48a907dd3579ff6a7b288e1469cc9ece34.patch --- diff --git a/modules/db_text/dbt_lib.c b/modules/db_text/dbt_lib.c index 32364a0..7194b6d 100644 --- a/modules/db_text/dbt_lib.c +++ b/modules/db_text/dbt_lib.c @@ -443,13 +443,13 @@ int dbt_is_neq_type(db_type_t _t0, db_type_t _t1) case DB1_DOUBLE: break; case DB1_STRING: - if(_t0==DB1_STR) + if(_t0==DB1_STR || _t0==DB1_BLOB) return 0; case DB1_STR: if(_t0==DB1_STRING || _t0==DB1_BLOB) return 0; case DB1_BLOB: - if(_t0==DB1_STR) + if(_t0==DB1_STR || _t0==DB1_STRING) return 0; case DB1_BITMAP: if (_t0==DB1_INT) _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
