diff options
author | mikael@dator5.(none) <> | 2006-06-21 21:24:04 -0400 |
---|---|---|
committer | mikael@dator5.(none) <> | 2006-06-21 21:24:04 -0400 |
commit | c91d6eb7b82660394ae0df1174a5e29e522d5b3f (patch) | |
tree | 3a8ff6c71d3b7b21b9c49239f43829176b5e0f51 /sql/ha_ndbcluster.h | |
parent | 43409d98fef7d2147836dd406b5e65de77ba8a26 (diff) | |
parent | a8e6967c02784c566dd2dee02fca0c9a0cba3fd3 (diff) | |
download | mariadb-git-c91d6eb7b82660394ae0df1174a5e29e522d5b3f.tar.gz |
Merge dator5.(none):/home/pappa/clean-mysql-5.1
into dator5.(none):/home/pappa/bug17138
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index df3c5791713..d5ad299607d 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -654,6 +654,14 @@ class ha_ndbcluster: public handler int get_default_no_partitions(ulonglong max_rows); bool get_no_parts(const char *name, uint *no_parts); 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) + return FALSE; + return TRUE; + } THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to, |