ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nik Roberts" <...@ts.com>
Subject sql queries, mysql and comments
Date Fri, 18 May 2001 08:17:55 GMT
Hello,

I'm starting to use the 'sql' task to rebuild our database. We use mysql and
I've noticed that the sql task expects either '//' or '--' as comment
markers.  Mysql, unfortunately, uses '#'.

The .sql build file is created by using mysqldump, which inserts all of the
'#' comments.  And the sql task then falls over because it can't understand
the line.

I know I could just change the .sql file before running the sql task, but
this doesn't feel right.

Does anyone know of any other ways around this, or whether the sql task is
changing?

thanks,

nik roberts


Mime
View raw message