List:Commits« Previous MessageNext Message »
From:John David Duncan Date:April 30 2011 2:23pm
Subject:bzr push into mysql-5.1-telco-7.2 branch (john.duncan:4170 to 4171)
View as plain text  
 4171 John David Duncan	2011-04-30
      Fix for stack-corrupting, crashing bug when reading uint64 columns.

    modified:
      storage/ndb/memcache/src/Record.cc
 4170 John David Duncan	2011-04-28
      Some shells do not allow "return -1"

    modified:
      storage/ndb/memcache/sandbox.sh.in
=== 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;
   

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-7.2 branch (john.duncan:4170 to 4171) John David Duncan30 Apr