[freetds] dbbind, dbnullbind issues
Lowden, James K
LowdenJK at bernstein.com
Tue Jun 15 10:13:16 EDT 2004
> From: freetds-bounces at lists.ibiblio.org
> [mailto:freetds-bounces at lists.ibiblio.org]On Behalf Of
> Thompson, Bill D
> I've been wrestling with the features of dbbind and
> I could do several things:
> 1) code our dblibrary funstions so that they behave as
> specified in the manual pages.
> 2) attempt to reflect the actual (but inconsistent) behaviour
> of the Sybase implementation
> 3) code to a different, but clearer and arguably more sensible,
Can you cite an example where someone following the letter of the documentation would build a non-working application when linking to one of the vendors' libraries?
In general, I'm sure you agree that adhering to the documents is best. Bug-for-bug compatibility is useful in two cases:
1. Following the docs doesn't actually work.
2. Binary compatibility.
The first case is truly bad, and I don't know of any examples. The second is a far-off goal; we'll cross that bridge when we come to it, IMO.
The other kind of not-of-the-docs behavior are things that work but aren't documented to work, things like using varlen of -1 that you found. I think it's fine to support them when it's convenient, and deny them when not. Anyone who complains can fix his code or change ours.
Is that any help?
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 the intended recipient of this message, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, 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.
More information about the FreeTDS