]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix a bug in the xCurrentTime() method of the os_unix.c VFS.
authordrh <drh@noemail.net>
Mon, 3 May 2010 18:22:52 +0000 (18:22 +0000)
committerdrh <drh@noemail.net>
Mon, 3 May 2010 18:22:52 +0000 (18:22 +0000)
FossilOrigin-Name: 551df11a5613e3edc6c5de44f0ac6abc2d0e6cdf

manifest
manifest.uuid
src/os_unix.c

index b67e68881c28e9a9334b46653193b6ab4e7be2ca..e3b4bf39be4ebb1a86eb7d6092a2b4381ec9ccc1 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,8 @@
-C Add\sa\stest\sto\ssimulate\san\sOOM\sduring\slog\srecovery\sto\swalfault.test.
-D 2010-05-03T18:01:22
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+C Fix\sa\sbug\sin\sthe\sxCurrentTime()\smethod\sof\sthe\sos_unix.c\sVFS.
+D 2010-05-03T18:22:53
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in d83a0ffef3dcbfb08b410a6c6dd6c009ec9167fb
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -150,7 +153,7 @@ F src/os.c aec6922553585a25d5655666defc125a7e217674
 F src/os.h b389844e5469a2918e8a45fe6ae52b4c28dfb2b2
 F src/os_common.h 0d6ee583b6ee3185eb9d951f890c6dd03021a08d
 F src/os_os2.c 8ad77a418630d7dee91d1bb04f79c2096301d3a0
-F src/os_unix.c 2d19037594cd2ae30e6ad77cb4f1cc5a20e4a7df
+F src/os_unix.c 7ab8d2fe59954dca619af3e1bbd4789f5032fece
 F src/os_win.c a8fc01d8483be472e495793c01064fd87e56a5c1
 F src/pager.c e9c7fe979b32a3c5bf4216d8fbe1cf8beff8a1b8
 F src/pager.h 934b598583a9d936bb13c37d62a2fe68ac48781c
@@ -809,7 +812,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P a35551a5305b5160b0eb511da7f8e6fb351ef271
-R 196202511a2c780c88fa3597907d5285
-U dan
-Z 63af9feaaec4bfa813085abfe4d8e201
+P 7ed85e87dd206083310ba28afab4389885f61dac
+R 5175e74c66fe957d15866ec25a37a50d
+U drh
+Z 4c12b5cd19d1cf1c4b00a44c7ab023bf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFL3xSAoxKgR168RlERAk5NAJ9h19oeeZO4MhhXCfAtgzetnJJ0ogCeOHLB
+kqaxDmXroX+ZHOZd5wAc6lI=
+=i9YY
+-----END PGP SIGNATURE-----
index 96da1b67e44afec7c6758f4a8db0be3c280353f4..c7289ee3a320bc091ff679336065da1a4c7d9fae 100644 (file)
@@ -1 +1 @@
-7ed85e87dd206083310ba28afab4389885f61dac
\ No newline at end of file
+551df11a5613e3edc6c5de44f0ac6abc2d0e6cdf
\ No newline at end of file
index 1b3223b524c163b83f0bf510045a4fe576e0a8e1..b9e093b59ac583d4c587f20ce1e2725c3b93a268 100644 (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;
 }