MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Frazer Clement Date:June 1 2009 3:19pm
Subject:bzr commit into mysql-5.1-telco-7.1 branch (frazer:2888)
View as plain text  
#At file:///home/frazer/bzr/mysql-5.1-telco-7.1/

 2888 Frazer Clement	2009-06-01
      Fix compile error
      modified:
        storage/ndb/src/ndbapi/NdbDictionary.cpp

=== modified file 'storage/ndb/src/ndbapi/NdbDictionary.cpp'
--- a/storage/ndb/src/ndbapi/NdbDictionary.cpp	2009-06-01 14:57:25 +0000
+++ b/storage/ndb/src/ndbapi/NdbDictionary.cpp	2009-06-01 15:18:56 +0000
@@ -2878,7 +2878,7 @@ NdbDictionary::printFormattedValue(NdbOu
     break;
     case NdbDictionary::Column::Date:
     {
-      uint32 tmp=(uint32) uint3korr(val);
+      uint32 tmp=(uint32) uint3korr(val_p);
       int part;
       char buf[40];
       char *pos=(char*) buf+10;
@@ -2948,7 +2948,7 @@ NdbDictionary::printFormattedValue(NdbOu
     case NdbDictionary::Column::Longvarchar:
     {
       out << fields_optionally_enclosed_by;
-      unsigned len = uint2korr(val);
+      unsigned len = uint2korr(val_p);
       pretty_print_string(out,format,"Longvarchar", false, 
                           val_p+2,len);
       j = length;

Thread
bzr commit into mysql-5.1-telco-7.1 branch (frazer:2888)Frazer Clement1 Jun