Re: [siesta-dev] Failed tests and some warnings, patches attached

[prev] [thread] [next] [lurker] [Date index for 2004/06/02]

From: Richard Clamp
Subject: Re: [siesta-dev] Failed tests and some warnings, patches attached
Date: 16:51 on 02 Jun 2004
On Wed, Jun 02, 2004 at 02:35:08PM +0100, Richard Clamp wrote:
> Certainly the 09defer.t would tickle this.

This gets things passing more tests, though of course adds in a
dependency on 0.96 for the ->remove_from_object_index method.

--- lib/Siesta/DBI.pm   (revision 1525)
+++ lib/Siesta/DBI.pm   (working copy)
@@ -73,7 +73,13 @@
     return 1;
 }
 
+sub delete {
+    my $self = shift;
+    $self->remove_from_object_index;
+    return $self->SUPER::delete( @_ );
+}
 
+
 1;
 __DATA__
 
I still need to reach out to the Class::DBI folks and find out where
that needs to live though, Class::DBI proper or Class::DBI::SQLite.

-- 
Richard Clamp <richardc@xxxxxxxxx.xxx>
There's stuff above here

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52