projects
/
dbsrgits/DBIx-Class-RowCountStatistics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f6e5b27
)
only call query_complete when the debugobj supports it
Robert Sedlacek [Wed, 26 Aug 2015 17:05:54 +0000 (17:05 +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
882cc54
..
1e3221d
100644
(file)
--- a/
lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
+++ b/
lib/CtrlO/DBIC/Cursor/RowCountStatistics.pm
@@
-47,7
+47,8
@@
sub _emit_query_complete {
$count,
$self->storage->_cached_sql,
# TODO pass bind params
- ) if $self->storage->debug;
+ ) if $self->storage->debug
+ and $self->storage->debugobj->can('query_complete');
}
1;