]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Remove a NEVER() that can sometimes occur on an OOM error. (CVS 6744)
authordrh <drh@noemail.net>
Wed, 10 Jun 2009 11:07:00 +0000 (11:07 +0000)
committerdrh <drh@noemail.net>
Wed, 10 Jun 2009 11:07:00 +0000 (11:07 +0000)
FossilOrigin-Name: c27f23bbafd2e4fa453c8e3b83667ea8173183a7

manifest
manifest.uuid
src/util.c

index 1ee4c8ebeacca7daed16cc6575cc346261b01976..a05d3e7c5aff0c0c3b9bf58bbc316a53765d48c6 100644 (file)
--- 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
index 27cab431a76f2f254a23a9259ef3a342e37c5265..4f5567b828b801aa7b63e563a5ce9e3669ca8fa4 100644 (file)
@@ -1 +1 @@
-9ace995910c8b0b9e95dc20fd70be487199e37af
\ No newline at end of file
+c27f23bbafd2e4fa453c8e3b83667ea8173183a7
\ No newline at end of file
index 1f22ccee012fd13b5a422ef897d98f485e800407..2de8d36cf7922fe08d423dc721e67a0f48b405e1 100644 (file)
@@ -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 <stdarg.h>
@@ -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);
 }