]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Patch to the new memory tracing logic that allows it to build even if
authordrh <drh@noemail.net>
Fri, 28 Mar 2008 12:53:38 +0000 (12:53 +0000)
committerdrh <drh@noemail.net>
Fri, 28 Mar 2008 12:53:38 +0000 (12:53 +0000)
memory debugging is turned off. (CVS 4927)

FossilOrigin-Name: 0a9c63b227b9c6d2bd0e7b491245947ffc83c828

manifest
manifest.uuid
src/test_malloc.c

index e0b9bb464b4da8ffd9718c496f81d66d3ee2ce9a..8ea0cf11701695c09339e03a248a5ea9dcde4935 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C If\smemory\sis\sleaked\swhen\srunning\sa\stest\sscript\swith\sthe\s--malloctrace\soption,\swrite\sout\sa\sfile\scalled\sleaks.sql\sin\sthe\ssame\sformat\sas\smallocs.sql\scontaining\sth\se\sleaked\sapplications.\sThe\ssame\stools\scan\sthen\sbe\sused\sto\sexamine\sthe\sstack\straces\sassociated\swith\sleaked\sallocations.\s(CVS\s4926)
-D 2008-03-28T07:42:54
+C Patch\sto\sthe\snew\smemory\stracing\slogic\sthat\sallows\sit\sto\sbuild\seven\sif\nmemory\sdebugging\sis\sturned\soff.\s(CVS\s4927)
+D 2008-03-28T12:53:38
 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
 F Makefile.in cf434ce8ca902e69126ae0f94fc9f7dc7428a5fa
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -161,7 +161,7 @@ F src/test_devsym.c cee1aecaa90c895030399ca4ae38f84a08038f8a
 F src/test_func.c 9e9b33ff083b65da91c389cece903bc32de06f01
 F src/test_hexio.c 1a1cd8324d57585ea86b922f609fa1fbaaf9662d
 F src/test_loadext.c 22065d601a18878e5542191001f0eaa5d77c0ed8
-F src/test_malloc.c dd79eafc4966d4637acbd9a28b82d2a38eae8aa8
+F src/test_malloc.c 3be391afbfccaeaeba8a5fdb349348d2740cc9cc
 F src/test_md5.c bca40b727c57462ddb415e57c5323445a1bb1a40
 F src/test_onefile.c 2fea6d22f13f5f286356c80c77ffd41f995f2b7a
 F src/test_schema.c 12c9de7661d6294eec2d57afbb52e2af1128084f
@@ -619,7 +619,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 3cb704c4c439425781644b1b653b7e50f02fd91e
-R d37bb7bf406d962e1027710a2ee372e9
-U danielk1977
-Z ad981f759d6865750c0365a2e743adfb
+P f1b97ed93183378ff56b4fe7ae8ea269c24092fc
+R f8436b96b881dc0b3a43307cb3273c3d
+U drh
+Z bd7953b885d6238223aab5e76018f9c2
index 0c9cd92064e2857b0c68ba02080e2fdbd829edc7..9a1dce4ae54c48e63f95ca48145b51eadccbb638 100644 (file)
@@ -1 +1 @@
-f1b97ed93183378ff56b4fe7ae8ea269c24092fc
\ No newline at end of file
+0a9c63b227b9c6d2bd0e7b491245947ffc83c828
\ No newline at end of file
index 09b87fcaaca806ee8c5ff78445ef72d975cf1bbf..33d24bddaffaad1ce22ef8eb92f434ad0db91756 100644 (file)
@@ -13,7 +13,7 @@
 ** This file contains code used to implement test interfaces to the
 ** memory allocation subsystem.
 **
-** $Id: test_malloc.c,v 1.20 2008/03/28 07:42:54 danielk1977 Exp $
+** $Id: test_malloc.c,v 1.21 2008/03/28 12:53:38 drh Exp $
 */
 #include "sqliteInt.h"
 #include "tcl.h"
@@ -636,10 +636,12 @@ static int test_memdebug_log(
     }
 
     case MB_LOG_SYNC: {
+#ifdef SQLITE_MEMDEBUG
       extern void sqlite3MemdebugSync();
       test_memdebug_log_clear();
       mallocLogEnabled = 1;
       sqlite3MemdebugSync();
+#endif
       break;
     }
   }