diff options
author | unknown <mskold@mysql.com> | 2005-07-06 11:23:36 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2005-07-06 11:23:36 +0200 |
commit | 6ef62738fe196bba171f047a31312b91f3b7e226 (patch) | |
tree | b05f9a5f5f254cf8a2e417407fdbc4202dcfe8dd /sql/ha_ndbcluster.h | |
parent | cd42770548db9a4dea7f607f113be8ecaae19cc8 (diff) | |
download | mariadb-git-6ef62738fe196bba171f047a31312b91f3b7e226.tar.gz |
Fixed handling of failed primary key update in INSERT .. ON DUPLICATE KEY UPDATE ..
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 8e44733f905..4b3a30fb9b9 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -196,7 +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_from_record(NdbOperation *op, const byte *old_data); + int set_primary_key_from_record(NdbOperation *op, const byte *record); 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(); |