List:Commits« Previous MessageNext Message »
From:John David Duncan Date:April 30 2011 2:21pm
Subject:bzr commit into mysql-5.1-telco-7.2 branch (john.duncan:4171)
View as plain text  
#At file:///Users/jdd/bzr-repo/working/cluster-7.2-labs-memcached/ based on revid:john.duncan@stripped

 4171 John David Duncan	2011-04-30
      Fix for stack-corrupting, crashing bug when reading uint64 columns.

    modified:
      storage/ndb/memcache/src/Record.cc
=== modified file 'storage/ndb/memcache/src/Record.cc'
--- a/storage/ndb/memcache/src/Record.cc	2011-04-07 11:35:53 +0000
+++ b/storage/ndb/memcache/src/Record.cc	2011-04-30 14:20:42 +0000
@@ -223,7 +223,7 @@ bool Record::setUint64Value(int idx, Uin
 
 
 Uint64 Record::getUint64Value(int idx, char *data) const {
-  int i = 0;
+  Uint64 i = 0;
   size_t sz = handlers[col[idx]]->direct_int_size;
   char * src_buffer = data + specs[col[idx]].offset;
   


Attachment: [text/bzr-bundle] bzr/john.duncan@oracle.com-20110430142042-021t05e5v9bddnra.bundle
Thread
bzr commit into mysql-5.1-telco-7.2 branch (john.duncan:4171) John David Duncan30 Apr