/ Check-in [281ad505]
Login

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

Overview
Comment:In lsmtest, use an empty string instead of ":memory:" when requesting a temporary database from SQLite. This prevents other test code from trying to unlink() ":memory:", which fails on win32.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 281ad505d7a112c5524ea9fb195dfc46f819a58f79f42b37b12fbfe46a089ff2
User & Date: dan 2017-07-07 16:09:24
Context
2017-07-07
16:40
Merge latest trunk changes with this branch. check-in: 216c757f user: dan tags: server-process-edition
16:27
Remove a block from the Win32 VFS for lsm1 that is now superfluous. check-in: 5f726f28 user: dan tags: trunk
16:09
In lsmtest, use an empty string instead of ":memory:" when requesting a temporary database from SQLite. This prevents other test code from trying to unlink() ":memory:", which fails on win32. check-in: 281ad505 user: dan tags: trunk
16:06
Memory reallocation fix for the Win32 VFS for lsm1. check-in: 5a3140e4 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/lsm1/lsm-test/lsmtest1.c.

    92     92     return zRet;
    93     93   }
    94     94   
    95     95   int testControlDb(TestDb **ppDb){
    96     96   #ifdef HAVE_KYOTOCABINET
    97     97     return tdb_open("kyotocabinet", "tmp.db", 1, ppDb);
    98     98   #else
    99         -  return tdb_open("sqlite3", ":memory:", 1, ppDb);
           99  +  return tdb_open("sqlite3", "", 1, ppDb);
   100    100   #endif
   101    101   }
   102    102   
   103    103   void testDatasourceFetch(
   104    104     TestDb *pDb,                    /* Database handle */
   105    105     Datasource *pData,
   106    106     int iKey,