Skip to Content.
Sympa Menu

freetds - [freetds] TDSICONVINFO **iconv_info

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: [freetds] TDSICONVINFO **iconv_info
  • Date: Mon, 20 Oct 2003 11:25:27 -0400

> From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafone.com]
> Sent: October 20, 2003 10:02 AM
>
> Anyone can apply my patch ?
> Mainly it add support for single-byte column conversions.
> exceptions:
> - numeric.c remove printf
> - odbc.c applied update patch from ML

Freddy, I don't understand this change:

- TDSICONVINFO *iconv_info;
+ TDSICONVINFO **iconv_info;

I like an array of structures better than an array of pointers. I couldn't
find anywhere in the code where the second level of indirection made
something possible/easier. Can you show me where that's the case?

I know you're concerned about invalidating references to elements in the
iconv_info array when it's reallocated, but I'm quite sure that can be
avoided without making the data structure more complex.

--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.






Archive powered by MHonArc 2.6.24.

Top of Page