Skip to content

Commit 83fd922

Browse files
author
Michael Meskes
committed
Fix declaration of isarray variable.
Found and fixed by Andres Freund.
1 parent 8cd3a7a commit 83fd922

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ next_insert(char *text, int pos, bool questionmarks)
146146
}
147147

148148
static bool
149-
ecpg_type_infocache_push(struct ECPGtype_information_cache ** cache, int oid, bool isarray, int lineno)
149+
ecpg_type_infocache_push(struct ECPGtype_information_cache ** cache, int oid, enum ARRAY_TYPE isarray, int lineno)
150150
{
151151
struct ECPGtype_information_cache *new_entry
152152
= (struct ECPGtype_information_cache *) ecpg_alloc(sizeof(struct ECPGtype_information_cache), lineno);

src/interfaces/ecpg/ecpglib/extern.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct ECPGtype_information_cache
4444
{
4545
struct ECPGtype_information_cache *next;
4646
int oid;
47-
bool isarray;
47+
enum ARRAY_TYPE isarray;
4848
};
4949

5050
/* structure to store one statement */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy