[Bast-commits] r5856 - in DBIx-Class-QueryLog/1.0/trunk: . lib/DBIx/Class

gphat at dev.catalyst.perl.org gphat at dev.catalyst.perl.org
Tue Apr 7 13:21:43 GMT 2009


Author: gphat
Date: 2009-04-07 14:21:42 +0100 (Tue, 07 Apr 2009)
New Revision: 5856

Modified:
   DBIx-Class-QueryLog/1.0/trunk/Changes
   DBIx-Class-QueryLog/1.0/trunk/lib/DBIx/Class/QueryLog.pm
Log:
Fix reset bug.


Modified: DBIx-Class-QueryLog/1.0/trunk/Changes
===================================================================
--- DBIx-Class-QueryLog/1.0/trunk/Changes	2009-04-05 13:51:03 UTC (rev 5855)
+++ DBIx-Class-QueryLog/1.0/trunk/Changes	2009-04-07 13:21:42 UTC (rev 5856)
@@ -1,5 +1,8 @@
 Revision history for DBIx-Class-QueryLog
 
+1.1.5
+    - Correct behavior of reset (thanks to Dmitry Bigunyak)
+
 1.1.4
     - Fix quoting of 'G' in Author name (thanks rjbs)
 

Modified: DBIx-Class-QueryLog/1.0/trunk/lib/DBIx/Class/QueryLog.pm
===================================================================
--- DBIx-Class-QueryLog/1.0/trunk/lib/DBIx/Class/QueryLog.pm	2009-04-05 13:51:03 UTC (rev 5855)
+++ DBIx-Class-QueryLog/1.0/trunk/lib/DBIx/Class/QueryLog.pm	2009-04-07 13:21:42 UTC (rev 5856)
@@ -19,7 +19,7 @@
 
 =cut
 
-our $VERSION = '1.1.4';
+our $VERSION = '1.1.5';
 
 =head1 SYNOPSIS
 
@@ -135,7 +135,7 @@
 sub reset {
     my $self = shift;
 
-    $self->log(undef);
+    $self->log([]);
 }
 
 =head2 add_to_log




More information about the Bast-commits mailing list