freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbindingfixed types
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbindingfixed types
- Date: Mon, 5 May 2003 22:28:02 -0400
On Mon, 5 May 2003 13:04:42 -0000, "Arnar Birgisson" <arnarb AT oddi.is>
wrote:
>
> > 27 04 04... FreeTDS it's trying to use old varchar (limited
> > to 255), this is the problem...
>
> Can it be fixed? If you point me in the right direction I might be able
> to figure it out.
dbrpcsend:
calls param_info_alloc
calls tds_set_column_type
calls tds_get_cardinal_type
tds_get_cardinal_type() is the problem.
You may with to try this:
1. Copy tds_set_column_type to a new function, say, tds_set_param_type
2. Remove tds_get_cardinal_type() from tds_set_param_type (just use
'type')
3. Modify param_info_alloc to call tds_set_param_type()
That would be a useful experiment.
If that works, I would be pleased to apply your patch. :-)
Regards,
--jkl
-
RE: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbinding fixed types,
ZIGLIO Frediano, 05/05/2003
-
RE: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbindingfixed types,
Arnar Birgisson, 05/05/2003
-
Re: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbindingfixed types,
James K. Lowden, 05/05/2003
-
RE: [freetds] [ freetds-Patches-731907]Choosingdatalengthwhenbindingfixed types,
Arnar Birgisson, 05/06/2003
-
RE: [freetds] [ freetds-Patches-731907]Choosingdatalengthwhenbindingfixed types,
Frediano Ziglio, 05/06/2003
- RE: [freetds] [freetds-Patches-731907]Choosingdatalengthwhenbindingfixed types, Arnar Birgisson, 05/06/2003
-
RE: [freetds] [ freetds-Patches-731907]Choosingdatalengthwhenbindingfixed types,
Frediano Ziglio, 05/06/2003
-
RE: [freetds] [ freetds-Patches-731907]Choosingdatalengthwhenbindingfixed types,
Arnar Birgisson, 05/06/2003
-
Re: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbindingfixed types,
James K. Lowden, 05/05/2003
-
RE: [freetds] [ freetds-Patches-731907 ]Choosingdatalengthwhenbindingfixed types,
Arnar Birgisson, 05/05/2003
Archive powered by MHonArc 2.6.24.