From: Matt S Trout Date: Tue, 19 Nov 2013 05:12:13 +0000 (+0000) Subject: need to clear converter after setting limit dialect X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0f03f66916e2edd6fa0d1fb83be2193d200f88c;p=dbsrgits%2FDBIx-Class.git need to clear converter after setting limit dialect --- diff --git a/lib/DBIx/Class/SQLMaker.pm b/lib/DBIx/Class/SQLMaker.pm index efd9687..bbb445e 100644 --- a/lib/DBIx/Class/SQLMaker.pm +++ b/lib/DBIx/Class/SQLMaker.pm @@ -50,7 +50,10 @@ use namespace::clean; has limit_dialect => ( is => 'rw', default => sub { 'LimitOffset' }, - trigger => sub { shift->clear_renderer_class } + trigger => sub { + $_[0]->clear_renderer_class; + $_[0]->clear_converter; + } ); sub BUILD {