Commit a04801b6 authored by Mattias Jonsson's avatar Mattias Jonsson

merge to update with latest mysql-5.1-bugteam

parents 02585b60 dfcbeee1
...@@ -70,6 +70,11 @@ check_cpu () { ...@@ -70,6 +70,11 @@ check_cpu () {
Alpha*EV6*) Alpha*EV6*)
cpu_arg="ev6"; cpu_arg="ev6";
;; ;;
#Core 2 Duo
*Intel*Core\(TM\)2*)
cpu_arg="nocona"
core2="yes"
;;
# Intel ia32 # Intel ia32
*Intel*Core*|*X[eE][oO][nN]*) *Intel*Core*|*X[eE][oO][nN]*)
# a Xeon is just another pentium4 ... # a Xeon is just another pentium4 ...
...@@ -134,10 +139,6 @@ check_cpu () { ...@@ -134,10 +139,6 @@ check_cpu () {
*i386*) *i386*)
cpu_arg="i386" cpu_arg="i386"
;; ;;
#Core 2 Duo
*Intel*Core\(TM\)2*)
cpu_arg="nocona"
;;
# Intel ia64 # Intel ia64
*Itanium*) *Itanium*)
cpu_arg="itanium" cpu_arg="itanium"
......
...@@ -7521,8 +7521,8 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal) ...@@ -7521,8 +7521,8 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
return; return;
} }
releaseSections(signal); releaseSections(signal);
DictObject * old_ptr_p = old_ptr_p = get_object(tableName, len); DictObject * old_ptr_p = get_object(tableName, len);
if(old_ptr_p) if(old_ptr_p)
obj_id = old_ptr_p->m_id; obj_id = old_ptr_p->m_id;
} else { } else {
......
...@@ -208,11 +208,10 @@ InitConfigFileParser::run_config_rules(Context& ctx) ...@@ -208,11 +208,10 @@ InitConfigFileParser::run_config_rules(Context& ctx)
ctx.m_config->put("NoOfNodes", nNodes); ctx.m_config->put("NoOfNodes", nNodes);
char tmpLine[MAX_LINE_LENGTH]; char tmpLine[MAX_LINE_LENGTH];
BaseString::snprintf(tmpLine, MAX_LINE_LENGTH, "EXTERNAL SYSTEM_"); BaseString::snprintf(tmpLine, MAX_LINE_LENGTH,
strncat(tmpLine, system, MAX_LINE_LENGTH); "EXTERNAL SYSTEM_%s:NoOfConnections", system);
strncat(tmpLine, ":NoOfConnections", MAX_LINE_LENGTH);
ctx.m_config->put(tmpLine, nExtConnections); ctx.m_config->put(tmpLine, nExtConnections);
Config * ret = new Config(); Config * ret = new Config();
ret->m_configValues = (struct ndb_mgm_configuration*)ctx.m_configValues.getConfigValues(); ret->m_configValues = (struct ndb_mgm_configuration*)ctx.m_configValues.getConfigValues();
ret->m_oldConfig = ctx.m_config; ctx.m_config = 0; ret->m_oldConfig = ctx.m_config; ctx.m_config = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment