#At file:///home/zhl/mysql/mysql-5.1-telco-6.3-bug39540/
2787 Leonard Zhou 2008-12-15
BUG#39540 Correc 'ndb_restore' tool
modified:
storage/ndb/tools/restore/Restore.cpp
per-file messages:
storage/ndb/tools/restore/Restore.cpp
Don't twiddle if the data size is 0
=== modified file 'storage/ndb/tools/restore/Restore.cpp'
--- a/storage/ndb/tools/restore/Restore.cpp 2008-09-19 06:45:00 +0000
+++ b/storage/ndb/tools/restore/Restore.cpp 2008-12-15 11:23:08 +0000
@@ -1643,7 +1643,8 @@ RestoreLogIterator::getNextLogEntry(int
attr->Data.void_value = ah->getDataPtr();
}
- Twiddle(attr->Desc, &(attr->Data));
+ if(sz != 0)
+ Twiddle(attr->Desc, &(attr->Data));
ah = ah->getNext();
}
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (zhou.li:2787) Bug#39540 | Leonard Zhou | 15 Dec |