Revision history for DBIx::Class
+ * Misc
+ - Only allow known globals in SQL::Translator leak allowance
+
0.08205 2013-01-22
* New Features / Changes
- The emulate_limit() arbitrary limit dialect emulation mechanism is
delete $weak_registry->{$slot};
}
elsif ($slot =~ /^SQL::Translator::Generator::DDL::SQLite/) {
- # SQLT got much better, but still leaks a little
- delete $weak_registry->{$slot};
+ # SQLT::Producer::SQLite keeps global generators around for quoted
+ # and non-quoted DDL, allow one for each quoting style
+ delete $weak_registry->{$slot}
+ unless $cleared->{sqlt_ddl_sqlite}->{@{$weak_registry->{$slot}{weakref}->quote_chars}}++;
}
elsif ($slot =~ /^Hash::Merge/) {
# only clear one object of a specific behavior - more would indicate trouble