[freetds] DBD::Sybase placeholder support
Dan Wierenga
dwierenga at valueclick.com
Tue May 13 12:34:31 EDT 2008
> -----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.
More information about the FreeTDS
mailing list