forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3c9cf06
committed
Initialize new jsonb iterator to zero
Use palloc0() instead of palloc() to create a new JsonbIterator.Otherwise, the isScalar field is sometimes not initialized. There isprobably no impact in practice, but it's cleaner this way and it avoidsfuture problems.1 parent01deec5 commit3c9cf06
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
901 | 901 |
| |
902 | 902 |
| |
903 | 903 |
| |
904 |
| - | |
| 904 | + | |
905 | 905 |
| |
906 | 906 |
| |
907 | 907 |
| |
|
0 commit comments
Comments
(0)