Skip to Content.
Sympa Menu

freetds - RE: [freetds] ODBC: { ? = CALL myproc() }

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] ODBC: { ? = CALL myproc() }
  • Date: 21 Apr 2003 08:56:09 +0200


>
> > >
> > > 2) If I alter the prepared statement to remove all
> > > unnecessary whitespace:
> > >
> > > {?=call odbc_call()}
> > >
> > > I get a segmentation fault. The segfault goes away if I:
> > > o place a space between the opening '{' and '?'
> > > { ?=call odbc_call()}
> > > o alter the stored proc to return a result set
> > > create procedure odbc_call as select 1 return 1
> > >
> > ...
> >
> > I'll look deepeer..
>
> I should have been more specific. The segfault goes away if I do either of
> the two things I mentioned. I.e., that's an OR not an AND. So the
> reproduction case for the segfault is to use the odbc call escape sequence
> on a stored procedure that returns no result set.
>
> Let me know if I can provide any more information that would be useful.
>
> thanks,
>
> Garrett
>

Garrett, I'm not able to reproduce the core...
Can you enable trace in ODBC and send me the log?

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page