]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
In the shell tool, avoid testing if (sqlite3_vfs.xGetCurrentInt64) is NULL for a...
authordan <dan@noemail.net>
Mon, 16 Nov 2015 08:54:10 +0000 (08:54 +0000)
committerdan <dan@noemail.net>
Mon, 16 Nov 2015 08:54:10 +0000 (08:54 +0000)
FossilOrigin-Name: ad5fcaa583ef743d143b6c030e0d78019709fe71

manifest
manifest.uuid
src/shell.c

index 7784ab59faa8cf069cc27b9dca97371ba9b964da..fb4d5c08ebcfb2f78c0b4d89ad9dd241132bc54f 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sthe\scolumn\sname\suniquifier\sso\sthat\sit\sworks\swith\szero-length\scolumn\snames.
-D 2015-11-15T11:13:49.647
+C In\sthe\sshell\stool,\savoid\stesting\sif\s(sqlite3_vfs.xGetCurrentInt64)\sis\sNULL\sfor\sa\sversion\s1\sVFS.\sThis\sfield\sis\sonly\sdefined\sfor\sversion\s2\sand\sgreater.
+D 2015-11-16T08:54:10.841
 F Makefile.in d828db6afa6c1fa060d01e33e4674408df1942a1
 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
 F Makefile.msc e928e68168df69b353300ac87c10105206653a03
@@ -340,7 +340,7 @@ F src/random.c ba2679f80ec82c4190062d756f22d0c358180696
 F src/resolve.c 1954a0f01bf65d78d7d559aea3d5c67f33376d91
 F src/rowset.c eccf6af6d620aaa4579bd3b72c1b6395d9e9fa1e
 F src/select.c 4c58ae319df6862e5ea237e757b5d317c4491798
-F src/shell.c acefb4593a9bf0338a757c968f1f1bb05690d830
+F src/shell.c 0092cd4e1da5322b7bc35bedbec1f0dea627451e
 F src/sqlite.h.in fa62718f73553f06b2f2e362fd09ccb4e1cbb626
 F src/sqlite3.rc 992c9f5fb8285ae285d6be28240a7e8d3a7f2bad
 F src/sqlite3ext.h 4b66e3e3435da4b4c8c83696d0349f0c503b3924
@@ -1403,7 +1403,7 @@ F tool/vdbe_profile.tcl 246d0da094856d72d2c12efec03250d71639d19f
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 9272426057b6cb2d913519ff4c97aa6e211f7d51
-R a974c67769be53d36ddc37d671cc0607
-U drh
-Z f40155003991429935f69f917db4e724
+P 791761ebac26c82ab67bdf867117ec5b5d8b20b0
+R a635725b446415a63ce3c96185f06f0a
+U dan
+Z ecc9df21b64c8edc0682f60d01379dbf
index 571a15823ae042e3ad38eb4c4552545df097cf71..19652556ca91614dd24236ca14c00b3f3586022e 100644 (file)
@@ -1 +1 @@
-791761ebac26c82ab67bdf867117ec5b5d8b20b0
\ No newline at end of file
+ad5fcaa583ef743d143b6c030e0d78019709fe71
\ No newline at end of file
index 7c53995799b64be2ba7947faa68d352c4a9fdc65..84f693300fec24c5027228c69c8089eb1b3f57bc 100644 (file)
@@ -165,7 +165,7 @@ static sqlite3_int64 timeOfDay(void){
   static sqlite3_vfs *clockVfs = 0;
   sqlite3_int64 t;
   if( clockVfs==0 ) clockVfs = sqlite3_vfs_find(0);
-  if( clockVfs->iVersion>=1 && clockVfs->xCurrentTimeInt64!=0 ){
+  if( clockVfs->iVersion>=2 && clockVfs->xCurrentTimeInt64!=0 ){
     clockVfs->xCurrentTimeInt64(clockVfs, &t);
   }else{
     double r;