/ Check-in [9646a136]
Login

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

Overview
Comment:Fix a typo in the macro name of an #ifdef
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9646a136e69cf2583965dfc9fac5f056af4cdb62
User & Date: drh 2014-10-27 19:39:51
Context
2014-10-27
19:42
Fix harmless compiler warning in an assert statement. check-in: d33a1ff3 user: mistachkin tags: trunk
19:39
Fix a typo in the macro name of an #ifdef check-in: 9646a136 user: drh tags: trunk
18:34
Add the SQLITE_ENABLE_API_ARMOR compile-time option for extra API parameter validation. Enhance sqlite3_stricmp(), sqlite3_strnicmp(), and sqlite3_uri_parameter() for improved NULL parameter handling. check-in: ffb9d814 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/ctime.c.

   388    388   **
   389    389   ** The name can optionally begin with "SQLITE_" but the "SQLITE_" prefix
   390    390   ** is not required for a match.
   391    391   */
   392    392   int sqlite3_compileoption_used(const char *zOptName){
   393    393     int i, n;
   394    394   
   395         -#ifdef SQLITE_ENABLE_API_ARMORE
          395  +#ifdef SQLITE_ENABLE_API_ARMOR
   396    396     if( zOptName==0 ){
   397    397       (void)SQLITE_MISUSE_BKPT;
   398    398       return 0;
   399    399     }
   400    400   #endif
   401    401     if( sqlite3StrNICmp(zOptName, "SQLITE_", 7)==0 ) zOptName += 7;
   402    402     n = sqlite3Strlen30(zOptName);