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

index 97ad5e6..3edfd95 100644 (file)
@@ -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);
 };