Index: third_party/sqlite/src/test/threadtest3.c |
diff --git a/third_party/sqlite/src/test/threadtest3.c b/third_party/sqlite/src/test/threadtest3.c |
index 8d213c61f10bbfaa3ec4fca5e69979d39e94ad3b..6062b6428577d1023a866df6a54cf09299f015b6 100644 |
--- a/third_party/sqlite/src/test/threadtest3.c |
+++ b/third_party/sqlite/src/test/threadtest3.c |
@@ -880,7 +880,7 @@ static double currentTime(void){ |
double t; |
static sqlite3_vfs *pTimelimitVfs = 0; |
if( pTimelimitVfs==0 ) pTimelimitVfs = sqlite3_vfs_find(0); |
- if( pTimelimitVfs->iVersion>=1 && pTimelimitVfs->xCurrentTimeInt64!=0 ){ |
+ if( pTimelimitVfs->iVersion>=2 && pTimelimitVfs->xCurrentTimeInt64!=0 ){ |
sqlite3_int64 tm; |
pTimelimitVfs->xCurrentTimeInt64(pTimelimitVfs, &tm); |
t = tm/86400000.0; |