Re: Problems with dynamic SQL statements in ESQL/C
Posted in 1995
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Ute R. Willmore (ute@feinde2.ftc.nrcs.usda.gov) wrote: : Joerg Spilker (spilker@aventure.teuto.de) wrote: : Hi, Joerg : I have encountered similar problems but it was with Version 4.00. It could be : that 5.01 has not fixed it. It's been a while and I don't have a code example : handy, but I recall that we had trashed memory when we used rtypmsize to set : sqllen as shown in the book. The problem disappeared if we set sqllen to : rtypmsize + 1. I am not sure if there is a bug in rtypmsize, or if the example : in the book is wrong. I missed the exact problem being reported here, but there was a problem with rtypmsize when using DATE-TIME and INTERVAL datatypes in version 5. This is a "known problem" which I was informed of after I tracked it down and called Informix to report it. Kurt Mehlhoff Software Engineer Information Advantage kurt@infoadv.mn.org 7401 Metro Blvd. Ste. 500 uunet!tcnet!infoadv!kurt Edina, MN 55439 (612) 820-3840 (612) 820-0712 FAX