[Jifty-commit] r2597 - in Jifty-DBI/branches/od: . lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jan 26 08:42:50 EST 2007


Author: audreyt
Date: Fri Jan 26 08:42:47 2007
New Revision: 2597

Modified:
   Jifty-DBI/branches/od/Changes
   Jifty-DBI/branches/od/lib/Jifty/DBI.pm
   Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm

Log:
* Fix warning in die sighandler

Modified: Jifty-DBI/branches/od/Changes
==============================================================================
--- Jifty-DBI/branches/od/Changes	(original)
+++ Jifty-DBI/branches/od/Changes	Fri Jan 26 08:42:47 2007
@@ -1,5 +1,9 @@
 Revision history for Perl extension Jifty::DBI.
 
+0.39_9999 Fri Jan 26 21:30:48 CST 2007
+
+- Removed unneccessary use of Devel::SimpleTrace.
+
 0.39_999 Fri Jan 26 21:30:48 CST 2007
 
 - Improved error message for "length is 42":

Modified: Jifty-DBI/branches/od/lib/Jifty/DBI.pm
==============================================================================
--- Jifty-DBI/branches/od/lib/Jifty/DBI.pm	(original)
+++ Jifty-DBI/branches/od/lib/Jifty/DBI.pm	Fri Jan 26 08:42:47 2007
@@ -2,7 +2,7 @@
 use warnings;
 use strict;
 
-$Jifty::DBI::VERSION = '0.39_999';
+$Jifty::DBI::VERSION = '0.39_9999';
 
 =head1 NAME
 

Modified: Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm
==============================================================================
--- Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm	(original)
+++ Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm	Fri Jan 26 08:42:47 2007
@@ -79,10 +79,10 @@
 
     $SIG{__DIE__} = sub {
         # Calling it by hand means we restore the old sighandler.
+        no warnings 'uninitialized';
         $SIG{__DIE__} = (($old_sig_die == $SIG{__DIE__}) ? undef : $old_sig_die);
         return unless @_;
 
-        local $SIG{__DIE__} = sub { 1 };
         if ($_[0] =~ /near "is (\d+)"/) {
             carp @_, << ".";
 


More information about the Jifty-commit mailing list