Commit 080c758
Address PR review: restore Assert and convert nvalues check to runtime
- Add back Assert(valuetype == FLOAT8OID) as defensive check after
the type guard (per gfphoenix78 review)
- Replace Assert(nvalues == 1) with runtime validity check to avoid
assertion failure in non-debug builds (per yjhjstz review)
Authored-by: Zhang Wenchao <zhangwenchao@apache.org>1 parent 97f4ea5 commit 080c758
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
781 | 787 | | |
782 | 788 | | |
783 | 789 | | |
| |||
0 commit comments