[freetds] SQLNumResultCols() is wrong (+1)

Sebastien FLAESCH sf at 4js.com
Tue Jan 8 08:54:14 EST 2008

Try attached sample, SQLNumResultCols() gives numcols + 1

 >> Number of columns in result set: 4

should be:

 >> Number of columns in result set: 3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: odbctest2.c
Type: text/x-csrc
Size: 4759 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080108/45699e40/attachment.bin 

More information about the FreeTDS mailing list