Skip to Content.
Sympa Menu

freetds - Re: [freetds] DBD::Sybase placeholder support

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Dan Wierenga" <dwierenga AT valueclick.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] DBD::Sybase placeholder support
  • Date: Tue, 13 May 2008 09:34:31 -0700



> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> bounces AT lists.ibiblio.org] On Behalf Of James K. Lowden
> Dan, are they successes or failures are far as you're concerned? It
> looks
> good from here.

All successes by my book. I'm just not sure if I'm getting the
advantage of server-side preparation or merely the DBI quote handling.
It'd be nice to have the server-side preparation but just letting DBI
handle the quotes is a *HUGE* advantage in my book.

> Then you send
>
> 0000 03 01 00 35 00 00 01 00-0a 00 73 00 70 00 5f 00 |...5....
> ..s.p._.|
> 0010 65 00 78 00 65 00 63 00-75 00 74 00 65 00 00 00 |e.x.e.c.
> u.t.e...|
> 0020 00 00 26 04 04 01 00 00-00 00 00 af 05 00 05 00 |..&.....
> ........|
> 0030 7a 75 6d 6d 61 - |zumma|
>
> and I don't understand that packet, but see
>

That's the actual execute statement, i.e.:
$sth->execute('zumma');


> which doesn't look like you got back an output parameter. Were you
> hoping
> for one?

Not in those tests. That query was a simple select from a table.




Archive powered by MHonArc 2.6.24.

Top of Page