mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
More work on the implementation of cursors, but they are still not
functioning. (CVS 2142) FossilOrigin-Name: 8b61d1ae1ca469b80f2b344d550c3b363448b193
This commit is contained in:
14
src/select.c
14
src/select.c
@@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle SELECT statements in SQLite.
|
||||
**
|
||||
** $Id: select.c,v 1.216 2004/11/22 19:12:21 drh Exp $
|
||||
** $Id: select.c,v 1.217 2004/11/23 01:47:30 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -2547,16 +2547,8 @@ int sqlite3Select(
|
||||
|
||||
/* Begin the database scan
|
||||
*/
|
||||
#if 0 /* ndef SQLITE_OMIT_CURSOR */
|
||||
if( p->pFetch ){
|
||||
pWInfo = sqlite3WhereBeginFetch(pParse, pTabList, pWhere,
|
||||
pOrderby, p->pFetch);
|
||||
}else
|
||||
#endif
|
||||
{
|
||||
pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, 0,
|
||||
pGroupBy ? 0 : &pOrderBy);
|
||||
}
|
||||
pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, 0,
|
||||
pGroupBy ? 0 : &pOrderBy, p->pFetch);
|
||||
if( pWInfo==0 ) goto select_end;
|
||||
|
||||
/* Use the standard inner loop if we are not dealing with
|
||||
|
||||
Reference in New Issue
Block a user