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

Commit41d32ff

Browse files
Fixed insert in cached variables
1 parent370ddfe commit41d32ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pg_variables.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ variable_insert(PG_FUNCTION_ARGS)
325325

326326
/* Get cached variable */
327327
if (LastVariable==NULL||
328-
VARSIZE_ANY_EXHDR(var_name)!=strlen(getName(LastPackage))||
329-
strncmp(VARDATA_ANY(var_name),getName(LastPackage),
328+
VARSIZE_ANY_EXHDR(var_name)!=strlen(getName(LastVariable))||
329+
strncmp(VARDATA_ANY(var_name),getName(LastVariable),
330330
VARSIZE_ANY_EXHDR(var_name))!=0)
331331
{
332332
variable=createVariableInternal(package,var_name,RECORDOID,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp