Commit 6fd6e7c8 authored by mtaylor@solace.(none)'s avatar mtaylor@solace.(none)

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb

into  solace.(none):/home/mtaylor/src/mysql/mysql-5.1-new-ndb
parents 261c77a0 f178f725
......@@ -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