/ Check-in [5862b83e]
Login

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

Overview
Comment:Fix harmless compiler warning seen with MSVC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5862b83eb36b93016d37e5b86ebb183d891bb553901facab1e5d83e114a38ec3
User & Date: mistachkin 2019-05-04 03:56:47
Context
2019-05-04
17:32
Fix the NOT NULL logic in the theorem prover that determines when a partial index can be used. Ticket [5c6955204c392ae763a95]. check-in: c2e439bc user: drh tags: trunk
03:56
Fix harmless compiler warning seen with MSVC. check-in: 5862b83e user: mistachkin tags: trunk
01:41
In the sqlite3_value or Mem object, make the MEM_IntReal type completely independent from MEM_Int and MEM_Real. This helps avoid problems when inserting non-float values into a "REAL" column. check-in: 5a8a23ee user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/backup.c.

   270    270     ** between source and destination.  If there is a difference, try to
   271    271     ** fix the destination to agree with the source.  If that is not possible,
   272    272     ** then the backup cannot proceed.
   273    273     */
   274    274     if( nSrcReserve!=nDestReserve ){
   275    275       u32 newPgsz = nSrcPgsz;
   276    276       rc = sqlite3PagerSetPagesize(pDestPager, &newPgsz, nSrcReserve);
   277         -    if( rc==SQLITE_OK && newPgsz!=nSrcPgsz ) rc = SQLITE_READONLY;
          277  +    if( rc==SQLITE_OK && newPgsz!=(u32)nSrcPgsz ) rc = SQLITE_READONLY;
   278    278     }
   279    279   #endif
   280    280   
   281    281     /* This loop runs once for each destination page spanned by the source 
   282    282     ** page. For each iteration, variable iOff is set to the byte offset
   283    283     ** of the destination page.
   284    284     */