From: Ken Youens-Clark Date: Fri, 23 Apr 2004 12:46:53 +0000 (+0000) Subject: Fixed error in output. X-Git-Tag: v0.06~66 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=afff8ac67f4291a68dcb72ab19508dcfd500ea0a;p=dbsrgits%2FSQL-Translator.git Fixed error in output. --- diff --git a/lib/SQL/Translator/Producer/Dumper.pm b/lib/SQL/Translator/Producer/Dumper.pm index b581d81..2bb2cb1 100644 --- a/lib/SQL/Translator/Producer/Dumper.pm +++ b/lib/SQL/Translator/Producer/Dumper.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::Dumper; # ------------------------------------------------------------------- -# $Id: Dumper.pm,v 1.4 2004-04-23 00:44:10 kycl4rk Exp $ +# $Id: Dumper.pm,v 1.5 2004-04-23 12:46:53 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002-4 SQLFairy Authors # @@ -61,7 +61,7 @@ use vars qw($VERSION); use Data::Dumper; -$VERSION = sprintf "%d.%02d", q$Revision: 1.4 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/; sub produce { my $t = shift; @@ -272,7 +272,7 @@ for my $table ( @tables ) { else { print "INSERT INTO $table_name (". join(', ', @{ $table->{'fields'} }) . - ' VALUES (', join(', ', @vals), ");\n"; + ') VALUES (', join(', ', @vals), ");\n"; } }