/ Check-in [e6f82574]
Login

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

Overview
Comment:Add a missing va_end() macro to fts3.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e6f825748a1d510c8f5529c79656bb5db9216231
User & Date: dan 2011-11-04 10:37:21
Context
2011-11-04
12:05
Change a memcpy() in sqlite3FileSuffix() to memmove() on the grounds that the source and destination may overlap. check-in: 5e1d247e user: dan tags: trunk
10:37
Add a missing va_end() macro to fts3.c. check-in: e6f82574 user: dan tags: trunk
02:24
Use mkdir() and rmdir() rather than open() and unlink() to create the lock files with the unix-dotlock VFS. The change is backwards compatible and, we are told, works better on some network filesystems. check-in: e2f08426 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3.c.

   708    708     ...                             /* Arguments for printf format string */
   709    709   ){
   710    710     if( *pRc==SQLITE_OK ){
   711    711       va_list ap;
   712    712       char *z;
   713    713       va_start(ap, zFormat);
   714    714       z = sqlite3_vmprintf(zFormat, ap);
          715  +    va_end(ap);
   715    716       if( z && *pz ){
   716    717         char *z2 = sqlite3_mprintf("%s%s", *pz, z);
   717    718         sqlite3_free(z);
   718    719         z = z2;
   719    720       }
   720    721       if( z==0 ) *pRc = SQLITE_NOMEM;
   721    722       sqlite3_free(*pz);