mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Ecpglib stores variables that are used in DECLARE statements in a global list.
This list is now freed when the last connection has been closed. Closes: #6366
This commit is contained in:
@ -501,12 +501,7 @@ ecpg_gettext(const char *msgid)
|
||||
}
|
||||
#endif /* ENABLE_NLS */
|
||||
|
||||
static struct var_list
|
||||
{
|
||||
int number;
|
||||
void *pointer;
|
||||
struct var_list *next;
|
||||
} *ivlist = NULL;
|
||||
struct var_list *ivlist = NULL;
|
||||
|
||||
void
|
||||
ECPGset_var(int number, void *pointer, int lineno)
|
||||
|
Reference in New Issue
Block a user