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:
@ -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
|
||||
|
Reference in New Issue
Block a user