From: Peter Rabbitson Date: Sat, 9 Jan 2010 01:15:53 +0000 (+0000) Subject: Changes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ad89bf5245096ebf2f9a9df53525c323dd6e44b;p=dbsrgits%2FDBIx-Class-Historic.git Changes --- diff --git a/Changes b/Changes index 24e4967..316308f 100644 --- a/Changes +++ b/Changes @@ -10,6 +10,7 @@ Revision history for DBIx::Class parsed by SQL::Translator::Parser::DBIx::Class - Schema POD improvement for dclone - Fix regression in context sensitiveness of deployment_statements + - Fix nasty schema/dbhandle leak due to SQL::Translator 0.08115 2009-12-10 09:02:00 (CST) - Real limit/offset support for MSSQL server (via Row_Number) diff --git a/lib/SQL/Translator/Parser/DBIx/Class.pm b/lib/SQL/Translator/Parser/DBIx/Class.pm index a94915a..5d146f8 100644 --- a/lib/SQL/Translator/Parser/DBIx/Class.pm +++ b/lib/SQL/Translator/Parser/DBIx/Class.pm @@ -32,7 +32,7 @@ use base qw(Exporter); # ------------------------------------------------------------------- sub parse { # this is a hack to prevent schema leaks due to a retarded SQLT implementation - # DO NOT REMOVE + # DO NOT REMOVE (until SQLT2 is out, the all of this will be rewritten anyway) Scalar::Util::weaken ($_[1]); my ($tr, $data) = @_;