diff --git a/ext/fts5/fts5_expr.c b/ext/fts5/fts5_expr.c index 844534a9e0..5d0aa7438a 100644 --- a/ext/fts5/fts5_expr.c +++ b/ext/fts5/fts5_expr.c @@ -401,7 +401,7 @@ int sqlite3Fts5ExprPattern( zExpr[iOut++] = '"'; zExpr[iOut++] = ' '; } - if( zText[i]==aSpec[2] ){ + if( i