]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
When VDBE opcodes fail, they cause an immediate exit from the loop, rather
authordrh <drh@noemail.net>
Wed, 17 Feb 2016 20:47:24 +0000 (20:47 +0000)
committerdrh <drh@noemail.net>
Wed, 17 Feb 2016 20:47:24 +0000 (20:47 +0000)
than depending on the rc==SQLITE_OK test at the top of the loop.  This is
faster and smaller.

FossilOrigin-Name: 24c7151c1aabeaffcb8bb5836404e70a3ec4681b

1  2 
manifest
manifest.uuid

diff --cc manifest
index 4c47b0808eb6712c8f23ac9086ea06003fe48604,1a41847dd172c55554f84dda41d42acd10c386a6..b21fdb1ca1c2c5bb6cc8460efbe5054dc6f66aa3
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Bump\sthe\sversion\snumber\sto\s3.12.0.
- D 2016-02-17T15:01:18.374
 -C Fix\sup\sall\sVDBE\sopcodes\sso\sthat\sthey\scause\san\simmediate\sexit\son\sany\skind\sof\nerror,\sand\sthereby\seliminate\sthe\sneed\sto\stest\s"rc"\sat\sthe\stop\sof\sthe\sloop.\nResulting\scode\sis\sa\slittle\ssmaller\sand\sfaster.
 -D 2016-02-17T18:44:11.129
++C When\sVDBE\sopcodes\sfail,\sthey\scause\san\simmediate\sexit\sfrom\sthe\sloop,\srather\nthan\sdepending\son\sthe\src==SQLITE_OK\stest\sat\sthe\stop\sof\sthe\sloop.\s\sThis\sis\nfaster\sand\ssmaller.
++D 2016-02-17T20:47:24.973
  F Makefile.in 4e90dc1521879022aa9479268a4cd141d1771142
  F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
  F Makefile.msc 30f075dc4f27a07abb76088946b2944178d85347
@@@ -1428,7 -1428,10 +1428,8 @@@ F tool/vdbe_profile.tcl 246d0da094856d7
  F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
  F tool/warnings.sh a98af506df552f3b3c0d904f94e4cdc4e1a6d598
  F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
- P 87e6e225aea3a4d10476d16eab4a6403a4a128c9
- R c239316472226b2429c7b466d6a49ed7
 -P c17d7276b8c114df5fe6e9ea14d59758443c281b
++P c17d7276b8c114df5fe6e9ea14d59758443c281b a444633a827642bcf4d02a461e7e5f66769d39fd
+ R 99549bba2f02d5e0c4a44abe6153e853
 -T *branch * vdbe-performance
 -T *sym-vdbe-performance *
 -T -sym-trunk *
++T +closed a444633a827642bcf4d02a461e7e5f66769d39fd
  U drh
- Z 28d335fbd5135b0e539f7ad24d2e095e
 -Z 63c3fbdaa7e2321f71ac02a9835490a1
++Z fc76c9d80b0512ba6c14a32a0f780946
diff --cc manifest.uuid
index b7dbf86410ab465a731412c3144a2487b66bab18,9c9d81be2b2e108cbf2dd69d167eaca14dafb41c..adcedef80e35766860fcb2d529135ae8c681ee37
@@@ -1,1 -1,1 +1,1 @@@
- c17d7276b8c114df5fe6e9ea14d59758443c281b
 -a444633a827642bcf4d02a461e7e5f66769d39fd
++24c7151c1aabeaffcb8bb5836404e70a3ec4681b