projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4424330
)
need to clear converter after setting limit dialect
Matt S Trout [Tue, 19 Nov 2013 05:12:13 +0000 (
05:12
+0000)]
lib/DBIx/Class/SQLMaker.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/SQLMaker.pm
b/lib/DBIx/Class/SQLMaker.pm
index
efd9687
..
bbb445e
100644
(file)
--- 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 {