Michael, with my last reply, I was somehow wrong. It looks like a bug, indeed.
> I am using MySQL 4.0.10 on Windows. If I process SELECT @@whatever (where > whatever is not a valid global variable name), the connection is closed. > Is this by design? Then it should be documented. Otherwise it is probably a > bug. Here's the _complete_ output, showing there is a problem: mysql> SELECT @@whatever; ERROR 1193: Unknown system variable 'whatever' mysql> SHOW TABLES LIKE 't'; ERROR 2013: Lost connection to MySQL server during query mysql> SHOW TABLES LIKE 't'; ERROR 2006: MySQL server has gone away No connection. Trying to reconnect... MySQL 4.0.10-gamma-max-nt-log on Win2K SP2. Regards, -- Stefan Hinz <[EMAIL PROTECTED]> iConnect GmbH <http://iConnect.de> Heesestr. 6, 12169 Berlin (Germany) Telefon: +49 30 7970948-0 Fax: +49 30 7970948-3 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php