From: drh Date: Wed, 10 Jun 2009 11:07:00 +0000 (+0000) Subject: Remove a NEVER() that can sometimes occur on an OOM error. (CVS 6744) X-Git-Tag: version-3.6.15~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85119c32adf709066473add83c2192aa14d191a5;p=thirdparty%2Fsqlite.git Remove a NEVER() that can sometimes occur on an OOM error. (CVS 6744) FossilOrigin-Name: c27f23bbafd2e4fa453c8e3b83667ea8173183a7 --- diff --git a/manifest b/manifest index 1ee4c8ebea..a05d3e7c5a 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Minor\stweak\sto\sbalance_quick()\sto\ssave\sa\sfew\sinstructions.\s(CVS\s6743) -D 2009-06-10T09:11:06 +C Remove\sa\sNEVER()\sthat\scan\ssometimes\soccur\son\san\sOOM\serror.\s(CVS\s6744) +D 2009-06-10T11:07:01 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0 F Makefile.in 8b8fb7823264331210cddf103831816c286ba446 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654 @@ -201,7 +201,7 @@ F src/tokenize.c d8c6b39a6056db2b47a212607689dd7ee8031c69 F src/trigger.c c07c5157c58fcdb704f65d5f5e4775276e45bb8b F src/update.c 6ae6c26adff8dc34532d578f66e6cfde04b5d177 F src/utf.c 9541d28f40441812c0b40f00334372a0542c00ff -F src/util.c 8ff385a6b474e840d4fa3621f5f7263028ac892c +F src/util.c 44e9f8b4c1a37cbc739e8c5c4d1eae8308a37da5 F src/vacuum.c 0e14f371ea3326c6b8cfba257286d798cd20db59 F src/vdbe.c 20cf0b0b388685b759077db32002eb0dd3770436 F src/vdbe.h 35a648bc3279a120da24f34d9a25213ec15daf8a @@ -733,7 +733,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/vdbe-compress.tcl 672f81d693a03f80f5ae60bfefacd8a349e76746 -P e9b55ccc8b6d4f21c9c8f8e7ba053475833fc833 -R b6154da6dd88f79ffa10cad6e611f694 -U danielk1977 -Z daa8926ed5a868ea8b7803008aa6961f +P 9ace995910c8b0b9e95dc20fd70be487199e37af +R 2cecd4983d351cd4a46724b94b6d66c5 +U drh +Z ab21f098e14a1ba35a0f308bb93f9a53 diff --git a/manifest.uuid b/manifest.uuid index 27cab431a7..4f5567b828 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -9ace995910c8b0b9e95dc20fd70be487199e37af \ No newline at end of file +c27f23bbafd2e4fa453c8e3b83667ea8173183a7 \ No newline at end of file diff --git a/src/util.c b/src/util.c index 1f22ccee01..2de8d36cf7 100644 --- a/src/util.c +++ b/src/util.c @@ -14,7 +14,7 @@ ** This file contains functions for allocating memory, comparing ** strings, and stuff like that. ** -** $Id: util.c,v 1.258 2009/06/05 14:17:23 drh Exp $ +** $Id: util.c,v 1.259 2009/06/10 11:07:01 drh Exp $ */ #include "sqliteInt.h" #include @@ -108,7 +108,7 @@ int sqlite3IsNaN(double x){ */ int sqlite3Strlen30(const char *z){ const char *z2 = z; - if( NEVER(z==0) ) return 0; + if( z==0 ) return 0; while( *z2 ){ z2++; } return 0x3fffffff & (int)(z2 - z); }