Re: ESQLC Function Prototypes for 5.00/5.02
Posted in 1994
Jonathan Leffler (johnl@informix.com) wrote: [ . . . ] > I get incorrect (char *)0 instead of (struct sqlvar_struct *)0) for the 4th > argument of _iqslct() from the following select statement: > $ SELECT T.Tabid > INTO $tabid > FROM "informix".Systables T > WHERE T.Tabid = 1; > I also get incorrect (char *)0 for (struct sqlda *)0 in arg 2 and (char *)0 > for (struct value *values)0 in arg 4 of the call to _iqexecute() for the > following statement: > $ EXECUTE s_statement; I saw those (char *)0 in 5.00. We fix 'em up with a modified copy of the esql script using sed to replace all of these with NULL and this has worked fine for us. > [ . . . ] > 6.00 ESQL/C comes with prototypes. Hooray! Outstanding. A few years late in my book but I'll take what I can get. I appreciate the unofficial copies for the interim. -Ken Miles VCD/Hewlett-Packard