freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: TDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] bcp_init with DB_OUT
- Date: Mon, 2 Mar 2009 00:53:58 -0500
According to the vendors' documentation, bcp_init() should initialize
hostfile column format information for each table column. It was not
doing so when extracting, leaving the hostfile column count at zero. That
forced the user to call bcp_columns() and bcp_colfmt() or -- if you're
like me -- get an empty output file.
This is fixed in CVS HEAD.
If you're a C++ fan, you may wish to try out samples/bcp_test.cpp.
--jkl
- [freetds] bcp_init with DB_OUT, James K. Lowden, 03/02/2009
Archive powered by MHonArc 2.6.24.