diff -Naru mysql-5.1.34-bak/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp mysql-5.1.34/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp --- mysql-5.1.34-bak/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2009-03-31 16:40:38.000000000 +0200 +++ mysql-5.1.34/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2009-04-20 19:50:32.000000000 +0200 @@ -7522,7 +7522,7 @@ } 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) obj_id = old_ptr_p->m_id; } else { diff -Naru mysql-5.1.34-bak/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp mysql-5.1.34/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp --- mysql-5.1.34-bak/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp 2009-03-31 16:40:47.000000000 +0200 +++ mysql-5.1.34/storage/ndb/src/mgmsrv/InitConfigFileParser.cpp 2009-04-20 19:47:28.000000000 +0200 @@ -209,8 +209,8 @@ char tmpLine[MAX_LINE_LENGTH]; BaseString::snprintf(tmpLine, MAX_LINE_LENGTH, "EXTERNAL SYSTEM_"); - strncat(tmpLine, system, MAX_LINE_LENGTH); - strncat(tmpLine, ":NoOfConnections", MAX_LINE_LENGTH); + strncat(tmpLine, system, MAX_LINE_LENGTH-strlen(tmpLine)-1); + strncat(tmpLine, ":NoOfConnections", MAX_LINE_LENGTH-strlen(tmpLine)-1); ctx.m_config->put(tmpLine, nExtConnections); Config * ret = new Config();