freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Steven J. Backus" <backus AT math.utah.edu>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Need Help on dblib program
- Date: Wed, 30 Jul 2003 14:29:35 -0600 (MDT)
> Steven, I tried replacing your dbnextrow() loop with:
>
> dbprhead(dbproc);
> dbprrow(dbproc);
>
> and got a fine result set:
>
> id did dmonth dday dyear dage orderinlist
> i1 i2 i3 i4 i5 family
> ----------- ----------- ----------- ----------- ----------- ---- -----------
> ---- ---- ---- ---- ---- ------
> 176936 300004 2 5 1904 79 1
> NULL NULL NULL NULL I64 Y
I get:
id did dmonth dday dyear dage orderinlist
i1 i2 i3 i4 i5 family
----------- ----------- ----------- ----------- ----------- ---- -----------
---- ---- ---- ---- ---- ------
176936 300004 2 5 1904 79 1
NULL NULL NULL NULL I64TY Y
That "TY" in there is mighty suspicious looking. Using gdb I get:
(gdb) print i5
$1 = "\00064\000"
Steve
-
[freetds] Need Help on dblib program,
Steven J. Backus, 07/30/2003
- <Possible follow-up(s)>
- RE: [freetds] Need Help on dblib program, Lowden, James K, 07/30/2003
- RE: [freetds] Need Help on dblib program, Steven J. Backus, 07/30/2003
- RE: [freetds] Need Help on dblib program, Lowden, James K, 07/30/2003
- RE: [freetds] Need Help on dblib program, Steven J. Backus, 07/30/2003
- RE: [freetds] Need Help on dblib program, Lowden, James K, 07/30/2003
- RE: [freetds] Need Help on dblib program, Steven J. Backus, 07/30/2003
- RE: [freetds] Need Help on dblib program, Steven J. Backus, 07/30/2003
- RE: [freetds] Need Help on dblib program, Lowden, James K, 07/31/2003
- RE: [freetds] Need Help on dblib program, Steven J. Backus, 07/31/2003
- RE: [freetds] Need Help on dblib program, Lowden, James K, 07/31/2003
- RE: [freetds] Need Help on dblib program, Steven J. Backus, 07/31/2003
Archive powered by MHonArc 2.6.24.