Skip to content

Commit

Permalink
db_text : missing OP_NEQ
Browse files Browse the repository at this point in the history
this affects the presence package when it queries for active_watchers
  • Loading branch information
lazedo committed Feb 18, 2015
1 parent 1e3e521 commit 5adbfc6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/db_text/dbt_res.c
Expand Up @@ -208,6 +208,11 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey,
if(res!=0)
return 0;
}else{
if(!strcmp(_op[i], OP_NEQ))
{
if(res==0)
return 0;
}else{
if(!strcmp(_op[i], OP_LT))
{
if(res!=-1)
Expand All @@ -229,7 +234,7 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey,
return 0;
}else{
return 0;
}}}}}
}}}}}}
}
return 1;
}
Expand Down

0 comments on commit 5adbfc6

Please sign in to comment.