mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Make sure that ecpglib's statement variable has a defined value no matter what.
This commit is contained in:
		@@ -1755,7 +1755,7 @@ ecpg_do_prologue(int lineno, const int compat, const int force_indicator,
 | 
				
			|||||||
				 enum ECPG_statement_type statement_type, const char *query,
 | 
									 enum ECPG_statement_type statement_type, const char *query,
 | 
				
			||||||
				 va_list args, struct statement **stmt_out)
 | 
									 va_list args, struct statement **stmt_out)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct statement *stmt;
 | 
						struct statement *stmt = NULL;
 | 
				
			||||||
	struct connection *con;
 | 
						struct connection *con;
 | 
				
			||||||
	enum ECPGttype type;
 | 
						enum ECPGttype type;
 | 
				
			||||||
	struct variable **list;
 | 
						struct variable **list;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user