remove unnecessary sth inspection since _emit_query_complete will use the storage...
[dbsrgits/DBIx-Class-RowCountStatistics.git] / lib / CtrlO / DBIC / Cursor / RowCountStatistics.pm
index a236981..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);
 };
 
@@ -70,6 +70,9 @@ CtrlO::DBIC::Cursor::RowCountStatistics - Provide row-count statistics
 This L<DBIx::Class::Storage::DBI::Cursor> subclass allows you to log the
 number of rows that were fetched through the cursor.
 
+B<Warning>: This module currently lies on L<DBIx::Class> internals and
+might break with an update.
+
 =head1 DEBUG OBJECT METHODS
 
 =head2 query_complete (optional)
@@ -82,6 +85,9 @@ called with the following signature:
         ...
     }
 
+B<Note>: The passing of the C<@bind_values> is currently not yet
+implemented, and no values will be passed yet.
+
 =head1 AUTHOR
 
  r.sedlacek@shadowcat.co.uk