diff options
author | unknown <marko@hundin.mysql.fi> | 2004-02-19 11:40:36 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-02-19 11:40:36 +0200 |
commit | f509ce23d6967d72add3169496acdbe5bf752061 (patch) | |
tree | cc368ef59bb3f26a34ffc9cb5d37f2f3146ef2cd /innobase/mem/mem0dbg.c | |
parent | b01a5e43f3d1a079e90bc972fddb7215ce721e6c (diff) | |
download | mariadb-git-f509ce23d6967d72add3169496acdbe5bf752061.tar.gz |
Many files:
Remove leading whitespace from lines containing preprocessor directives
Makefile.am:
Remove univold.i and univoldmysql.i
innobase/include/Makefile.am:
Remove univold.i and univoldmysql.i
innobase/buf/buf0buf.c:
Remove leading whitespace from lines containing preprocessor directives
innobase/include/mem0mem.ic:
Remove leading whitespace from lines containing preprocessor directives
innobase/include/sync0rw.ic:
Remove leading whitespace from lines containing preprocessor directives
innobase/include/sync0sync.ic:
Remove leading whitespace from lines containing preprocessor directives
innobase/include/ut0rnd.ic:
Remove leading whitespace from lines containing preprocessor directives
innobase/mem/mem0dbg.c:
Remove leading whitespace from lines containing preprocessor directives
innobase/mem/mem0mem.c:
Remove leading whitespace from lines containing preprocessor directives
innobase/sync/sync0rw.c:
Remove leading whitespace from lines containing preprocessor directives
innobase/sync/sync0sync.c:
Remove leading whitespace from lines containing preprocessor directives
Diffstat (limited to 'innobase/mem/mem0dbg.c')
-rw-r--r-- | innobase/mem/mem0dbg.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/innobase/mem/mem0dbg.c b/innobase/mem/mem0dbg.c index 22d0bab0da2..93efbcfd317 100644 --- a/innobase/mem/mem0dbg.c +++ b/innobase/mem/mem0dbg.c @@ -406,12 +406,12 @@ mem_heap_validate_or_print( ulint total_len = 0; ulint block_count = 0; ulint phys_len = 0; - #ifdef UNIV_MEM_DEBUG +#ifdef UNIV_MEM_DEBUG ulint len; byte* field; byte* user_field; ulint check_field; - #endif +#endif /* Pessimistically, we set the parameters to error values */ if (us_size != NULL) { @@ -446,7 +446,7 @@ mem_heap_validate_or_print( return; } - #ifdef UNIV_MEM_DEBUG +#ifdef UNIV_MEM_DEBUG /* We can trace the fields of the block only in the debug version */ if (print) { @@ -502,7 +502,7 @@ mem_heap_validate_or_print( return; } - #endif +#endif block = UT_LIST_GET_NEXT(list, block); block_count++; @@ -714,7 +714,7 @@ mem_all_freed(void) /*===============*/ /* out: TRUE if no heaps exist */ { - #ifdef UNIV_MEM_DEBUG +#ifdef UNIV_MEM_DEBUG mem_hash_node_t* node; ulint heap_count = 0; @@ -744,14 +744,14 @@ mem_all_freed(void) return(FALSE); } - #else +#else printf( "Sorry, non-debug version cannot check if all memory is freed.\n"); return(FALSE); - #endif +#endif } /********************************************************************* @@ -762,7 +762,7 @@ mem_validate_no_assert(void) /*========================*/ /* out: TRUE if error */ { - #ifdef UNIV_MEM_DEBUG +#ifdef UNIV_MEM_DEBUG mem_hash_node_t* node; ulint n_heaps = 0; @@ -823,13 +823,13 @@ mem_validate_no_assert(void) return(error); - #else +#else printf("Sorry, non-debug version cannot validate dynamic memory\n"); return(FALSE); - #endif +#endif } /**************************************************************** |