Skip to Content.
Sympa Menu

freetds - Re: [freetds] location of config parameter?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] location of config parameter?
  • Date: Thu, 15 Dec 2011 21:51:16 -0500

On Thu, 15 Dec 2011 16:19:30 +0100
<loic.cloatre AT orange.com> wrote:

> I see it in my log file:
> dblib.c:1454:dbcmd(0xc71780, exec creerFede
> @LOGIN='3D1HfSkzgRZva_uT_TheSg==',
> @ID_SERVICEPROVIDER_TECHNIQUE='http://ts_saml2.msp.gouv.fr',
> @ID_SERVICEPROVIDER_FONCTIONNEL='http://ts_saml2.msp.gouv.fr',
> @ID_TYPE_FEDERATION=1)
>
> I get an error in answer:
> dbutil.c:86:msgno 103: "The identifier that starts with
> '@ID_SERVICEPROVIDER_FONCTIONNE' is too long. Maximum length is 30."
>
> Does anyone know where to configure the size of this parameter?
> I am using free-tds-dev0.92.

What version of TDS are you using? My TDS 7.0 connection lets me use
long parameter names in stored procedures. I changed the parameter
in src/dblib/unittests/rpc.c from "@c" to
"@c_this_name_is_way_more_than_thirty_characters_charlie", and the
program still works.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page