remove match/regexp support

These are only enabled if we implement `xFindFunction`, which we don't
This commit is contained in:
Colin Dellow 2018-07-05 21:49:28 -04:00
parent 025320d525
commit e83a21db15
3 changed files with 0 additions and 12 deletions

View File

@ -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:

View File

@ -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;

View File

@ -11,10 +11,8 @@ enum ConstraintOperator {
LessThanOrEqual,
LessThan,
GreaterThanOrEqual,
Match,
Like,
Glob,
Regexp,
NotEqual,
IsNot,
IsNotNull,