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

Commit81ba934

Browse files
committed
Fix missing "volatile" in PLy_output().
Commit5c3c3cd plastered "volatile" on a bunch of variablesin PLy_output(), but removed the one that actually mattered, ie theone on "oldcontext". This allows some versions of clang to generatecode in which "oldcontext" has been trashed when control reaches thePG_CATCH block. Per buildfarm member tick.
1 parentee5dbc8 commit81ba934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/pl/plpython/plpy_plpymodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ PLy_output(volatile int level, PyObject *self, PyObject *args, PyObject *kw)
404404
char*volatiledatatype=NULL;
405405
char*volatiletable=NULL;
406406
char*volatileschema=NULL;
407-
MemoryContextoldcontext;
407+
volatileMemoryContextoldcontext;
408408
PyObject*key,*value;
409409
PyObject*volatileso;
410410
Py_ssize_tpos=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp