summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authorunknown <magnus@neptunus.(none)>2004-04-30 13:41:19 +0200
committerunknown <magnus@neptunus.(none)>2004-04-30 13:41:19 +0200
commitddbef950cb9b5373ac5e04547f7fac20bde26398 (patch)
tree97220179cc51defd202848b57a6ca58131b22bd4 /sql/ha_ndbcluster.h
parent74a46d1359d1b56abaa8a222968c4d2920d84af6 (diff)
parent4960b897b7b5c8a00d275f2af159455f218e38f4 (diff)
downloadmariadb-git-ddbef950cb9b5373ac5e04547f7fac20bde26398.tar.gz
Merge neptunus.(none):/home/magnus/mysql-4.1
into neptunus.(none):/home/magnus/mysql-4.1-sql-bench sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index 13466be9eb2..e524cd8e4b3 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -76,6 +76,11 @@ class ha_ndbcluster: public handler
int rnd_next(byte *buf);
int rnd_pos(byte *buf, byte *pos);
void position(const byte *record);
+ int read_range_first(const key_range *start_key,
+ const key_range *end_key,
+ bool sorted);
+ int read_range_next(bool eq_range);
+
void info(uint);
int extra(enum ha_extra_function operation);
@@ -150,9 +155,9 @@ class ha_ndbcluster: public handler
byte *buf);
int unique_index_read(const byte *key, uint key_len,
byte *buf);
- int ordered_index_scan(const byte *key, uint key_len,
- byte *buf,
- enum ha_rkey_function find_flag);
+ int ordered_index_scan(const key_range *start_key,
+ const key_range *end_key,
+ bool sorted, byte* buf);
int full_table_scan(byte * buf);
int next_result(byte *buf);
#if 0
@@ -175,6 +180,8 @@ class ha_ndbcluster: public handler
int get_ndb_value(NdbOperation*, uint fieldnr, byte *field_ptr);
int set_primary_key(NdbOperation *op, const byte *key);
int set_primary_key(NdbOperation *op);
+ int set_bounds(NdbOperation *ndb_op, const key_range *key,
+ int bound);
int key_cmp(uint keynr, const byte * old_row, const byte * new_row);
void print_results();