1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

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
This commit is contained in:
drh
2016-09-05 19:57:46 +00:00
parent 3fffbf9327
commit c1bcd9cc3e
3 changed files with 8 additions and 8 deletions

View File

@@ -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;