"USE" statement fails with server-side prepared statements

Giuseppe Maxia <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.