summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Sandberg <sven.sandberg@oracle.com>2010-11-08 14:52:10 +0100
committerSven Sandberg <sven.sandberg@oracle.com>2010-11-08 14:52:10 +0100
commit42e133e74e6f7e6adcf15afaa7bae1449c42ebbb (patch)
tree1900d1061db87cb0078219873c38439de3b476ae
parent2e7b7d07bf33fff85493f5d15677b7be381e752a (diff)
downloadmariadb-git-42e133e74e6f7e6adcf15afaa7bae1449c42ebbb.tar.gz
Fixed compilation error.
storage/ndb/src/mgmsrv/InitConfigFileParser.cpp: Added 'const' to fix compilation error.
-rw-r--r--storage/ndb/src/mgmsrv/InitConfigFileParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp b/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
index 560a9559999..7493e5e9c89 100644
--- a/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
+++ b/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
@@ -702,7 +702,7 @@ load_defaults(Vector<struct my_option>& options, const char* groups[])
BaseString group_suffix;
const char *save_file = my_defaults_file;
- char *save_extra_file = my_defaults_extra_file;
+ const char *save_extra_file = my_defaults_extra_file;
const char *save_group_suffix = my_defaults_group_suffix;
if (my_defaults_file)