-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan wrote:
> I've searched the documentation and Google but can't find the answer.
>
> How do I disable the multiple statements processing in v4.1.x?
>
> I don't want the user to be able to send more than one statement (like it
> was in 4.0.x).
>
> ie: SELECT * FROM table; DROP TABLE table;
>
> would generate a SQL error.
>
> I would imagine there's a server-wide variable that would disable this, as
> well as possibly a per-connection variable of some sort. MySQL is running
> under Win2K and clients connect via the JDBC driver.
>
>
Dan,
JDBC doesn't enable multi-statements by default, you have to pass it as
a configuration parameter.
-Mark
- --
Mark Matthews
MySQL AB, Software Development Manager - Client Connectivity
www.mysql.com
MySQL User Conference (Santa Clara CA, 18-21 April 2005)
Early registration until February 28: http://www.mysqluc.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCC3mNtvXNTca6JD8RAp9JAJ9SMMX8vZV6Mlifxw7cnir55nb3ywCfeIB1
Po2RXdHt0sFp6aWnhRzgrdE=
=WXa4
-----END PGP SIGNATURE-----
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]