Skip to Content.
Sympa Menu

freetds - RE: SQLBindParameter segmentation fault

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Itai Brickner <Itai AT ezula.com>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: RE: SQLBindParameter segmentation fault
  • Date: Wed, 18 Sep 2002 16:46:38 -0700


thanks, this seems to work the SQLBindParameter doesn't seg fault anymore...
but when i call it twice, the second execution doesn't work

im doing:
SQLPrepareStatement (call usp_spd(?)}
SMALLINT x=1;
SQLBindParameter(1,INTPARAM,&x);
SQLExecute() -> this works fine
x=2;
SQLExecute() -> this doesn't work

does anybody have an idea how to fix this? (I think the problem is in
tds_submit_query where the tds->state==TDS_PENDING becuase of the last
query)

thanks
itai


-----Original Message-----
From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafoneomnitel.it]
Sent: Wednesday, September 18, 2002 1:51 AM
To: TDS Development Group
Subject: [freetds] RE: SQLBindParameter segmentation fault


>
> i would like to use the 0.6, but i don't understand how is it
> usuable if
> even the SQLDriverConnect isnot implemented yet...
>
> thanks itai
>

You can update connectparams.c from
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/freetds/freetds/sr
c/odbc/connectparams.c?rev=1.11
and recompile, so SQLDriverConnect work again

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

=================================

---
You are currently subscribed to freetds as: [itai AT ezula.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page