Fix declaration of isarray variable.

Found and fixed by Andres Freund.
pull/7/head
Michael Meskes 10 years ago
parent fcbf455842
commit c396f2b83d
  1. 2
      src/interfaces/ecpg/ecpglib/execute.c
  2. 2
      src/interfaces/ecpg/ecpglib/extern.h

@ -146,7 +146,7 @@ next_insert(char *text, int pos, bool questionmarks)
}
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 *) ecpg_alloc(sizeof(struct ECPGtype_information_cache), lineno);

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

Loading…
Cancel
Save