System.Data.SQLite
Check-in [75fa3f2f06]
Not logged in

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

Overview
Comment:Fix compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 75fa3f2f06c6047ee173145c6086c106bc7e0e0e
User & Date: shaneh 2011-04-08 04:32:58
Context
2011-04-08
04:40
Add post-build step to copy interop dll to test directory. check-in: de383c669e user: mistachkin tags: trunk
04:32
Fix compiler warning. check-in: 75fa3f2f06 user: shaneh tags: trunk
04:10
Add VS 2010 x64 project configurations for the SQLite.Interop assembly to the new build system. check-in: acc3e52af9 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to SQLite.Interop/src/win/crypt.c.

345
346
347
348
349
350
351

352
353

354
355
356
357
358
359
360
  if (!rc)
  {
    // Rewrite all the pages in the database using the new encryption key
    Pgno nPage;
    Pgno nSkip = PAGER_MJ_PGNO(p);
    DbPage *pPage;
    Pgno n;


    sqlite3PagerPagecount(p, &nPage);


    for(n = 1; n <= nPage; n ++)
    {
      if (n == nSkip) continue;
      rc = sqlite3PagerGet(p, n, &pPage);
      if(!rc)
      {







>

|
>







345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
  if (!rc)
  {
    // Rewrite all the pages in the database using the new encryption key
    Pgno nPage;
    Pgno nSkip = PAGER_MJ_PGNO(p);
    DbPage *pPage;
    Pgno n;
    int count;

    sqlite3PagerPagecount(p, &count);
    nPage = (Pgno)count;

    for(n = 1; n <= nPage; n ++)
    {
      if (n == nSkip) continue;
      rc = sqlite3PagerGet(p, n, &pPage);
      if(!rc)
      {