diff options
author | drh <drh@noemail.net> | 2010-05-03 18:22:52 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-05-03 18:22:52 +0000 |
commit | 0dcb0a7d7bdd5ac0bbd0fde684a2d7c4c3ad906f (patch) | |
tree | 66d383dd48f41d0e1b443ac142d3ff7ac7fd25b4 /src/os_unix.c | |
parent | 5e9e482fe04a2e41ed2ac00196af1641f7ca2526 (diff) | |
download | sqlite-0dcb0a7d7bdd5ac0bbd0fde684a2d7c4c3ad906f.tar.gz sqlite-0dcb0a7d7bdd5ac0bbd0fde684a2d7c4c3ad906f.zip |
Fix a bug in the xCurrentTime() method of the os_unix.c VFS.
FossilOrigin-Name: 551df11a5613e3edc6c5de44f0ac6abc2d0e6cdf
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 1b3223b52..b9e093b59 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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; } |