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

Frediano Ziglio freddyz77 at tin.it
Mon Apr 21 02:56:09 EDT 2003


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




More information about the FreeTDS mailing list