diff options
author | dan <dan@noemail.net> | 2015-11-23 21:09:54 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2015-11-23 21:09:54 +0000 |
commit | 07bdba86d55b298c44cacdf92f164c1a5953504c (patch) | |
tree | 27cc582e9bf008035a2280f2142e2e0a23ec97d6 /src/where.c | |
parent | 8836cbbcb4924f5b78f5749dffc9857acf9b684f (diff) | |
download | sqlite-07bdba86d55b298c44cacdf92f164c1a5953504c.tar.gz sqlite-07bdba86d55b298c44cacdf92f164c1a5953504c.zip |
Add experimental support for LIKE, GLOB and REGEXP to the virtual table interface.
FossilOrigin-Name: 277a5b4027d4c2caba8143228a4f7d6df899dbb4
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/where.c b/src/where.c index 1c87706ea..737bfc4e6 100644 --- a/src/where.c +++ b/src/where.c @@ -893,6 +893,9 @@ static sqlite3_index_info *allocateIndexInfo( pIdxCons[j].iTermOffset = i; op = (u8)pTerm->eOperator & WO_ALL; if( op==WO_IN ) op = WO_EQ; + if( op==WO_MATCH ){ + op = pTerm->eMatchOp; + } pIdxCons[j].op = op; /* The direct assignment in the previous line is possible only because ** the WO_ and SQLITE_INDEX_CONSTRAINT_ codes are identical. The |