From: Ken Youens-Clark Date: Thu, 24 Apr 2003 16:14:54 +0000 (+0000) Subject: Minor cosmetic changes. X-Git-Tag: v0.02~178 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=95f99bd3ed44cdc1ce3f6a23556f245d8109b56a;p=dbsrgits%2FSQL-Translator.git Minor cosmetic changes. --- diff --git a/lib/SQL/Translator/Producer/MySQL.pm b/lib/SQL/Translator/Producer/MySQL.pm index a871524..5734be3 100644 --- a/lib/SQL/Translator/Producer/MySQL.pm +++ b/lib/SQL/Translator/Producer/MySQL.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::MySQL; # ------------------------------------------------------------------- -# $Id: MySQL.pm,v 1.15 2003-04-18 20:43:05 allenday Exp $ +# $Id: MySQL.pm,v 1.16 2003-04-24 16:14:54 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -24,7 +24,7 @@ package SQL::Translator::Producer::MySQL; use strict; use vars qw[ $VERSION $DEBUG ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.15 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.16 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; use Data::Dumper; @@ -227,7 +227,9 @@ sub produce { # Footer # $create .= "\n)"; - while ( my ( $key, $val ) = each %{ $table_data->{'table_options'} ||= { } } ) { + while ( + my ( $key, $val ) = each %{ $table_data->{'table_options'} ||= {} } + ) { $create .= " $key=$val" } $create .= ";\n\n";