diff options
author | unknown <gni@dev3-221.dev.cn.tlan> | 2007-07-25 09:32:28 +0800 |
---|---|---|
committer | unknown <gni@dev3-221.dev.cn.tlan> | 2007-07-25 09:32:28 +0800 |
commit | 8df3331d8a3831577ab7bc20a1e41b62abbba991 (patch) | |
tree | a48688a988cac9a1551b6d8df4e88fe30f6ee536 /sql/ha_ndbcluster.cc | |
parent | ebcbfef85fb151d8a30a928906636219f360a15d (diff) | |
download | mariadb-git-8df3331d8a3831577ab7bc20a1e41b62abbba991.tar.gz |
BUG#28423 cluster to storage engine error code mapping problem
sql/ha_ndbcluster.cc:
make HA_ERR_FOUND_DUPP_KEY error cases throw warning like the other ambiguous engine error codes that may be caused by multiple cluster error codes
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 47815f0fbf1..4d4edccd59c 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -181,8 +181,8 @@ struct err_code_mapping static const err_code_mapping err_map[]= { { 626, HA_ERR_KEY_NOT_FOUND, 0 }, - { 630, HA_ERR_FOUND_DUPP_KEY, 0 }, - { 893, HA_ERR_FOUND_DUPP_KEY, 0 }, + { 630, HA_ERR_FOUND_DUPP_KEY, 1 }, + { 893, HA_ERR_FOUND_DUPP_KEY, 1 }, { 721, HA_ERR_TABLE_EXIST, 1 }, { 4244, HA_ERR_TABLE_EXIST, 1 }, |