summaryrefslogtreecommitdiff
path: root/ndb/include/ndbapi/NdbIndexScanOperation.hpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-11-22 13:41:46 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-11-22 13:41:46 +0000
commitcfca008544454203b914c5e2888acd0034a0df20 (patch)
treee2f1062d381bc6ca98a4bac4c3e2bbc2c20f8760 /ndb/include/ndbapi/NdbIndexScanOperation.hpp
parent6aebd056cfa68da39f0a1d6a66fc809e55d91ced (diff)
downloadmariadb-git-cfca008544454203b914c5e2888acd0034a0df20.tar.gz
added force send interface to scan
prepared for using query cache in ndb ndb/include/ndbapi/NdbIndexScanOperation.hpp: added force send interface to scan ndb/include/ndbapi/NdbResultSet.hpp: added force send interface to scan ndb/include/ndbapi/NdbScanOperation.hpp: added force send interface to scan ndb/src/ndbapi/NdbResultSet.cpp: added force send interface to scan ndb/src/ndbapi/NdbScanOperation.cpp: added force send interface to scan
Diffstat (limited to 'ndb/include/ndbapi/NdbIndexScanOperation.hpp')
-rw-r--r--ndb/include/ndbapi/NdbIndexScanOperation.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/include/ndbapi/NdbIndexScanOperation.hpp b/ndb/include/ndbapi/NdbIndexScanOperation.hpp
index 66b3fc9d43b..a3388f62f58 100644
--- a/ndb/include/ndbapi/NdbIndexScanOperation.hpp
+++ b/ndb/include/ndbapi/NdbIndexScanOperation.hpp
@@ -113,7 +113,7 @@ public:
* Reset bounds and put operation in list that will be
* sent on next execute
*/
- int reset_bounds();
+ int reset_bounds(bool forceSend = false);
bool getSorted() const { return m_ordered; }
private:
@@ -127,8 +127,8 @@ private:
virtual NdbRecAttr* getValue_impl(const NdbColumnImpl*, char*);
void fix_get_values();
- int next_result_ordered(bool fetchAllowed);
- int send_next_scan_ordered(Uint32 idx);
+ int next_result_ordered(bool fetchAllowed, bool forceSend = false);
+ int send_next_scan_ordered(Uint32 idx, bool forceSend = false);
int compare(Uint32 key, Uint32 cols, const NdbReceiver*, const NdbReceiver*);
Uint32 m_sort_columns;