diff options
author | drh <drh@noemail.net> | 2005-08-30 00:54:01 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-08-30 00:54:01 +0000 |
commit | 5d9a4af9af921ee6c7cff7970b0ac0ff3bccce34 (patch) | |
tree | 945db72c3c134ad69bd449507ad1478ee7787949 /src/sqliteInt.h | |
parent | 220b10285b0f88d3672ba4fe612be07d4556289b (diff) | |
download | sqlite-5d9a4af9af921ee6c7cff7970b0ac0ff3bccce34.tar.gz sqlite-5d9a4af9af921ee6c7cff7970b0ac0ff3bccce34.zip |
Minor code enhancements. (CVS 2642)
FossilOrigin-Name: 4ab994a87ee844f453d693555abd61b51bb44a0e
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 8042ae047..b391eb3bf 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.405 2005/08/29 23:00:04 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.406 2005/08/30 00:54:03 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -892,6 +892,7 @@ struct ExprList { u8 sortOrder; /* 1 for DESC or 0 for ASC */ u8 isAgg; /* True if this is an aggregate like count(*) */ u8 done; /* A flag to indicate when processing is finished */ + u8 orderByDup[2]; /* Corresponding term in OrderBy/GroupBy clause */ } *a; /* One entry for each expression */ }; @@ -1452,6 +1453,7 @@ int sqlite3ExprCompare(Expr*, Expr*); int sqliteFuncId(Token*); int sqlite3ExprResolveNames(NameContext *, Expr *); int sqlite3ExprAnalyzeAggregates(NameContext*, Expr*); +int sqlite3ExprAnalyzeAggList(NameContext*,ExprList*); Vdbe *sqlite3GetVdbe(Parse*); void sqlite3Randomness(int, void*); void sqlite3RollbackAll(sqlite3*); |