Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-03-07 17:34:04+01:00, jonas@stripped +1 -0
ndb -
move declarations to remove warnings/errors on some compilers
(gcc on sapsrv barfs, my doesnt even warn...)
storage/ndb/src/ndbapi/Ndb.cpp@stripped, 2007-03-07 17:34:02+01:00, jonas@stripped +7 -4
move declarations to remove warnings/errors on some compilers
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: jonas
# Host: perch.ndb.mysql.com
# Root: /home/jonas/src/51-telco
--- 1.88/storage/ndb/src/ndbapi/Ndb.cpp 2007-03-07 17:34:09 +01:00
+++ 1.89/storage/ndb/src/ndbapi/Ndb.cpp 2007-03-07 17:34:09 +01:00
@@ -303,7 +303,10 @@
Uint32 sumlen = 0; // Needed len
const NdbTableImpl* impl = &NdbTableImpl::getImpl(*table);
const NdbColumnImpl* const * cols = impl->m_columns.getBase();
-
+ Uint32 len;
+ NdbTransaction* trans;
+ char* pos;
+
Uint32 colcnt = impl->m_columns.size();
Uint32 parts = impl->m_noOfDistributionKeys;
if (parts == 0)
@@ -378,7 +381,7 @@
assert((UintPtr(buf) & 7) == 0);
}
- char* pos = (char*)buf;
+ pos = (char*)buf;
for (Uint32 i = 0; i<parts; i++)
{
Uint32 lb, len;
@@ -422,10 +425,10 @@
pos += len;
}
}
- Uint32 len = UintPtr(pos) - UintPtr(buf);
+ len = UintPtr(pos) - UintPtr(buf);
assert((len & 3) == 0);
- NdbTransaction* trans = startTransaction(table, (char*)buf, len);
+ trans = startTransaction(table, (char*)buf, len);
if (bufLen == 0)
free(buf);
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2454) | jonas | 7 Mar |