/ Check-in [ac98b23b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Put the list of keywords in mkkeywordhash.c into alphabetical order.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ac98b23b34632fbc654a34a8b3d842ce65603e4c04d89c589b46f4d48a61152d
User & Date: drh 2019-04-02 13:10:50
Context
2019-04-02
17:45
Including the phrase EXCLUDE NO OTHERS in the frame-spec of a window function (which is the default setting for EXCLUDE) silently disables the xInverse optimization. This is a feature, but we will keep it undocumented for now in case we later decide it is a bad idea. check-in: 10aedce3 user: drh tags: trunk
13:10
Put the list of keywords in mkkeywordhash.c into alphabetical order. check-in: ac98b23b user: drh tags: trunk
00:56
Make sure the MEM_FromBind bit inthe Mem.flags field is not included in the MEM_TypeMask. This critical changes was omitted from the previous two check-ins by mistake, and so those check-ins are not fully functional. check-in: f7ba2daf user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mkkeywordhash.c.

   289    289     { "UNIQUE",           "TK_UNIQUE",       ALWAYS                 },
   290    290     { "UPDATE",           "TK_UPDATE",       ALWAYS                 },
   291    291     { "USING",            "TK_USING",        ALWAYS                 },
   292    292     { "VACUUM",           "TK_VACUUM",       VACUUM                 },
   293    293     { "VALUES",           "TK_VALUES",       ALWAYS                 },
   294    294     { "VIEW",             "TK_VIEW",         VIEW                   },
   295    295     { "VIRTUAL",          "TK_VIRTUAL",      VTAB                   },
          296  +  { "WHEN",             "TK_WHEN",         ALWAYS                 },
          297  +  { "WHERE",            "TK_WHERE",        ALWAYS                 },
   296    298     { "WINDOW",           "TK_WINDOW",       WINDOWFUNC             },
   297    299     { "WITH",             "TK_WITH",         CTE                    },
   298    300     { "WITHOUT",          "TK_WITHOUT",      ALWAYS                 },
   299         -  { "WHEN",             "TK_WHEN",         ALWAYS                 },
   300         -  { "WHERE",            "TK_WHERE",        ALWAYS                 },
   301    301   };
   302    302   
   303    303   /* Number of keywords */
   304    304   static int nKeyword = (sizeof(aKeywordTable)/sizeof(aKeywordTable[0]));
   305    305   
   306    306   /* Map all alphabetic characters into lower-case for hashing.  This is
   307    307   ** only valid for alphabetics.  In particular it does not work for '_'