projects
/
dbsrgits/DBIx-Class-RowCountStatistics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4899ea0
)
remove unnecessary sth inspection since _emit_query_complete will use the storage...
Robert Sedlacek [Wed, 26 Aug 2015 17:42:13 +0000 (17:42 +0000)]
lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
b/lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
index
97ad5e6
..
3edfd95
100644
(file)
--- a/
lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
+++ b/
lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
@@
-37,7
+37,7
@@
around all => sub {
before __finish_sth => sub {
my ($self) = @_;
- my $sql = $self->sth->{Statement};
+
$self->_emit_query_complete($self->{_ctrlo_rcs_count} || 0);
};