diff options
author | mikael@dator5.(none) <> | 2006-07-01 00:01:37 -0400 |
---|---|---|
committer | mikael@dator5.(none) <> | 2006-07-01 00:01:37 -0400 |
commit | 4e390d711ad5830cbf999c4ff0058878dac232a0 (patch) | |
tree | a9af6bfab0bb1fa096598be7a003fe272b362d5c /sql/ha_ndbcluster.h | |
parent | 10ecad1f6fe1281a32d0efc0195e44d30f55e4da (diff) | |
download | mariadb-git-4e390d711ad5830cbf999c4ff0058878dac232a0.tar.gz |
BUG#17138: Crashes in stored procedure
Last round of review fixes
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 d5ad299607d..16b4c9f0794 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -656,9 +656,8 @@ class ha_ndbcluster: public handler void set_auto_partitions(partition_info *part_info); virtual bool is_fatal_error(int error, uint flags) { - if (!handler::is_fatal_error(error, flags)) - return FALSE; - if (error == HA_ERR_NO_PARTITION_FOUND) + if (!handler::is_fatal_error(error, flags) || + error == HA_ERR_NO_PARTITION_FOUND) return FALSE; return TRUE; } |