diff options
author | mskold@mysql.com <> | 2005-06-29 16:13:50 +0200 |
---|---|---|
committer | mskold@mysql.com <> | 2005-06-29 16:13:50 +0200 |
commit | ec4bb863794b22f9dfcedffab38b83de4286bf67 (patch) | |
tree | 44a4f310faf8837ba33378cb055689ce9d75ef99 /sql/ha_ndbcluster.h | |
parent | ff764e2b5aa687deb50285303e12e49be0ee3d9c (diff) | |
download | mariadb-git-ec4bb863794b22f9dfcedffab38b83de4286bf67.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(); |