projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020b7cb
)
Revert a change accidentally got checked in during merge bbf2fec2. Regressions
author
Pavan Deolasee
<
[email protected]
>
Tue, 6 Sep 2016 05:29:55 +0000
(10:59 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Tue, 6 Sep 2016 05:29:55 +0000
(10:59 +0530)
show no additional failures.
Thanks Tomas Vondra for spotting this.
src/backend/utils/adt/datum.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/datum.c
b/src/backend/utils/adt/datum.c
index 4b4974b5cadfd26f9ba97f55f99ee10ca8d478b0..e8af0304c0b3b998405db6b684a6fc830478b283 100644
(file)
--- a/
src/backend/utils/adt/datum.c
+++ b/
src/backend/utils/adt/datum.c
@@
-136,9
+136,6
@@
datumCopy(Datum value, bool typByVal, int typLen)
/* It is a varlena datatype */
struct varlena *vl = (struct varlena *) DatumGetPointer(value);
- if (!vl)
- return PointerGetDatum(NULL);
-
if (VARATT_IS_EXTERNAL_EXPANDED(vl))
{
/* Flatten into the caller's memory context */