Remove references to dmalloc

There are more modern tools for memory debugging, get rid of DMALLOC
crap in the source code.

I've left one reference in backend.c to prevent a merge conflict but
this can be removed later.
This commit is contained in:
Evan Miller
2020-08-20 08:59:08 -04:00
parent c2087a95cc
commit 90ee7bfcb5
24 changed files with 0 additions and 97 deletions

View File

@@ -21,10 +21,6 @@
#include "mdbtools.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
int
main (int argc, char **argv)
{

View File

@@ -18,10 +18,6 @@
#include "mdbtools.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
#undef MDB_BIND_SIZE
#define MDB_BIND_SIZE 200000

View File

@@ -22,10 +22,6 @@
#include <string.h>
#include "mdbtools.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
void copy_header (FILE *f)
{
fprintf (f, "/******************************************************************/\n");

View File

@@ -24,10 +24,6 @@
#include <stdlib.h>
#include <string.h>
#ifdef DMALLOC
#include "dmalloc.h"
#endif
#define FILENAMESIZE 128
#define BUFFERSIZE 4096
#define LF 10

View File

@@ -19,10 +19,6 @@
/* this utility dumps the schema for an existing database */
#include "mdbtools.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
int
main (int argc, char **argv)
{

View File

@@ -47,10 +47,6 @@ extern void clear_history ();
#include <string.h>
#include "mdbsql.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
void dump_results(FILE *out, MdbSQL *sql, char *delimiter);
void dump_results_pp(FILE *out, MdbSQL *sql);

View File

@@ -20,10 +20,6 @@
#include "mdbtools.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
struct type_struct {
char *name;
int value;

View File

@@ -21,10 +21,6 @@
#include "mdbver.h"
#include "mdbprivate.h"
#ifdef DMALLOC
#include "dmalloc.h"
#endif
int
main(int argc, char **argv)
{