projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
use TOP for sybase limit count thanks to refactored count
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI.pm
diff --git
a/lib/DBIx/Class/Storage/DBI.pm
b/lib/DBIx/Class/Storage/DBI.pm
index
0141e1c
..
cee87a7
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI.pm
+++ b/
lib/DBIx/Class/Storage/DBI.pm
@@
-1252,7
+1252,7
@@
sub _trim_attributes_for_count {
# take off any column specs, any pagers, record_filter is cdbi, and no point of ordering a count
delete @attrs{qw/
columns +columns select +select as +as rows offset page pager order_by
- record_filter/)};
+ record_filter/};
return \%attrs;
}