/ Check-in [d9761f15]
Login

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

Overview
Comment:Fix the build so that it works when SQLITE_ENABLE_8_3_NAMES=1.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d9761f15a175724c6c28a52335c979304737b188
User & Date: drh 2012-01-02 12:41:53
Context
2012-01-02
14:50
Have SQLITE_FCNTL_SYNC_OMITTED use the normal method of returning an error code. check-in: fd3822f1 user: dan tags: trunk
12:41
Fix the build so that it works when SQLITE_ENABLE_8_3_NAMES=1. check-in: d9761f15 user: drh tags: trunk
2012-01-01
13:58
Tweaks to improve testability. check-in: e3a929e4 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/util.c.

  1169   1169   **     test.db-journal    =>   test.nal
  1170   1170   **     test.db-wal        =>   test.wal
  1171   1171   **     test.db-shm        =>   test.shm
  1172   1172   **     test.db-mj7f3319fa =>   test.9fa
  1173   1173   */
  1174   1174   void sqlite3FileSuffix3(const char *zBaseFilename, char *z){
  1175   1175   #if SQLITE_ENABLE_8_3_NAMES<2
  1176         -  if( sqlite3_uri_boolean(zBaseFilename, "8_3_names") )
         1176  +  if( sqlite3_uri_boolean(zBaseFilename, "8_3_names", 0) )
  1177   1177   #endif
  1178   1178     {
  1179   1179       int i, sz;
  1180   1180       sz = sqlite3Strlen30(z);
  1181   1181       for(i=sz-1; i>0 && z[i]!='/' && z[i]!='.'; i--){}
  1182   1182       if( z[i]=='.' && ALWAYS(sz>i+4) ) memmove(&z[i+1], &z[sz-3], 4);
  1183   1183     }
  1184   1184   }
  1185   1185   #endif