0.82 freebcp: -h option seems to be broken
Constantin Vasilyev <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Hi, One of our users ran into this problem recently: > freebcp tempdb.dbo.foo in /tmp/foo.bcp -S MSSQLSRV -c -h CHECK_CONSTRAINTS -U xxx -P yyy Msg 20076, Level 7 bcp_init must be called before any other bcp routines db-lib: Unable to set hint "CHECK_CONSTRAINTS" I looked into the code and it appears like freebcp is trying to call bcp_options before bcp_init. While being there, I also checked bcp_options function and found that list of valid bcp hints is incomplete (FIRE_TRIGGERS hint is missing). Could someone take a look into that. Thanks! Constantin NCBI contractor, DBA