diff options
author | drh <drh@noemail.net> | 2016-09-05 19:57:46 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-09-05 19:57:46 +0000 |
commit | c1bcd9cc3e9913acec4d8b04178d52826f82eb2d (patch) | |
tree | 5e9346b621555be65fb95eabbff30614cc46cd5a /src/expr.c | |
parent | 3fffbf932719916b9a6564280b1254ce4f6c5012 (diff) | |
download | sqlite-c1bcd9cc3e9913acec4d8b04178d52826f82eb2d.tar.gz sqlite-c1bcd9cc3e9913acec4d8b04178d52826f82eb2d.zip |
Fix an assert() so that it does C-compiler does not combine an assert()
conditional with a production code conditional and thereby confuse the mutation
testing script.
FossilOrigin-Name: 2fa5288a7ef43f1fb26037c1b5e84b7b90400623
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index f604ae4fe..517034ca3 100644 --- a/src/expr.c +++ b/src/expr.c @@ -487,7 +487,7 @@ static int exprVectorRegister( int *pRegFree /* OUT: Temp register to free */ ){ u8 op = pVector->op; - assert( op==TK_VECTOR || op==TK_SELECT || op==TK_REGISTER ); + assert( op==TK_VECTOR || op==TK_REGISTER || op==TK_SELECT ); if( op==TK_REGISTER ){ *ppExpr = sqlite3VectorFieldSubexpr(pVector, iField); return pVector->iTable+iField; |