[Building Sakai] SAK-15801: Commenting syntax for conversion scripts

Aaron Zeckoski aaronz at vt.edu
Tue Mar 31 08:54:34 PDT 2009


Right, this was my suggestion and is the fix that is currently in.
A few people should test it to be sure all is ok.
-AZ

On Tue, Mar 31, 2009 at 1:10 PM, Seth Theriault <slt at columbia.edu> wrote:
> Aaron Zeckoski wrote:
>
>> Isn't the -- syntax also compatible with both? Like so:
>> -- this is a comment
>
> Yes, it is.
>
> As I said in the JIRA issue itself, this is all about working
> around the fact that MySQL doesn't fully support the standard
> SQL "--" syntax for comments.
>
> After reading Dru's message about how Oracle treats "/* */"
> comments, I think it might be easier just to enforce the
>
> --<SPACE>comment
>
> format for all comments in our SQL files.
>
> In addition, using the above format makes it easy to discard
> all of the comments in a file using grep or the likef or
> debugging purposes.
>
> Seth
>
>



-- 
Aaron Zeckoski (aaronz at vt.edu)
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]


More information about the sakai-dev mailing list