home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!emory!emory!not-for-mail
- From: kristen.m.altman@ccd.harris.com (Kristen Altman)
- Newsgroups: comp.databases.informix
- Subject: ESQL C problem with sqlerrd[2]
- Date: 14 Dec 1992 16:33:17 -0500
- Organization: Mailing List Gateway
- Lines: 21
- Sender: walt@mathcs.emory.edu
- Distribution: world
- Message-ID: <1giuitINNcgq@emory.mathcs.emory.edu>
- Reply-To: kristen.m.altman@ccd.harris.com (Kristen Altman)
- NNTP-Posting-Host: emory.mathcs.emory.edu
- X-Informix-List-ID: <list.1701>
-
- In my application, I am using ESQL C 4.1 and formatting
- dynamic SQL statements.
-
- I have found the following problem/possible bug:
-
- After the first fetch the number of rows returned in sqlerrd[2]
- is 0, but the sqlca.sqlcode = 0 also. If I understand this correctly,
- the sqlerrd[2] says there are no rows, but the sqlcode says there are rows.
- I printed out the data returned into the fetched structure and it is the data
- I am looking for. Furthermore, I can run the command from the
- command line and it works just fine.
-
- Does anyone have any idea what might be happening? Is there a
- condition I am not aware of that sets either of these variables?
- --
- *******************************************************
- * Kristen Altman *
- * kma@ccd.harris.com *
- * Harris Controls Division *
- * Melbourne, FL *
- *******************************************************
-