List:Commits« Previous MessageNext Message »
From:Frazer Clement Date:March 12 2009 12:06pm
Subject:bzr commit into mysql-5.1-telco-6.2 branch (frazer:2867) Bug#40528
View as plain text  
#At file:///home/frazer/bzr/mysql-5.1-telco-6.2/

 2867 Frazer Clement	2009-03-12
      Bug#40528 : NdbDictionaryImpl::setNull() incorrect setting of isNullable.
      modified:
        storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp

=== modified file 'storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp'
--- a/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp	2009-02-25 15:59:27 +0000
+++ b/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp	2009-03-12 12:06:03 +0000
@@ -6140,7 +6140,7 @@ NdbDictionaryImpl::setNull(const NdbReco
       assert(attrIdIndex < (int)record->noOfColumns);
       NdbRecord::Attr attr= record->columns[attrIdIndex];
       
-      if (record->flags & NdbRecord::IsNullable)
+      if (attr.flags & NdbRecord::IsNullable)
       {
         if (value)
           *(row + attr.nullbit_byte_offset) |= 

Thread
bzr commit into mysql-5.1-telco-6.2 branch (frazer:2867) Bug#40528Frazer Clement12 Mar