remove match/regexp support
These are only enabled if we implement `xFindFunction`, which we don't
This commit is contained in:
parent
025320d525
commit
e83a21db15
|
@ -461,14 +461,10 @@ ConstraintOperator constraintOperatorFromSqlite(int op) {
|
|||
return LessThan;
|
||||
case SQLITE_INDEX_CONSTRAINT_GE:
|
||||
return GreaterThanOrEqual;
|
||||
case SQLITE_INDEX_CONSTRAINT_MATCH:
|
||||
return Match;
|
||||
case SQLITE_INDEX_CONSTRAINT_LIKE:
|
||||
return Like;
|
||||
case SQLITE_INDEX_CONSTRAINT_GLOB:
|
||||
return Glob;
|
||||
case SQLITE_INDEX_CONSTRAINT_REGEXP:
|
||||
return Regexp;
|
||||
case SQLITE_INDEX_CONSTRAINT_NE:
|
||||
return NotEqual;
|
||||
case SQLITE_INDEX_CONSTRAINT_ISNOT:
|
||||
|
|
|
@ -61,18 +61,12 @@ std::string Constraint::describe() const {
|
|||
case GreaterThanOrEqual:
|
||||
rv.append(">=");
|
||||
break;
|
||||
case Match:
|
||||
rv.append("MATCH");
|
||||
break;
|
||||
case Like:
|
||||
rv.append("LIKE");
|
||||
break;
|
||||
case Glob:
|
||||
rv.append("GLOB");
|
||||
break;
|
||||
case Regexp:
|
||||
rv.append("REGEXP");
|
||||
break;
|
||||
case NotEqual:
|
||||
rv.append("<>");
|
||||
break;
|
||||
|
|
|
@ -11,10 +11,8 @@ enum ConstraintOperator {
|
|||
LessThanOrEqual,
|
||||
LessThan,
|
||||
GreaterThanOrEqual,
|
||||
Match,
|
||||
Like,
|
||||
Glob,
|
||||
Regexp,
|
||||
NotEqual,
|
||||
IsNot,
|
||||
IsNotNull,
|
||||
|
|
Loading…
Reference in New Issue