[freetds] bcp_init with DB_OUT
James K. Lowden
jklowden at freetds.org
Mon Mar 2 00:53:58 EST 2009
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.
More information about the FreeTDS