[freetds] freebcp hints don't work

Constantin Vasilyev vasilyev at ncbi.nlm.nih.gov
Tue Sep 19 21:35:28 EDT 2006


Hi All,

I noticed that -h "..." option is broken in freebcp from 0.64:


> freebcp foo.dbo.bar out foobar.bcp -c -S ... -U ... -P ... -h "TABLOCK"
Msg 20076, Level 7
bcp_init must be called before any other bcp routines

db-lib: Unable to set hint "TABLOCK"





Looks like bcp_options call in freebcp.c placed incorrectly


Constantin Vasilyev



More information about the FreeTDS mailing list