From: Jess Robinson Date: Tue, 21 Oct 2008 12:45:43 +0000 (+0000) Subject: Default sqlite_version so we dont get uninitialised errors when calling from ::Diff X-Git-Tag: v0.11008~291 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3db73ef80ef3e33e07774288757871abcc6ea2d1;p=dbsrgits%2FSQL-Translator.git Default sqlite_version so we dont get uninitialised errors when calling from ::Diff --- diff --git a/lib/SQL/Translator/Producer/SQLite.pm b/lib/SQL/Translator/Producer/SQLite.pm index 99fc885..a8d6681 100644 --- a/lib/SQL/Translator/Producer/SQLite.pm +++ b/lib/SQL/Translator/Producer/SQLite.pm @@ -153,7 +153,7 @@ sub create_table my $table_name = $table->name; my $no_comments = $options->{no_comments}; my $add_drop_table = $options->{add_drop_table}; - my $sqlite_version = $options->{sqlite_version}; + my $sqlite_version = $options->{sqlite_version} || 0; debug("PKG: Looking at table '$table_name'\n");