diff options
author | Jürg Billeter <j@bitron.ch> | 2009-09-25 10:30:43 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2009-09-25 10:32:33 +0200 |
commit | bba839f545139e5cc924ab86030125a35bbdd743 (patch) | |
tree | e0f6796055914280678d63381875a7e92ad77c9d | |
parent | 93ce2612f7ad5de7a276d44f07a12ef153879956 (diff) | |
download | tracker-bba839f545139e5cc924ab86030125a35bbdd743.tar.gz |
tracker-fts: Do not report fatal error when closing quote is missing
-rw-r--r-- | src/tracker-fts/tracker-fts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tracker-fts/tracker-fts.c b/src/tracker-fts/tracker-fts.c index c1278afd1..d8a23020c 100644 --- a/src/tracker-fts/tracker-fts.c +++ b/src/tracker-fts/tracker-fts.c @@ -4519,9 +4519,9 @@ static int parseQuery( } if( inPhrase ){ - /* unmatched quote */ - queryClear(pQuery); - return SQLITE_ERROR; + /* unmatched quote + proceed as if there is an extra quote at the end + do not report error as this may be user input */ } /* Modify the values of the QueryTerm.nPhrase variables to account for |