Remove an unnecessary conditional from the sqlite3DecOrHexToI64() routine.

FossilOrigin-Name: fcf85bfe50b254e825ee63a4cd0aa0b333b06eed
This commit is contained in:
drh 2016-04-28 03:52:18 +00:00
parent 609d5846ba
commit 10c0a2a7c9
3 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Change\sthe\ssqlite3Atoi64()\sroutine\sso\sthat\sit\sreturns\sfailure\sif\snot\sall\sof\nthe\sinput\scharacters\sare\sconsumed,\seven\sif\sit\sconsumed\sall\scharacters\sup\sto\nthe\sfirst\s0x00.\s\sThis\shas\sno\simpact\son\sexternal\sAPIs\sas\sfar\sas\sI\scan\stell.
D 2016-04-28T00:32:16.814
C Remove\san\sunnecessary\sconditional\sfrom\sthe\ssqlite3DecOrHexToI64()\sroutine.
D 2016-04-28T03:52:18.237
F Makefile.in 9e816d0323e418fbc0f8b2c05fc14e0b3763d9e8
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc 71b8b16cf9393f68e2e2035486ca104872558836
@ -441,7 +441,7 @@ F src/treeview.c e4b41a37530a191579d3c53142cc44ee2eb99373
F src/trigger.c e14840ee0c3e549e758ec9bf3e4146e166002280
F src/update.c 3e67ab3c0814635f355fb1f8ab010a2b9e016e7d
F src/utf.c 699001c79f28e48e9bcdf8a463da029ea660540c
F src/util.c 1d2f9cc9ea43c5bc9a3b7e29b953001b0e85f5c7
F src/util.c 41cac9db948cd1f746636cc6a0c60d4234d4053f
F src/vacuum.c feb1eabb20987983d9350cad98299b21fa811f52
F src/vdbe.c d3843a66d74a7696477ee5141e5eb9a7e5e2401c
F src/vdbe.h 5591b5add447096e31288b5a0a78ec5d7b5c5170
@ -1484,7 +1484,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 0065fe97cb8e5076acae1bf1560fd2f69dab9014
R 3ff6e84daa3c00c689a29794b4bf7803
P 46d4ffff3bd33d7e901e76cfac1cbde38d4f61d0
R 229317c8b5ac201d05335df0607fe343
U drh
Z 1cade5a69af13a9b74de489bf6c2518b
Z 98856d3d087818ace0a186a1d76b304b

View File

@ -1 +1 @@
46d4ffff3bd33d7e901e76cfac1cbde38d4f61d0
fcf85bfe50b254e825ee63a4cd0aa0b333b06eed

View File

@ -658,7 +658,6 @@ int sqlite3DecOrHexToI64(const char *z, i64 *pOut){
#ifndef SQLITE_OMIT_HEX_INTEGER
if( z[0]=='0'
&& (z[1]=='x' || z[1]=='X')
&& sqlite3Isxdigit(z[2])
){
u64 u = 0;
int i, k;