1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Fix a C++-ism in recent changes to select.c. (CVS 4633)

FossilOrigin-Name: 4a00805014a5f4ad862bde0bb55fac934bab41dd
This commit is contained in:
drh
2007-12-14 17:24:39 +00:00
parent a018dc777b
commit 8f0ecaae78
3 changed files with 10 additions and 10 deletions

View File

@@ -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.371 2007/12/14 16:11:09 drh Exp $
** $Id: select.c,v 1.372 2007/12/14 17:24:40 drh Exp $
*/
#include "sqliteInt.h"
@@ -1614,10 +1614,10 @@ static int processCompoundOrderBy(
moreToDo = 0;
for(i=0; i<pOrderBy->nExpr; i++){
int iCol;
Expr *pE;
Expr *pE, *pDup;
if( pOrderBy->a[i].done ) continue;
pE = pOrderBy->a[i].pExpr;
Expr *pDup = sqlite3ExprDup(db, pE);
pDup = sqlite3ExprDup(db, pE);
if( pDup==0 ){
return 1;
}