From: Lukas Mai Date: Sun, 2 Oct 2011 12:02:57 +0000 (+0200) Subject: image is returned, not written w/o out_file (bug #71398) X-Git-Tag: v0.11011~77 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2627fb5e033956366713631d2af00177dc8306f9;p=dbsrgits%2FSQL-Translator.git image is returned, not written w/o out_file (bug #71398) --- diff --git a/AUTHORS b/AUTHORS index 2e18e14..51bd194 100644 --- a/AUTHORS +++ b/AUTHORS @@ -26,6 +26,7 @@ The following people have contributed to the SQLFairy project: - John Goulah - Ken Youens-Clark - Kevin McClellan +- Lukas 'mauke' Mai - Mark Addison - Mikey Melillo - Moritz Onken diff --git a/lib/SQL/Translator/Producer/Diagram.pm b/lib/SQL/Translator/Producer/Diagram.pm index ac7013e..1ae823d 100644 --- a/lib/SQL/Translator/Producer/Diagram.pm +++ b/lib/SQL/Translator/Producer/Diagram.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::Diagram; # ------------------------------------------------------------------- -# Copyright (C) 2002-2009 SQLFairy Authors +# Copyright (C) 2002-2011 SQLFairy Authors # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -33,7 +33,7 @@ Use via SQL::Translator: to => 'GraphViz', producer_args => { # All args are optional - out_file => 'schema.png',# if not provided will go to STDOUT + out_file => 'schema.png',# if not provided will return from translate() output_type => 'png', # is default or 'jpeg' title => 'My Schema', # default is filename font_size => 'medium', # is default or 'small,' 'large'