Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit867b8c8

Browse files
author
Nikita Glukhov
committed
Fix const-ness warnings
1 parent1eb5b4f commit867b8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/jsonpath_exec.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ executeLikeRegex(JsonPathItem *jsp, JsonbValue *str, JsonbValue *rarg,
17951795
cxt->cflags=jspConvertRegexFlags(jsp->content.like_regex.flags);
17961796
}
17971797

1798-
if (RE_compile_and_execute(cxt->regex,str->val.string.val,
1798+
if (RE_compile_and_execute(cxt->regex,unconstify(char*,str->val.string.val),
17991799
str->val.string.len,
18001800
cxt->cflags,DEFAULT_COLLATION_OID,0,NULL))
18011801
returnjpbTrue;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp