List:Internals« Previous MessageNext Message »
From:tomas Date:March 10 2005 9:25am
Subject:bk commit into 5.1 tree (tomas:1.1797)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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.1797 05/03/10 10:25:16 tomas@stripped +2 -0
  added some useful getters to the NdbEventOperation

  ndb/src/ndbapi/NdbEventOperation.cpp
    1.5 05/03/10 10:25:04 tomas@stripped +28 -0
    added some useful getters to the NdbEventOperation

  ndb/include/ndbapi/NdbEventOperation.hpp
    1.13 05/03/10 10:25:04 tomas@stripped +10 -0
    added some useful getters to the NdbEventOperation

# 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:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-wl2325

--- 1.12/ndb/include/ndbapi/NdbEventOperation.hpp	2005-01-10 01:25:08 +01:00
+++ 1.13/ndb/include/ndbapi/NdbEventOperation.hpp	2005-03-10 10:25:04 +01:00
@@ -203,6 +203,16 @@
   const struct NdbError & getNdbError() const;
 
 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
+  /** these are subject to change at any time */
+  const char *getTableName() const;
+  const NdbDictionary::Event *getEvent() const;
+  NdbRecAttr *getFirstPkAttr();
+  NdbRecAttr *getFirstPkPreAttr();
+  NdbRecAttr *getFirstDataAttr();
+  NdbRecAttr *getFirstDataPreAttr();
+#endif
+
+#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
   /*
    *
    */

--- 1.4/ndb/src/ndbapi/NdbEventOperation.cpp	2005-01-06 21:12:58 +01:00
+++ 1.5/ndb/src/ndbapi/NdbEventOperation.cpp	2005-03-10 10:25:04 +01:00
@@ -97,6 +97,34 @@
 }
 
 /*
+ * Internal for the mysql server
+ */
+const char *NdbEventOperation::getTableName() const
+{
+  return m_impl.m_eventImpl->m_externalName.c_str();
+}
+const NdbDictionary::Event *NdbEventOperation::getEvent() const
+{
+  return m_impl.m_eventImpl->m_facade;
+}
+NdbRecAttr* NdbEventOperation::getFirstPkAttr()
+{
+  return m_impl.theFirstPkAttrs[0];
+}
+NdbRecAttr* NdbEventOperation::getFirstPkPreAttr()
+{
+  return m_impl.theFirstPkAttrs[1];
+}
+NdbRecAttr* NdbEventOperation::getFirstDataAttr()
+{
+  return m_impl.theFirstDataAttrs[0];
+}
+NdbRecAttr* NdbEventOperation::getFirstDataPreAttr()
+{
+  return m_impl.theFirstDataAttrs[1];
+}
+
+/*
  * Private members
  */
 
Thread
bk commit into 5.1 tree (tomas:1.1797)tomas10 Mar