mirror of
https://github.com/postgres/postgres.git
synced 2026-02-18 10:09:35 -05:00
Fix missing "volatile" in PLy_output().
Commit 5c3c3cd0a3 plastered "volatile" on a bunch of variables
in PLy_output(), but removed the one that actually mattered, ie the
one on "oldcontext". This allows some versions of clang to generate
code in which "oldcontext" has been trashed when control reaches the
PG_CATCH block. Per buildfarm member tick.
This commit is contained in:
parent
ee5dbc8173
commit
81ba9348d8
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ PLy_output(volatile int level, PyObject *self, PyObject *args, PyObject *kw)
|
|||
char *volatile datatype = NULL;
|
||||
char *volatile table = NULL;
|
||||
char *volatile schema = NULL;
|
||||
MemoryContext oldcontext ;
|
||||
volatile MemoryContext oldcontext;
|
||||
PyObject *key, *value;
|
||||
PyObject *volatile so;
|
||||
Py_ssize_t pos = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue