diff options
author | unknown <mskold@mysql.com> | 2005-06-29 16:13:50 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2005-06-29 16:13:50 +0200 |
commit | 1d913035677caf4c4f4c1eb56724115f99fa6dd1 (patch) | |
tree | 44a4f310faf8837ba33378cb055689ce9d75ef99 /sql/ha_ndbcluster.h | |
parent | 150b837d0982c2b99e1e4a2c357b95a6be111f2a (diff) | |
download | mariadb-git-1d913035677caf4c4f4c1eb56724115f99fa6dd1.tar.gz |
Changed delete_row to always get key from record argument
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 5c1d121a157..8e44733f905 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -168,7 +168,7 @@ class ha_ndbcluster: public handler int pk_read(const byte *key, uint key_len, byte *buf); int complemented_pk_read(const byte *old_data, byte *new_data); - int peek_row(); + int peek_row(const byte *record); int unique_index_read(const byte *key, uint key_len, byte *buf); int ordered_index_scan(const key_range *start_key, @@ -196,8 +196,7 @@ class ha_ndbcluster: public handler friend int g_get_ndb_blobs_value(NdbBlob *ndb_blob, void *arg); int get_ndb_blobs_value(NdbBlob *last_ndb_blob); int set_primary_key(NdbOperation *op, const byte *key); - int set_primary_key(NdbOperation *op); - int set_primary_key_from_old_data(NdbOperation *op, const byte *old_data); + int set_primary_key_from_record(NdbOperation *op, const byte *old_data); int set_bounds(NdbIndexScanOperation *ndb_op, const key_range *keys[2]); int key_cmp(uint keynr, const byte * old_row, const byte * new_row); void print_results(); |