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

Commitd3150b7

Browse files
author
Nikita Glukhov
committed
Fix const-ness warnings
1 parentdff4f66 commitd3150b7

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
@@ -1821,7 +1821,7 @@ executeLikeRegex(JsonPathItem *jsp, JsonbValue *str, JsonbValue *rarg,
18211821
cxt->cflags=jspConvertRegexFlags(jsp->content.like_regex.flags);
18221822
}
18231823

1824-
if (RE_compile_and_execute(cxt->regex,str->val.string.val,
1824+
if (RE_compile_and_execute(cxt->regex,unconstify(char*,str->val.string.val),
18251825
str->val.string.len,
18261826
cxt->cflags,DEFAULT_COLLATION_OID,0,NULL))
18271827
returnjpbTrue;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp