diff options
author | unknown <mskold@mysql.com> | 2004-11-18 12:11:56 +0100 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2004-11-18 12:11:56 +0100 |
commit | be5b6f4d4b29e2393b73f7c9f6a8d17ad7a95422 (patch) | |
tree | 8a56eb2e032ba537dc2fe9dd4a5c4fcf424acbe0 /sql/ha_ndbcluster.h | |
parent | ede217917590d7d04c095fb7e77b57cce72bd25e (diff) | |
download | mariadb-git-be5b6f4d4b29e2393b73f7c9f6a8d17ad7a95422.tar.gz |
Fix for bug#4312 ndb table, wrong behaviour on insert .. on duplicate key ..
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 2121228a869..c6c233c013c 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -183,6 +183,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 unique_index_read(const byte *key, uint key_len, byte *buf); int ordered_index_scan(const key_range *start_key, @@ -242,9 +243,10 @@ class ha_ndbcluster: public handler typedef union { NdbRecAttr *rec; NdbBlob *blob; void *ptr; } NdbValue; NdbValue m_value[NDB_MAX_ATTRIBUTES_IN_TABLE]; bool m_use_write; - bool m_ignore_dup_key_not_supported; + bool m_ignore_dup_key; bool m_primary_key_update; bool m_retrieve_all_fields; + bool m_retrieve_primary_key; ha_rows m_rows_to_insert; ha_rows m_rows_inserted; ha_rows m_bulk_insert_rows; |