Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 6992
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: spamcollector_cpan [...] juerd.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.9004
Fixed in: (no value)



Subject: Use new prepared statement API
DBD::mysql doesn't really prepare statements. All it does it return a dummy sth, after counting placeholders. MySQL has a real prepared statement API. Using that would probably be much faster, and takes care of placeholder counting and interpolation (which is no longer interpolation). See http://dev.mysql.com/doc/mysql/en/C_API_Prepared_statement_functions.html
On Sat Jul 17 08:01:46 2004, guest wrote: Show quoted text
> DBD::mysql doesn't really prepare statements. All it does it return a > dummy sth, after counting placeholders. > > MySQL has a real prepared statement API. Using that would probably be > much faster, and takes care of placeholder counting and interpolation > (which is no longer interpolation). > > See >
http://dev.mysql.com/doc/mysql/en/C_API_Prepared_statement_functions.ht ml
Server-side prepared statements were made the default in DBD::mysql 3.0002_1.