/ Check-in [d389e20a]
Login

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

Overview
Comment:Fix a harmless compiler warning in the sessions test harness.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sessions
Files: files | file ages | folders
SHA1: d389e20ab07a76d0c4be3801265977fa977a4394
User & Date: drh 2014-03-06 15:01:11
Context
2014-03-07
14:36
Merge the fix for the journal_mode=PERSIST error recovery delay bug. check-in: bb6a75f4 user: drh tags: sessions
2014-03-06
15:01
Fix a harmless compiler warning in the sessions test harness. check-in: d389e20a user: drh tags: sessions
14:53
Enhance the test harness for the sessions interface so that it does not use SQLite operations that can encounter an OOM error in places where it is unable to report an OOM error back up to the test script. check-in: bc0e6610 user: drh tags: sessions
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/test_session.c.

   249    249   };
   250    250   
   251    251   static int test_obj_eq_string(Tcl_Obj *p, const char *z){
   252    252     int n;
   253    253     int nObj;
   254    254     char *zObj;
   255    255   
   256         -  n = strlen(z);
          256  +  n = (int)strlen(z);
   257    257     zObj = Tcl_GetStringFromObj(p, &nObj);
   258    258   
   259    259     return (nObj==n && (n==0 || 0==memcmp(zObj, z, n)));
   260    260   }
   261    261   
   262    262   static int test_filter_handler(
   263    263     void *pCtx,                     /* Pointer to TestConflictHandler structure */