This is an automated email from the ASF dual-hosted git repository.
mtaha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/master by this push:
new 55476ad2 fix incorrect variable assignment (#2336)
55476ad2 is described below
commit 55476ad2875f37f5b65919b6eeab7d81fd65aa7c
Author: John Gemignani <[email protected]>
AuthorDate: Wed Feb 25 09:41:41 2026 -0800
fix incorrect variable assignment (#2336)
Fixed an incorrect variable assignment, that was causing a warning
message during compilation, on some compilers.
The create_index_on_column function assigned InvalidOid, instead
of NIL or NULL.
- index_col->collation = InvalidOid;
+ index_col->collation = NIL;
No regression tests were impacted.
modified: src/backend/commands/label_commands.c
---
src/backend/commands/label_commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/commands/label_commands.c
b/src/backend/commands/label_commands.c
index c9fdfad8..051bbc8a 100644
--- a/src/backend/commands/label_commands.c
+++ b/src/backend/commands/label_commands.c
@@ -448,7 +448,7 @@ static void create_index_on_column(char *schema_name,
index_col->name = colname;
index_col->expr = NULL;
index_col->indexcolname = NULL;
- index_col->collation = InvalidOid;
+ index_col->collation = NIL;
index_col->opclass = list_make1(makeString("graphid_ops"));
index_col->opclassopts = NIL;
index_col->ordering = SORTBY_DEFAULT;