aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-12-07 22:18:54 +0000
committerdrh <drh@noemail.net>2012-12-07 22:18:54 +0000
commit953f7611da21d43454ae5173f5fb1b69465a2d45 (patch)
tree5b68b836a82c4ba563f31d536f51b2b8d53154ee /src/sqliteInt.h
parentbd13d34b08ddc66a079f671bcbe96127b41da957 (diff)
downloadsqlite-953f7611da21d43454ae5173f5fb1b69465a2d45.tar.gz
sqlite-953f7611da21d43454ae5173f5fb1b69465a2d45.zip
Fix a long-standing issue with the distinct-as-aggregate optimization that
only expressed when the new collating-sequence logic is turned on. FossilOrigin-Name: 0aaf52a339808386984c30cca0c0c35ac2e70e7e
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index b15e0b208..2b58a808f 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2330,6 +2330,7 @@ struct AuthContext {
#define OPFLAG_TYPEOFARG 0x80 /* OP_Column only used for typeof() */
#define OPFLAG_BULKCSR 0x01 /* OP_Open** used to open bulk cursor */
#define OPFLAG_P2ISREG 0x02 /* P2 to OP_Open** is a register number */
+#define OPFLAG_PERMUTE 0x01 /* OP_Compare: use the permutation */
/*
* Each trigger present in the database schema is stored as an instance of