Hi. On Tue 2002-07-23 at 17:09:05 +0100, [EMAIL PROTECTED] wrote: > On Tue, Jul 23, 2002 at 11:59:43AM -0400, denonymous wrote: [...] > > The ability to run more than one query on one line is a feature, not a bug. > > An empty semicolon is a badly-formed query. It's perfectly logical for the > > interpreter to spot two semi-colons as a badly-formed query and call an > > error for it. [...] > I quite agree that to have more than one command on a line is a nice thing. > > What I am saying is that barfing on an empty command is not the > right thing to do.
IMO, it's the right thing. An empty command makes no sense. Having an empty command is a mistake. The interpreter should inform me, if I make a mistake and not silently ignore it. Maybe the double semicolon is the result of a bigger mistake. The interpreter surely is not able to spot any mistake I am able to make (in fact, the opposite is true: it can spot only a few ones), but when it can, it shall inform me. Greetings, Benjamin. -- [EMAIL PROTECTED] --------------------------------------------------------------------- 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