/ Check-in [e0aa50c3]
Login

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

Overview
Comment:Fixed warnings with MSVC compile.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e0aa50c382a56bb02eaa589619b7e670006a26b3
User & Date: shane 2009-10-13 19:19:24
Original User & Date: drh 2009-10-13 19:19:24
Context
2009-10-13
22:47
Update the configure script for version 3.6.19. check-in: ac19dbc6 user: drh tags: trunk
19:19
Fixed warnings with MSVC compile. check-in: e0aa50c3 user: shane tags: trunk
18:49
Fix a typo in the test script added for ticket [5ee23731f15]. check-in: d0f55b5c user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

  1001   1001   ** All current savepoints are stored in a linked list starting at
  1002   1002   ** sqlite3.pSavepoint. The first element in the list is the most recently
  1003   1003   ** opened savepoint. Savepoints are added to the list by the vdbe
  1004   1004   ** OP_Savepoint instruction.
  1005   1005   */
  1006   1006   struct Savepoint {
  1007   1007     char *zName;                        /* Savepoint name (nul-terminated) */
  1008         -  int nDeferredCons;                  /* Number of deferred fk violations */
         1008  +  i64 nDeferredCons;                  /* Number of deferred fk violations */
  1009   1009     Savepoint *pNext;                   /* Parent savepoint (if any) */
  1010   1010   };
  1011   1011   
  1012   1012   /*
  1013   1013   ** The following are used as the second parameter to sqlite3Savepoint(),
  1014   1014   ** and as the P1 argument to the OP_Savepoint instruction.
  1015   1015   */

Changes to src/trigger.c.

   948    948           (v, "Call: %s.%s", (p->zName?p->zName:"fkey"), onErrorText(orconf)));
   949    949   
   950    950       /* Set the P5 operand of the OP_Program instruction to non-zero if
   951    951       ** recursive invocation of this trigger program is disallowed. Recursive
   952    952       ** invocation is disallowed if (a) the sub-program is really a trigger,
   953    953       ** not a foreign key action, and (b) the flag to enable recursive triggers
   954    954       ** is clear.  */
   955         -    sqlite3VdbeChangeP5(v, p->zName && !(pParse->db->flags&SQLITE_RecTriggers));
          955  +    sqlite3VdbeChangeP5(v, (u8)(p->zName && !(pParse->db->flags&SQLITE_RecTriggers)));
   956    956     }
   957    957   }
   958    958   
   959    959   /*
   960    960   ** This is called to code the required FOR EACH ROW triggers for an operation
   961    961   ** on table pTab. The operation to code triggers for (INSERT, UPDATE or DELETE)
   962    962   ** is given by the op paramater. The tr_tm parameter determines whether the

tool/mksqlite3h.tcl became a regular file.