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

Comment improvements. Put ALWAYS and NEVER macros on three unreachable

branches.

FossilOrigin-Name: 397617009e07004596476d6f5644fdf84c376f54
This commit is contained in:
drh
2016-08-26 03:42:57 +00:00
parent a28f85b076
commit 64bcb8cfbb
5 changed files with 27 additions and 16 deletions

View File

@@ -2443,9 +2443,9 @@ int sqlite3CodeSubselect(
ExprList *pEList = pSelect->pEList;
assert( !isRowid );
if( pEList->nExpr!=nVal ){
sqlite3SubselectError(pParse, pEList->nExpr, nVal);
}else{
/* If the LHS and RHS of the IN operator do not match, that
** error will have been caught long before we reach this point. */
if( ALWAYS(pEList->nExpr==nVal) ){
SelectDest dest;
int i;
sqlite3SelectDestInit(&dest, SRT_Set, pExpr->iTable);