#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@strippedqenx1t4dwh
3108 Magnus Blåudd 2009-10-09
Bug#47944 ndb_mgmd config diff printout for larger numbers failure
- Fix format specifier to printout the unisgned number as unsigned
modified:
storage/ndb/src/mgmsrv/Config.cpp
=== modified file 'storage/ndb/src/mgmsrv/Config.cpp'
--- a/storage/ndb/src/mgmsrv/Config.cpp 2009-09-25 08:17:10 +0000
+++ b/storage/ndb/src/mgmsrv/Config.cpp 2009-10-09 12:47:49 +0000
@@ -607,14 +607,14 @@ p2s(const Properties* prop, const char*
{
Uint32 val;
require(prop->get(name, &val));
- buf.assfmt("%d", val);
+ buf.assfmt("%u", val);
break;
}
case PropertiesType_Uint64:
{
Uint64 val;
require(prop->get(name, &val));
- buf.assfmt("%lld", val);
+ buf.assfmt("%llu", val);
break;
}
case PropertiesType_char:
Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20091009124749-2x5mbr1dae49ewyb.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3108)Bug#47944 | Magnus Blåudd | 9 Oct |