projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0fee2
)
array_ref() should set isNull to false explicitly if it's not going to
author
Peter Eisentraut
<peter_e@gmx.net>
Fri, 1 Mar 2002 22:17:10 +0000
(22:17 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Fri, 1 Mar 2002 22:17:10 +0000
(22:17 +0000)
return NULL.
src/backend/utils/adt/arrayfuncs.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/arrayfuncs.c
b/src/backend/utils/adt/arrayfuncs.c
index 3d185ce636d87ec83a90276ce848379fb5d11003..d75864a09ed3b19bb3bdb7ea430109abd3118017 100644
(file)
--- a/
src/backend/utils/adt/arrayfuncs.c
+++ b/
src/backend/utils/adt/arrayfuncs.c
@@
-812,6
+812,7
@@
array_ref(ArrayType *array,
retptr = array_seek(arraydataptr, elmlen, offset);
+ *isNull = false;
return ArrayCast(retptr, elmbyval, elmlen);
}