freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: big changes, conversion fixes, and tds_willconv ert
- From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
- To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
- Subject: RE: big changes, conversion fixes, and tds_willconv ert
- Date: Mon, 15 Jul 2002 17:08:47 +0200
> >
> > The other problem is with the implementation of
> > dbwillconvert. Jim, you
> > got to convert those dblib types to server types before
> > sending them to
> > tds_willconvert. dbbind also calls dbwillconvert() directly
> > and instead
> > should be calling tds_willconvert because it shouldn't be
> > making the trip from servertype -> dblib type -> servertype.
>
> I can work on this tonight; I'm glad I didn't check in the .h file.
>
> I'm afraid I'm not very clear about what's a "dblib type" and
> a "server
> type". I grepped for defines and typedefs for "CHAR" and found:
>
> tds.h: typedef char TDS_CHAR;
> cspublic.h: typedef TDS_CHAR CS_CHAR;
> sybdb.h: typedef TDS_CHAR DBCHAR ;
> tds.h: #define SYBCHAR 47 /* 0x2F */
>
> so I assumed "SYBCHAR" was the appropriate type indicator, if
> only because
> it's the only enumerated (non-typedef) symbol in the bunch.
>
When you call dbbind you pass number like CHARBIND (different from TDS ones)
I don't know dbwillconvert dblib api....
freddy77
=================================
"STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."
=================================
-
RE: big changes, conversion fixes, and tds_willconv ert,
ZIGLIO Frediano, 07/15/2002
- <Possible follow-up(s)>
- RE: big changes, conversion fixes, and tds_willconv ert, ZIGLIO Frediano, 07/15/2002
- RE: big changes, conversion fixes, and tds_willconv ert, ZIGLIO Frediano, 07/15/2002
Archive powered by MHonArc 2.6.24.