Skip to Content.
Sympa Menu

freetds - RE: [freetds] Bulkcopy in ct-lib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Bulkcopy in ct-lib
  • Date: Wed, 4 Feb 2004 10:50:50 -0500

> From: Thompson, Bill D (London) [mailto:bill_d_thompson AT ml.com]
> Sent: February 4, 2004 7:21 AM
>
> I'm working on and off - mostly off at the moment :-( on the
> bulk library
> parts of ct-lib
>
> I'd been working on the premise, as agreed, that we would move common
> functionality into libtds, and have the ct-library and
> dblibrary functions
> call the common functions.
>
> having started to cut the code, I'm beginning to doubt the
> wisdom of this,

Bill, you've looked at it and arrived at a conclusion. I trust your
judgement. I'm sure you won't duplicate code; where you find commonality,
you'll use it.

It does sound to me like db-lib is a subset of ct-lib (once again). If
libtds had a tds_blk_bind() that supported ct-lib's bidirectionality, db-lib
could call it, but only one way.

As a design objective, IMO all wire services handled in libtds. By that, I
mean most of the functions in read.c and write.c should be used only by
libtds; the client libraries should use higher level abstractions, things
that insulate them from endianism and protocol flavors. I hope the rewrite
will push those kinds of low-level decisions down from db-lib to libtds, and
that we won't introduce more wire handling in ct-lib.

Does that seem like a feasible, useful guideline to you?

Do you still want me to add src/tds/bcp.c?

--jkl

-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
If you, as an intended recipient of this commercial e-mail or advertisement,
would not like to receive further e-mail correspondence from the sender,
please "reply" to the sender indicating your wishes.
In the U.S.: 1345 Avenue of the Americas, New York, NY 10105








Archive powered by MHonArc 2.6.24.

Top of Page