peijunzou / dbdeploy

Automatically exported from code.google.com/p/dbdeploy
0 stars 0 forks source link

Generated MySQL dbms script has incompatible comment in header and footer #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use CLI interface with -d mysql option to generate a sql script

What is the expected output? What do you see instead?
Header and footer should be using "-- " as the beginning; however, the header 
contains "-----" 
instead (which does not work with MySQL).

What version of the product are you using? On what operating system?
3.0m1

Please provide any additional information below.

Original issue reported on code.google.com by giz...@gmail.com on 30 Apr 2009 at 10:04

GoogleCodeExporter commented 8 years ago
Doh.  That was silly of me, I should have remembered that mysql (and others, I 
think)
are fussy about -- comments.

Original comment by gtack...@googlemail.com on 4 May 2009 at 12:56

GoogleCodeExporter commented 8 years ago
Fixed in r100.

Now uses simple -- comments, e.g.

-- START CHANGE SCRIPT #1: 001_change.sql

Original comment by gtack...@googlemail.com on 4 May 2009 at 1:09