Commit 93bf7699 authored by unknown's avatar unknown

Fixed header to reflect the implementation.

Added accessor method to help out the NDB/Connectors.


storage/ndb/include/ndbapi/NdbOperation.hpp:
  Added accessor method to help out the NDB/Connectors.
storage/ndb/include/ndbapi/NdbPool.hpp:
  Fixed header to reflect the implementation.
storage/ndb/include/ndbapi/NdbScanFilter.hpp:
  Added accessor method to help out the NDB/Connectors.
storage/ndb/include/ndbapi/NdbTransaction.hpp:
  Added accessor method to help out the NDB/Connectors.
storage/ndb/src/ndbapi/NdbOperation.cpp:
  Added accessor method to help out the NDB/Connectors.
storage/ndb/src/ndbapi/NdbScanFilter.cpp:
  Added accessor method to help out the NDB/Connectors.
parent 2510ac8c
No related merge requests found
......@@ -842,6 +842,9 @@ protected:
virtual ~NdbOperation();
void next(NdbOperation*); // Set next pointer
NdbOperation* next(); // Get next pointer
NdbTransation* getNdbTransaction();
public:
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
const NdbOperation* next() const;
......
......@@ -17,7 +17,8 @@ class Ndb;
class NdbPool;
bool
create_instance(Uint32 max_ndb_objects,
create_instance(Ndb_cluster_connection* cc,
Uint32 max_ndb_objects,
Uint32 no_conn_obj,
Uint32 init_no_ndb_objects);
......
......@@ -191,6 +191,7 @@ public:
*/
const class NdbError & getNdbError() const;
NdbOperation * getNdbOperation();
private:
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
friend class NdbScanFilterImpl;
......
......@@ -170,6 +170,13 @@ public:
#endif
};
/**
* Convenience method to fetch this transactions Ndb* object
*/
Ndb * getNdb() {
return theNdb;
}
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
/**
* Get an NdbOperation for a table.
......
......@@ -429,3 +429,9 @@ NdbOperation::getTable() const
{
return m_currentTable;
}
NdbTransaction*
NdbOperation::getNdbTransaction()
{
return theNdbCon;
}
......@@ -348,6 +348,10 @@ NdbScanFilter::isfalse(){
return 0;
}
NdbOperation *
NdbScanFilter::getNdbOperation(){
return m_impl.m_operation;
}
#define action(x, y, z)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment