List:Internals« Previous MessageNext Message »
From:Joerg Bruehe Date:November 3 2005 12:19pm
Subject:bk commit into 5.1 tree (joerg:1.1956)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of joerg. When joerg 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.1956 05/11/03 12:19:37 joerg@stripped +2 -0
  Compile fix for several platforms, done by Pekka.

  storage/ndb/src/ndbapi/NdbIndexStat.cpp
    1.2 05/11/03 12:19:32 joerg@stripped +1 -0
    Get rid of an "uninitialized variable" warning, done by Pekka.

  storage/ndb/include/ndbapi/NdbIndexStat.hpp
    1.2 05/11/03 12:19:32 joerg@stripped +5 -0
    Compile fix for several platforms, done by Pekka.

# 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:	joerg
# Host:	trift2.
# Root:	/M51/clone-5.1

--- 1.1/storage/ndb/include/ndbapi/NdbIndexStat.hpp	2005-09-15 02:30:17 +02:00
+++ 1.2/storage/ndb/include/ndbapi/NdbIndexStat.hpp	2005-11-03 12:19:32 +01:00
@@ -85,6 +85,11 @@
    *
    * TODO use more compact key format
    */
+  struct Pointer;
+  friend struct Pointer;
+  struct Entry;
+  friend struct Entry;
+  struct Area;
   friend struct Area;
   struct Pointer {
     Uint16 m_pos;

--- 1.1/storage/ndb/src/ndbapi/NdbIndexStat.cpp	2005-09-15 02:30:17 +02:00
+++ 1.2/storage/ndb/src/ndbapi/NdbIndexStat.cpp	2005-11-03 12:19:32 +01:00
@@ -238,6 +238,7 @@
 {
   Uint32 i, k, m;
   bool found = false;
+  m = ~(Uint32)0;	// shut up incorrect CC warning
   for (i = 0; i < a.m_entries; i++) {
     Pointer& p = a.get_pointer(i);
     Entry& e = a.get_entry(i);
Thread
bk commit into 5.1 tree (joerg:1.1956)Joerg Bruehe3 Nov