remove unnecessary sth inspection since _emit_query_complete will use the storage...
[dbsrgits/DBIx-Class-RowCountStatistics.git] / 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);
 };