On Wed, 2007-07-25 at 09:32 +0800, gni@stripped wrote:
> BUG#28423 cluster to storage engine error code mapping problem
> --- 1.315/sql/ha_ndbcluster.cc 2007-07-25 09:32:34 +08:00
> +++ 1.316/sql/ha_ndbcluster.cc 2007-07-25 09:32:34 +08:00
> @@ -181,8 +181,8 @@
> 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 },
>
looks ok.
--
Stewart Smith, Senior Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@stripped
Mobile: +61 4 3 8844 332
Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc