diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2005-10-03 11:49:06 +0200 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2005-10-03 11:49:06 +0200 |
commit | eaeb04a7b10635d92e074a95cd2d29f02034ca9f (patch) | |
tree | dfc301b54cae6851002265d4d37c64c69a959126 /ndb/src/mgmsrv | |
parent | 05df35e3d67ce8519e3281be29b599c3283db039 (diff) | |
download | mariadb-git-eaeb04a7b10635d92e074a95cd2d29f02034ca9f.tar.gz |
ndb - mysql-test-run ndb_config
Fix 32/64 bit insecure code
ndb/src/mgmsrv/InitConfigFileParser.cpp:
Fix 32/64 bit insecure/useless code
Diffstat (limited to 'ndb/src/mgmsrv')
-rw-r--r-- | ndb/src/mgmsrv/InitConfigFileParser.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ndb/src/mgmsrv/InitConfigFileParser.cpp b/ndb/src/mgmsrv/InitConfigFileParser.cpp index 233458ddf83..94f07ab0ca1 100644 --- a/ndb/src/mgmsrv/InitConfigFileParser.cpp +++ b/ndb/src/mgmsrv/InitConfigFileParser.cpp @@ -773,14 +773,10 @@ InitConfigFileParser::parse_mycnf() case ConfigInfo::CI_INT: opt.value = (gptr*)malloc(sizeof(int)); opt.var_type = GET_INT; - require(convertStringToUint64(param._min, (Uint64&)opt.min_value)); - require(convertStringToUint64(param._max, (Uint64&)opt.max_value)); break; case ConfigInfo::CI_INT64: opt.value = (gptr*)malloc(sizeof(Int64)); opt.var_type = GET_LL; - require(convertStringToUint64(param._min, (Uint64&)opt.min_value)); - require(convertStringToUint64(param._max, (Uint64&)opt.max_value)); break; case ConfigInfo::CI_STRING: opt.value = (gptr*)malloc(sizeof(char *)); |