diff options
author | mistachkin <mistachkin@noemail.net> | 2013-06-21 18:32:11 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2013-06-21 18:32:11 +0000 |
commit | f5fe3ae9e6ec813a0f015c990ddac7349a933467 (patch) | |
tree | fe707c5648260e826cb61bd85e9f08501ff2ca4c /src/expr.c | |
parent | 1654256ac892447558ff0587de76d5b53ac2b6f5 (diff) | |
parent | b01e5b59a2e471d468e1854ef4de4b8f54f3bd6c (diff) | |
download | sqlite-f5fe3ae9e6ec813a0f015c990ddac7349a933467.tar.gz sqlite-f5fe3ae9e6ec813a0f015c990ddac7349a933467.zip |
Merge updates from trunk.
FossilOrigin-Name: fa2a91e6c631864846484d13cffdc51856953cd1
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/expr.c b/src/expr.c index a974c5a61..c1a27ebf8 100644 --- a/src/expr.c +++ b/src/expr.c @@ -116,12 +116,7 @@ CollSeq *sqlite3ExprCollSeq(Parse *pParse, Expr *pExpr){ } assert( op!=TK_REGISTER || p->op2!=TK_COLLATE ); if( op==TK_COLLATE ){ - if( db->init.busy ){ - /* Do not report errors when parsing while the schema */ - pColl = sqlite3FindCollSeq(db, ENC(db), p->u.zToken, 0); - }else{ - pColl = sqlite3GetCollSeq(pParse, ENC(db), 0, p->u.zToken); - } + pColl = sqlite3GetCollSeq(pParse, ENC(db), 0, p->u.zToken); break; } if( p->pTab!=0 @@ -1651,7 +1646,7 @@ int sqlite3FindInIndex(Parse *pParse, Expr *pX, int *prNotFound){ ** ** If rMayHaveNull is zero, that means that the subquery is being used ** for membership testing only. There is no need to initialize any -** registers to indicate the presense or absence of NULLs on the RHS. +** registers to indicate the presence or absence of NULLs on the RHS. ** ** For a SELECT or EXISTS operator, return the register that holds the ** result. For IN operators or if an error occurs, the return value is 0. |