1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix a bug in the xCurrentTime() method of the os_unix.c VFS.

FossilOrigin-Name: 551df11a5613e3edc6c5de44f0ac6abc2d0e6cdf
This commit is contained in:
drh
2010-05-03 18:22:52 +00:00
parent 5e9e482fe0
commit 0dcb0a7d7b
3 changed files with 19 additions and 9 deletions

View File

@@ -4557,7 +4557,7 @@ static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
sqlite3_int64 i;
unixCurrentTimeInt64(0, &i);
*prNow = i*86400000.0;
*prNow = i/86400000.0;
return 0;
}