1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Compilation fix for lsm1 using MSVC.

FossilOrigin-Name: b7794cc5d5abc13c6301c8d5c1b330405432c047f154083430fd15823221e552
This commit is contained in:
mistachkin
2017-06-29 13:35:44 +00:00
parent e4b45f536e
commit 2ca62cb102
3 changed files with 11 additions and 10 deletions

View File

@ -988,6 +988,9 @@ int do_speed_tests(int nArg, char **azArg){
int nDummy;
u32 iKey;
u32 aKey[4]; /* 16-byte key */
#ifndef NDEBUG
u32 aVal[25]; /* 100 byte value */
#endif
testCaseProgress(iSel, nSelTest, testCaseNDot(), &iDot);
@ -996,7 +999,6 @@ int do_speed_tests(int nArg, char **azArg){
rc = tdb_fetch(pDb, aKey, sizeof(aKey), &pDummy, &nDummy);
#ifndef NDEBUG
u32 aVal[25]; /* 100 byte value */
testPrngArray(iKey, aVal, ArraySize(aVal));
assert( nDummy==100 && memcmp(aVal, pDummy, 100)==0 );
#endif