1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

Fix declaration of isarray variable.

Found and fixed by Andres Freund.
This commit is contained in:
Michael Meskes
2015-08-13 13:22:29 +02:00
parent 7b4b57fc48
commit 41a6633601
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ next_insert(char *text, int pos, bool questionmarks)
} }
static bool static bool
ecpg_type_infocache_push(struct ECPGtype_information_cache ** cache, int oid, bool isarray, int lineno) ecpg_type_infocache_push(struct ECPGtype_information_cache ** cache, int oid, enum ARRAY_TYPE isarray, int lineno)
{ {
struct ECPGtype_information_cache *new_entry struct ECPGtype_information_cache *new_entry
= (struct ECPGtype_information_cache *) ecpg_alloc(sizeof(struct ECPGtype_information_cache), lineno); = (struct ECPGtype_information_cache *) ecpg_alloc(sizeof(struct ECPGtype_information_cache), lineno);

View File

@ -44,7 +44,7 @@ struct ECPGtype_information_cache
{ {
struct ECPGtype_information_cache *next; struct ECPGtype_information_cache *next;
int oid; int oid;
bool isarray; enum ARRAY_TYPE isarray;
}; };
/* structure to store one statement */ /* structure to store one statement */