summaryrefslogtreecommitdiff
path: root/innobase/mem
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-05-27 15:27:43 +0300
committermarko@hundin.mysql.fi <>2004-05-27 15:27:43 +0300
commitfc85c80b88c0717684184f22a91f8b027a8f8559 (patch)
tree566268309e7e64b4e2f6a23700e7b8623521cbbd /innobase/mem
parente27322d8264c56e2f86435c6f6b1f80dbb448f1c (diff)
downloadmariadb-git-fc85c80b88c0717684184f22a91f8b027a8f8559.tar.gz
InnoDB cleanup:
Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE Remove (char*) casts of string constants; add const qualifiers Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
Diffstat (limited to 'innobase/mem')
-rw-r--r--innobase/mem/mem0dbg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/innobase/mem/mem0dbg.c b/innobase/mem/mem0dbg.c
index 5ace0441180..d86784cb048 100644
--- a/innobase/mem/mem0dbg.c
+++ b/innobase/mem/mem0dbg.c
@@ -33,7 +33,7 @@ struct mem_hash_node_struct {
UT_LIST_NODE_T(mem_hash_node_t)
list; /* hash list node */
mem_heap_t* heap; /* memory heap */
- char* file_name;/* file where heap was created*/
+ const char* file_name;/* file where heap was created*/
ulint line; /* file line of creation */
ulint nth_heap;/* this is the nth heap created */
UT_LIST_NODE_T(mem_hash_node_t)
@@ -266,7 +266,7 @@ void
mem_hash_insert(
/*============*/
mem_heap_t* heap, /* in: the created heap */
- char* file_name, /* in: file name of creation */
+ const char* file_name, /* in: file name of creation */
ulint line) /* in: line where created */
{
mem_hash_node_t* new_node;
@@ -309,7 +309,7 @@ void
mem_hash_remove(
/*============*/
mem_heap_t* heap, /* in: the heap to be freed */
- char* file_name, /* in: file name of freeing */
+ const char* file_name, /* in: file name of freeing */
ulint line) /* in: line where freed */
{
mem_hash_node_t* node;