diff options
author | drh <> | 2023-10-18 18:11:11 +0000 |
---|---|---|
committer | drh <> | 2023-10-18 18:11:11 +0000 |
commit | 59a0d0bbf9a40e678e99f71920bd1cc7ec06d24d (patch) | |
tree | a191492c63ebac96a92a118fec67a53ac8fdcced /src/sqliteInt.h | |
parent | db19f48b698bc1327ff4a83309a26d4ebead503e (diff) | |
download | sqlite-59a0d0bbf9a40e678e99f71920bd1cc7ec06d24d.tar.gz sqlite-59a0d0bbf9a40e678e99f71920bd1cc7ec06d24d.zip |
ORDER BY on aggregates seem to work, at least for simple smoke tests. Lots
more testing is needed though. Surely there are many bugs.
FossilOrigin-Name: 64c12a835b6f1df8f2f5f4a41de083f6b3fc7f8030042c6aac0082382cd9cc4d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 16da1db4c..cb90fba4a 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2860,6 +2860,9 @@ struct AggInfo { FuncDef *pFunc; /* The aggregate function implementation */ int iDistinct; /* Ephemeral table used to enforce DISTINCT */ int iDistAddr; /* Address of OP_OpenEphemeral */ + int iOBTab; /* Ephemeral table to implement ORDER BY */ + u8 bOBPayload; /* iOBTab has payload columns separate from key */ + u8 bOBUnique; /* Enforce uniqueness on iOBTab keys */ } *aFunc; int nFunc; /* Number of entries in aFunc[] */ u32 selId; /* Select to which this AggInfo belongs */ |