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

Commit8d115b5

Browse files
author
Nikita Glukhov
committed
Move local variables
1 parent799de18 commit8d115b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4102,11 +4102,9 @@ jsonb_subscription_evaluate(PG_FUNCTION_ARGS)
41024102
{
41034103
SubscriptionRefExprState*sbstate= (SubscriptionRefExprState*)PG_GETARG_POINTER(0);
41044104
SubscriptionExecData*sbsdata= (SubscriptionExecData*)PG_GETARG_POINTER(1);
4105-
ExprContext*econtext=sbsdata->xprcontext;
4106-
bool*is_null=sbsdata->isNull;
41074105
SubscriptionRef*jsonb_ref= (SubscriptionRef*)sbstate->xprstate.expr;
4106+
bool*is_null=sbsdata->isNull;
41084107
boolis_assignment= (jsonb_ref->refassgnexpr!=NULL);
4109-
booleisnull;
41104108
text**path;
41114109
inti=0;
41124110

@@ -4116,9 +4114,11 @@ jsonb_subscription_evaluate(PG_FUNCTION_ARGS)
41164114

41174115
if (is_assignment)
41184116
{
4119-
DatumsourceData;
4120-
Datumsave_datum;
4121-
boolsave_isNull;
4117+
ExprContext*econtext=sbsdata->xprcontext;
4118+
DatumsourceData;
4119+
Datumsave_datum;
4120+
boolsave_isNull;
4121+
booleisnull;
41224122

41234123
/*
41244124
* We might have a nested-assignment situation, in which the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp