Author: spadkins
Date: Wed Jun 30 14:11:59 2010
New Revision: 14218
Modified:
p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm
Log:
fix debug_sql_min_time bug for _insert_rows()
Modified: p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm (original)
+++ p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm Wed Jun 30
14:11:59 2010
@@ -302,7 +302,8 @@
my $nrows = 0;
my $ok = 1;
- my $context_options = $self->{context}{options};
+ my $context = $self->{context};
+ my $context_options = $context->{options};
my $debug_sql = $context_options->{debug_sql};
my $profiler = $context_options->{"app.Context.profiler"};
my $explain_sql = $context_options->{explain_sql};