mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
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.
This commit is contained in:
@@ -842,6 +842,9 @@ protected:
|
|||||||
virtual ~NdbOperation();
|
virtual ~NdbOperation();
|
||||||
void next(NdbOperation*); // Set next pointer
|
void next(NdbOperation*); // Set next pointer
|
||||||
NdbOperation* next(); // Get next pointer
|
NdbOperation* next(); // Get next pointer
|
||||||
|
|
||||||
|
NdbTransation* getNdbTransaction();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
|
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
|
||||||
const NdbOperation* next() const;
|
const NdbOperation* next() const;
|
||||||
|
@@ -17,7 +17,8 @@ class Ndb;
|
|||||||
class NdbPool;
|
class NdbPool;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
create_instance(Uint32 max_ndb_objects,
|
create_instance(Ndb_cluster_connection* cc,
|
||||||
|
Uint32 max_ndb_objects,
|
||||||
Uint32 no_conn_obj,
|
Uint32 no_conn_obj,
|
||||||
Uint32 init_no_ndb_objects);
|
Uint32 init_no_ndb_objects);
|
||||||
|
|
||||||
|
@@ -191,6 +191,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
const class NdbError & getNdbError() const;
|
const class NdbError & getNdbError() const;
|
||||||
|
|
||||||
|
NdbOperation * getNdbOperation();
|
||||||
private:
|
private:
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
|
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
|
||||||
friend class NdbScanFilterImpl;
|
friend class NdbScanFilterImpl;
|
||||||
|
@@ -170,6 +170,13 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convenience method to fetch this transactions Ndb* object
|
||||||
|
*/
|
||||||
|
Ndb * getNdb() {
|
||||||
|
return theNdb;
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
|
#ifndef DOXYGEN_SHOULD_SKIP_DEPRECATED
|
||||||
/**
|
/**
|
||||||
* Get an NdbOperation for a table.
|
* Get an NdbOperation for a table.
|
||||||
|
@@ -429,3 +429,9 @@ NdbOperation::getTable() const
|
|||||||
{
|
{
|
||||||
return m_currentTable;
|
return m_currentTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NdbTransaction*
|
||||||
|
NdbOperation::getNdbTransaction()
|
||||||
|
{
|
||||||
|
return theNdbCon;
|
||||||
|
}
|
||||||
|
@@ -348,6 +348,10 @@ NdbScanFilter::isfalse(){
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NdbOperation *
|
||||||
|
NdbScanFilter::getNdbOperation(){
|
||||||
|
return m_impl.m_operation;
|
||||||
|
}
|
||||||
|
|
||||||
#define action(x, y, z)
|
#define action(x, y, z)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user