#At file:///home/jonas/src/telco-6.3/
2867 Jonas Oreland 2009-02-19 [merge]
merge 62 to 63
modified:
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
=== modified file 'storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp'
--- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2009-02-19 10:04:13 +0000
+++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2009-02-19 12:14:33 +0000
@@ -4979,7 +4979,7 @@ void Dbdict::printTables()
DLHashTable<DictObject>::Iterator iter;
bool moreTables = c_obj_hash.first(iter);
printf("OBJECTS IN DICT:\n");
- char name[MAX_TAB_NAME_SIZE];
+ char name[PATH_MAX];
while (moreTables) {
Ptr<DictObject> tablePtr = iter.curr;
ConstRope r(c_rope_pool, tablePtr.p->m_name);
@@ -8118,7 +8118,7 @@ void Dbdict::sendOLD_LIST_TABLES_CONF(Si
pos = 0;
}
Uint32 i = 0;
- char tmp[MAX_TAB_NAME_SIZE];
+ char tmp[PATH_MAX];
name.copy(tmp);
while (i < size) {
char* p = (char*)&conf->tableData[pos];
@@ -8178,7 +8178,7 @@ void Dbdict::sendLIST_TABLES_CONF(Signal
*/
ListTablesData ltd;
const Uint32 listTablesDataSizeInWords = (sizeof(ListTablesData) + 3) / 4;
- char tname[MAX_TAB_NAME_SIZE];
+ char tname[PATH_MAX];
SimplePropertiesSectionWriter tableDataWriter(getSectionSegmentPool());
SimplePropertiesSectionWriter tableNamesWriter(getSectionSegmentPool());
@@ -17051,7 +17051,7 @@ Dbdict::create_file_prepare_complete(Sig
ndbrequire(false);
}
- char name[MAX_TAB_NAME_SIZE];
+ char name[PATH_MAX];
ConstRope tmp(c_rope_pool, f_ptr.p->m_path);
tmp.copy(name);
LinearSectionPtr ptr[3];
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.3 branch (jonas:2867) | Jonas Oreland | 19 Feb |