summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:35 (GMT)
commit9dad79e3f89fe69857cae152fbcba52b08b19dfd (patch)
tree3742794b688189a6001ffc3bb367336814ca2786 /src/H5D.c
parentbb4d9ebc552ca5e8a19b86d961363e6ac4abc6a6 (diff)
downloadhdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.zip
hdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.tar.gz
hdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.tar.bz2
[svn-r10238] Purpose:
Optimization Description: Speed up I/O on enumerated datatypes (including those nested in compound datatypes, arrays, etc.) if the destination datatype is a proper superset of the source datatype. Solution: Detect the situation and treat as no-op datatype conversion. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 1d5a17a..be4b3e5 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -729,7 +729,7 @@ H5D_crt_fill_value_cmp(const void *value1, const void *value2, size_t UNUSED siz
if(fill1->type==NULL && fill2->type!=NULL) HGOTO_DONE(-1);
if(fill1->type!=NULL && fill2->type==NULL) HGOTO_DONE(1);
if(fill1->type!=NULL)
- if((cmp_value=H5T_cmp(fill1->type,fill2->type))!=0)
+ if((cmp_value=H5T_cmp(fill1->type,fill2->type,FALSE))!=0)
HGOTO_DONE(cmp_value);
/* Check the fill values in the buffers */