Add missing const qualifier to (char *) parameters in ECPG. Per reported
by Tomasz Ostrowski.
Regards,
Qingqing
---
Index: ecpglib/descriptor.c
===
RCS file: /projects/cvsroot/pgsql/src/interfaces/ecpg/ecpglib/descriptor.c,v
Qingqing Zhou wrote:
***
*** 149,155
if (!(*stmt = (struct statement *) ECPGalloc(sizeof(struct
statement), lineno))) return false;
! (*stmt)-command = query;
(*stmt)-connection = connection;
(*stmt)-lineno = lineno;
(*stmt)-compat = compat;
On Sat, 12 Nov 2005, Peter Eisentraut wrote:
Qingqing Zhou wrote:
***
*** 149,155
if (!(*stmt = (struct statement *) ECPGalloc(sizeof(struct
statement), lineno))) return false;
! (*stmt)-command = query;
(*stmt)-connection = connection;