"USE" statement fails with server-side prepared statements

"USE" statement fails with server-side prepared statements

am 12.12.2005 11:35:25 von Giuseppe Maxia

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@m .gmane.org