[PATCHES] Add missing const qualifier in ECPG

2005-11-12 Thread Qingqing Zhou
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 retrie

Re: [PATCHES] Add missing const qualifier in ECPG

2005-11-12 Thread Peter Eisentraut
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

Re: [PATCHES] Add missing const qualifier in ECPG

2005-11-12 Thread Qingqing Zhou
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;