"USE" statement fails with server-side prepared statements

When setting mysql_server_prepare=1 in a connection (which is the default in
DBD::mysql 3.0002_4), "USE" statements can't be executed, because the prepare
statement protocol does not support it.
It is not properly a bug, but a feature that breaks compatibility with old
code.

Since "USE" is such a common statement, something must be done to ensure that
old code does not break when using it.

See the bug report at http://bugs.mysql.com/bug.php?id=15665

Regards
Giuseppe

--
Giuseppe Maxia
CTO
http://www.StarData.it
MySQL Certified Professional

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules [at] m .gmane.org
Giuseppe Maxia [ Mo, 12 Dezember 2005 11:35 ] [ ID #1098612 ]
Datenbanken » gmane.comp.db.mysql.perl » "USE" statement fails with server-side prepared statements

Vorheriges Thema: Trouble installing DBD-mysql
Nächstes Thema: DBI::mysql 3.0002 on X86_64 link error