summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2022-12-29 12:16:41 +0000
committerAndrew Dunstan2022-12-29 12:16:58 +0000
commit203942243c2a2da188db962f3384f1c607a462b5 (patch)
treea4924a9d6b8e91b6526f75f1d923e5782df7331f
parent1de58df4fec7325d91f5a8345757314be7ac05da (diff)
Fix oversight in 7a05425d96
This patch was changed as a result of review but one line didn't get the message. Mea Culpa.
-rw-r--r--contrib/ltree/ltree_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ltree/ltree_io.c b/contrib/ltree/ltree_io.c
index cb9feebe78c..f0dd3df5115 100644
--- a/contrib/ltree/ltree_io.c
+++ b/contrib/ltree/ltree_io.c
@@ -496,7 +496,7 @@ parse_lquery(const char *buf, struct Node *escontext)
if (state == LQPRS_WAITDELIM)
{
if (!finish_nodeitem(lptr, ptr, true, pos, escontext))
- return false;
+ return NULL;
}
else if (state == LQPRS_WAITOPEN)
curqlevel->high = LTREE_MAX_LEVELS;