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

Change the multiSelectOrderBy() routine to return non-zero if there has

been any prior error.

FossilOrigin-Name: 14784c317bff05dd0a74e2596432dfd12c139391
This commit is contained in:
drh
2015-04-15 07:10:25 +00:00
parent a43f02efc6
commit 3dc4cc66b3
4 changed files with 14 additions and 9 deletions

View File

@@ -3071,7 +3071,7 @@ static int multiSelectOrderBy(
/*** TBD: Insert subroutine calls to close cursors on incomplete
**** subqueries ****/
explainComposite(pParse, p->op, iSub1, iSub2, 0);
return SQLITE_OK;
return pParse->nErr!=0;
}
#endif