projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b8d88d9
)
Better not touch Top - it's too complex at this point
Peter Rabbitson [Sat, 5 Dec 2009 09:46:41 +0000 (09:46 +0000)]
lib/DBIx/Class/Storage/DBI.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI.pm
b/lib/DBIx/Class/Storage/DBI.pm
index
28e3465
..
08f2619
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI.pm
+++ b/
lib/DBIx/Class/Storage/DBI.pm
@@
-1782,7
+1782,7
@@
sub _select_args {
elsif (
($attrs->{rows} || $attrs->{offset})
&&
- ($sql_maker->limit_dialect eq 'RowNumberOver' || $sql_maker->limit_dialect eq 'Top' )
+ $sql_maker->limit_dialect eq 'RowNumberOver'
&&
(ref $ident eq 'ARRAY' && @$ident > 1) # indicates a join
&&