From: drh Date: Wed, 17 Feb 2016 20:47:24 +0000 (+0000) Subject: When VDBE opcodes fail, they cause an immediate exit from the loop, rather X-Git-Tag: version-3.12.0~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f149e5173e2db9ed996aea0e48e87deea15eb92;p=thirdparty%2Fsqlite.git When VDBE opcodes fail, they cause an immediate exit from the loop, rather than depending on the rc==SQLITE_OK test at the top of the loop. This is faster and smaller. FossilOrigin-Name: 24c7151c1aabeaffcb8bb5836404e70a3ec4681b --- 7f149e5173e2db9ed996aea0e48e87deea15eb92 diff --cc manifest index 4c47b0808e,1a41847dd1..b21fdb1ca1 --- a/manifest +++ 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 b7dbf86410,9c9d81be2b..adcedef80e --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - c17d7276b8c114df5fe6e9ea14d59758443c281b -a444633a827642bcf4d02a461e7e5f66769d39fd ++24c7151c1aabeaffcb8bb5836404e70a3ec4681b