[prev in list] [next in list] [prev in thread] [next in thread]
List: freetds
Subject: [freetds] problem with bcp hints in 0.91
From: Constantin Vasilyev <vasilyev () ncbi ! nlm ! nih ! gov>
Date: 2012-06-08 13:03:33
Message-ID: 20120608130333.GR24683 () ncbi ! nlm ! nih ! gov
[Download RAW message or body]
Dear FreeTDS developers,
It appears like '-h' option in freebcp doesn't work well. If used, freebcp generates \
error like:
Msg 20076, Level 7
bcp_init must be called before any other bcp routines
I was able to fix that by calling bcp_options(dbproc, BCPHINTS ...) right after \
bcp_init, but may be there's more elegant way of doing that.
Also, it seems like FIRE_TRIGGERS is missing from the list of allowed hints in bcp.c
And, while we're looking at this, may be it doesn't make sense to check validity of \
passed hints on client side at all. Shouldn't dblib accept whatever hints given to it \
and leave checking to the server?
Just a thought :)
Constantin
_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic