From: Ken Youens-Clark Date: Wed, 8 Oct 2003 23:00:42 +0000 (+0000) Subject: Needed semicolon on end of constraint def. X-Git-Tag: v0.04~97 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e49d2158e1f6fe898f3e001921daf26d04c1cd28;p=dbsrgits%2FSQL-Translator.git Needed semicolon on end of constraint def. --- diff --git a/lib/SQL/Translator/Producer/SQLite.pm b/lib/SQL/Translator/Producer/SQLite.pm index 0a24135..5e3a4c1 100644 --- a/lib/SQL/Translator/Producer/SQLite.pm +++ b/lib/SQL/Translator/Producer/SQLite.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::SQLite; # ------------------------------------------------------------------- -# $Id: SQLite.pm,v 1.7 2003-10-04 01:21:36 kycl4rk Exp $ +# $Id: SQLite.pm,v 1.8 2003-10-08 23:00:42 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -29,7 +29,7 @@ use SQL::Translator::Utils qw(debug header_comment); use vars qw[ $VERSION $DEBUG $WARN ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.8 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; $WARN = 0 unless defined $WARN; @@ -171,7 +171,7 @@ sub produce { push @constraint_defs, "CREATE UNIQUE INDEX $name on $table_name ". - '(' . join( ', ', @fields ) . ')'; + '(' . join( ', ', @fields ) . ');'; } $create .= join(",\n", map { " $_" } @field_defs ) . "\n);\n";