-
Marc,
I might have not been clear in my text, but the example I gave did show what I mean....
In this URL http://dev.mysql.com/doc/refman/5.1/en/ansi-diff-comments.html
There is a line that states: Another safe feature is that the mysql command-line client ignores lines that start with “--”.
So all lines that just starts with -- are considered a comment for MySQL cli,
I think...
2009-09-16 13:07:25 UTC in phpMyAdmin
-
The parser doesn't respect -- for commenting,
only -- (hyphenhyphenspace) is supported
So this works:
SELECT 1
-- Test
union
SELECT 2;
But this not:
SELECT 1
--Test
union
SELECT 2;
SQL standards tell us that just hyphenhyphen is enough to comment a line and the additional space is not required.
Ries.
2009-09-16 02:54:49 UTC in phpMyAdmin
-
rvt committed patchset 3872 of module mgw to the more.groupware CVS repository, changing 4 files.
2003-11-08 10:56:04 UTC in more.groupware
-
rvt committed patchset 3818 of module mgw to the more.groupware CVS repository, changing 2 files.
2003-11-03 22:18:42 UTC in more.groupware
-
rvt committed patchset 3807 of module mgw to the more.groupware CVS repository, changing 7 files.
2003-11-02 22:21:48 UTC in more.groupware
-
rvt committed patchset 3759 of module mgw to the more.groupware CVS repository, changing 11 files.
2003-10-27 22:06:24 UTC in more.groupware
-
rvt committed patchset 3606 of module mgw to the more.groupware CVS repository, changing 4 files.
2003-10-18 08:56:39 UTC in more.groupware
-
rvt committed patchset 13 of module whale to the Whale, a SQL based logfile filter CVS repository, changing 2 files.
2003-03-08 23:03:26 UTC in Whale, a SQL based logfile filter
-
rvt committed patchset 12 of module whale to the Whale, a SQL based logfile filter CVS repository, changing 1 files.
2003-03-06 23:00:53 UTC in Whale, a SQL based logfile filter
-
rvt committed patchset 11 of module whale to the Whale, a SQL based logfile filter CVS repository, changing 1 files.
2003-03-06 22:56:48 UTC in Whale, a SQL based logfile filter