diff options
author | Tim Potter <tpot@samba.org> | 2001-11-09 01:26:13 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-09 01:26:13 +0000 |
commit | dad688d8c6b3c98173a846ad833599a4016d2e1a (patch) | |
tree | 5d4cba5bee0be351cfb50d41107c7daa5bd5bb50 /source/tdb/tdbtool.c | |
parent | 62f4e4bd0aef9ade653b3f8d575d2864c166ab4d (diff) | |
download | samba-dad688d8c6b3c98173a846ad833599a4016d2e1a.tar.gz samba-dad688d8c6b3c98173a846ad833599a4016d2e1a.tar.xz samba-dad688d8c6b3c98173a846ad833599a4016d2e1a.zip |
Removed #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()
so that tdbtool can be compiled without having to make clean.
Diffstat (limited to 'source/tdb/tdbtool.c')
-rw-r--r-- | source/tdb/tdbtool.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source/tdb/tdbtool.c b/source/tdb/tdbtool.c index 871dd7d641e..86b534fb017 100644 --- a/source/tdb/tdbtool.c +++ b/source/tdb/tdbtool.c @@ -113,13 +113,9 @@ tdbtool: store key data : store a record (replace) show key : show a record by key delete key : delete a record by key -" -#ifdef TDB_DEBUG -" list : print the database hash table and freelist + list : print the database hash table and freelist free : print the database freelist -" -#endif -" 1 | first : print the first record + 1 | first : print the first record n | next : print the next record q | quit : terminate \\n : repeat 'next' command @@ -436,12 +432,10 @@ int main(int argc, char *argv[]) } else if (strcmp(tok,"dump") == 0) { bIterate = 0; tdb_traverse(tdb, print_rec, NULL); -#ifdef TDB_DEBUG } else if (strcmp(tok,"list") == 0) { tdb_dump_all(tdb); } else if (strcmp(tok, "free") == 0) { tdb_printfreelist(tdb); -#endif } else if (strcmp(tok,"info") == 0) { info_tdb(); } else if ( (strcmp(tok, "1") == 0) || |