summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:46 (GMT)
commitcd5fa3d2246fa738837cfa33583b402d039d1254 (patch)
tree90052c7c09cd907b94b3e9d1f73da7b76452c796 /src/H5D.c
parentcde84a55f48f83e5e13ca6138f5224ede7b612a6 (diff)
downloadhdf5-cd5fa3d2246fa738837cfa33583b402d039d1254.zip
hdf5-cd5fa3d2246fa738837cfa33583b402d039d1254.tar.gz
hdf5-cd5fa3d2246fa738837cfa33583b402d039d1254.tar.bz2
[svn-r10239] 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 e2abb44..26269d6 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -621,7 +621,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 */