Skip to content

Commit

Permalink
db_text : column type comparison
Browse files Browse the repository at this point in the history
compare DB1_STR, DB1_STRING, DB1_BLOB as equal
  • Loading branch information
lazedo committed Dec 18, 2015
1 parent 4717291 commit b7acbe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/db_text/dbt_lib.c
Expand Up @@ -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)
Expand Down

0 comments on commit b7acbe4

Please sign in to comment.