Skip to content
Snippets Groups Projects
Commit c396f2b8 authored by Michael Meskes's avatar Michael Meskes
Browse files

Fix declaration of isarray variable.

Found and fixed by Andres Freund.
parent fcbf4558
No related branches found
No related tags found
No related merge requests found
...@@ -146,7 +146,7 @@ next_insert(char *text, int pos, bool questionmarks) ...@@ -146,7 +146,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);
......
...@@ -44,7 +44,7 @@ struct ECPGtype_information_cache ...@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment