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
Download (untitled) / with headers
text/plain 365b
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
Download (untitled) / with headers
text/plain 430b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.