diff options
author | kaa@polly.local <> | 2005-09-27 13:37:20 +0400 |
---|---|---|
committer | kaa@polly.local <> | 2005-09-27 13:37:20 +0400 |
commit | 5b92eb3eba45751a9262aaea1762523f2166a54f (patch) | |
tree | d3e4f9ee16c01f3b8ee6513745dc32a45978251b /innobase/trx/trx0sys.c | |
parent | f2922d136683f5863f4ab83d73795a75f2b5003d (diff) | |
download | mariadb-git-5b92eb3eba45751a9262aaea1762523f2166a54f.tar.gz |
Fix for bug #13367, post-review changes
Diffstat (limited to 'innobase/trx/trx0sys.c')
-rw-r--r-- | innobase/trx/trx0sys.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/innobase/trx/trx0sys.c b/innobase/trx/trx0sys.c index bf48c30e942..23f1dc40d00 100644 --- a/innobase/trx/trx0sys.c +++ b/innobase/trx/trx0sys.c @@ -126,22 +126,6 @@ trx_doublewrite_init( } /******************************************************************** -Frees the doublewrite buffer. */ -static -void -trx_doublewrite_free(void) -/*======================*/ -{ - mutex_free(&(trx_doublewrite->mutex)); - - mem_free(trx_doublewrite->buf_block_arr); - ut_free(trx_doublewrite->write_buf_unaligned); - - mem_free(trx_doublewrite); - trx_doublewrite = NULL; -} - -/******************************************************************** Marks the trx sys header when we have successfully upgraded to the >= 4.1.x multiple tablespace format. */ @@ -529,9 +513,6 @@ trx_sys_doublewrite_init_or_restore_pages( fil_flush_file_spaces(FIL_TABLESPACE); - if (!srv_use_doublewrite_buf) - trx_doublewrite_free(); - leave_func: ut_free(unaligned_read_buf); } |