mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-08 03:22:21 +03:00
The query optimizer now attempts to satisfy an ORDER BY clause using
an index. Sorting is still used if there are no suitable indices. (CVS 628) FossilOrigin-Name: f09e19b43ef61073713cf32282c90ea666229eba
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle DELETE FROM statements.
|
||||
**
|
||||
** $Id: delete.c,v 1.37 2002/06/11 02:25:41 danielk1977 Exp $
|
||||
** $Id: delete.c,v 1.38 2002/06/19 14:27:05 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -190,7 +190,7 @@ void sqliteDeleteFrom(
|
||||
else{
|
||||
/* Begin the database scan
|
||||
*/
|
||||
pWInfo = sqliteWhereBegin(pParse, base, pTabList, pWhere, 1);
|
||||
pWInfo = sqliteWhereBegin(pParse, base, pTabList, pWhere, 1, 0);
|
||||
if( pWInfo==0 ) goto delete_from_cleanup;
|
||||
|
||||
/* Remember the key of every item to be deleted.
|
||||
|
||||
Reference in New Issue
Block a user