Fix oversight in 7a05425d96
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 29 Dec 2022 12:16:41 +0000 (07:16 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 29 Dec 2022 12:16:58 +0000 (07:16 -0500)
This patch was changed as a result of review but one line didn't get the
message. Mea Culpa.

contrib/ltree/ltree_io.c

index cb9feebe78c3cbf45fb9db091a075b42f987a0dd..f0dd3df5115f414722116d5079d9583b77cc4a11 100644 (file)
@@ -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;