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

Commitc0ef456

Browse files
committed
Volatile-ize some plperl variables that must survive into PG_CATCH blocks.
This appears to be necessary to fix a failure seen on buildfarm membersittella. It shouldn't be necessary according to the letter of the Cstandard, because we don't change the values of these variables withinthe PG_TRY blocks; but somehow gcc 4.7.2 is dropping the ball.Discussion:https://postgr.es/m/17555.1485179975@sss.pgh.pa.us
1 parent366d2a3 commitc0ef456

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/pl/plperl/plperl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,8 @@ Datum
17631763
plperl_call_handler(PG_FUNCTION_ARGS)
17641764
{
17651765
Datumretval;
1766-
plperl_call_data*save_call_data=current_call_data;
1767-
plperl_interp_desc*oldinterp=plperl_active_interp;
1766+
plperl_call_data*volatilesave_call_data=current_call_data;
1767+
plperl_interp_desc*volatileoldinterp=plperl_active_interp;
17681768
plperl_call_datathis_call_data;
17691769

17701770
/* Initialize current-call status record */
@@ -1813,8 +1813,8 @@ plperl_inline_handler(PG_FUNCTION_ARGS)
18131813
FunctionCallInfoDatafake_fcinfo;
18141814
FmgrInfoflinfo;
18151815
plperl_proc_descdesc;
1816-
plperl_call_data*save_call_data=current_call_data;
1817-
plperl_interp_desc*oldinterp=plperl_active_interp;
1816+
plperl_call_data*volatilesave_call_data=current_call_data;
1817+
plperl_interp_desc*volatileoldinterp=plperl_active_interp;
18181818
plperl_call_datathis_call_data;
18191819
ErrorContextCallbackpl_error_context;
18201820

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp