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
1.1977 05/08/30 11:50:29 jonas@eel.(none) +1 -0
ndb diskdata
fix typo in DLFifoList::insert
storage/ndb/src/kernel/vm/DLFifoList.hpp
1.11 05/08/30 11:50:25 jonas@eel.(none) +4 -4
Fix insert of first element
# 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: eel.(none)
# Root: /home/jonas/src/mysql-5.1-ndb-dd
--- 1.10/storage/ndb/src/kernel/vm/DLFifoList.hpp 2005-08-07 19:05:46 +02:00
+++ 1.11/storage/ndb/src/kernel/vm/DLFifoList.hpp 2005-08-30 11:50:25 +02:00
@@ -285,13 +285,13 @@
inline
void
DLFifoList<T,U>::insert(Ptr<T> & ptr, Ptr<T> & loc){
+ Uint32 prev= loc.p->U::prevList;
if(loc.i == head.firstItem)
{
- head.firstItem = loc.i;
+ head.firstItem = ptr.i;
+ assert(prev == RNIL);
}
-
- Uint32 prev= loc.p->U::prevList;
- if(prev != RNIL)
+ else
{
T* t2 = thePool.getPtr(prev);
t2->U::nextList = ptr.i;
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.1977) | jonas | 30 Aug |