projects
/
scpubgit/Q-Branch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Hide bulk inserts from DBIx::Class
[scpubgit/Q-Branch.git]
/
lib
/
DBIx
/
Class
/
Storage
/
Debug
/
PrettyPrint.pm
diff --git
a/lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
b/lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
index
53de002
..
affb422
100644
(file)
--- a/
lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
+++ b/
lib/DBIx/Class/Storage/Debug/PrettyPrint.pm
@@
-25,6
+25,9
@@
sub print {
my $string = shift;
my $bindargs = shift || [];
+ return if defined $bindargs && defined $bindargs->[0] &&
+ $bindargs->[0] eq q('__BULK_INSERT__');
+
my $use_placeholders = !!$self->_sqlat->fill_in_placeholders;
# DBIC pre-quotes bindargs