mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix deprecated-by-C-spec usage: storage class should come before const
decoration. Zdenek Kotala
This commit is contained in:
parent
df87074092
commit
bcb3852c33
@ -1,4 +1,4 @@
|
|||||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.22 2007/10/03 11:11:12 meskes Exp $ */
|
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.23 2007/11/05 20:57:24 tgl Exp $ */
|
||||||
|
|
||||||
#define POSTGRES_ECPG_INTERNAL
|
#define POSTGRES_ECPG_INTERNAL
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
@ -31,8 +31,8 @@ typedef struct
|
|||||||
} stmtCacheEntry;
|
} stmtCacheEntry;
|
||||||
|
|
||||||
static int nextStmtID = 1;
|
static int nextStmtID = 1;
|
||||||
const static int stmtCacheNBuckets = 2039; /* # buckets - a prime # */
|
static const int stmtCacheNBuckets = 2039; /* # buckets - a prime # */
|
||||||
const static int stmtCacheEntPerBucket = 8; /* # entries/bucket */
|
static const int stmtCacheEntPerBucket = 8; /* # entries/bucket */
|
||||||
static stmtCacheEntry stmtCacheEntries[16384] = {{0,{0},0,0,0}};
|
static stmtCacheEntry stmtCacheEntries[16384] = {{0,{0},0,0,0}};
|
||||||
|
|
||||||
static struct prepared_statement *find_prepared_statement(const char *name,
|
static struct prepared_statement *find_prepared_statement(const char *name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user