List:Internals« Previous MessageNext Message »
From:jonas Date:September 14 2005 5:11am
Subject:bk commit into 5.1 tree (jonas:1.2008)
View as plain text  
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.2008 05/09/14 07:11:32 jonas@eel.(none) +1 -0
  merge fix

  storage/ndb/include/util/UtilBuffer.hpp
    1.6 05/09/14 07:11:27 jonas@eel.(none) +4 -2
    merge fix

# 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.5/storage/ndb/include/util/UtilBuffer.hpp	2005-04-08 02:43:54 +02:00
+++ 1.6/storage/ndb/include/util/UtilBuffer.hpp	2005-09-14 07:11:27 +02:00
@@ -84,9 +84,11 @@
     len = 0;
   }
 
-  int length() const { return len; };
+  int length() const { return len; }
 
-  void *get_data() const { return data; };
+  void *get_data() const { return data; }
+
+  bool empty () const { return len == 0; }
 private:
   void *data;          /* Pointer to data storage */
   size_t len;          /* Size of the stored data */
Thread
bk commit into 5.1 tree (jonas:1.2008)jonas14 Sep