rev 1826 - trunk/Email-Store/lib/Email/Store

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

From: simon
Subject: rev 1826 - trunk/Email-Store/lib/Email/Store
Date: 21:45 on 06 Feb 2005
Author: simon
Date: 2005-02-06 21:45:25 +0000 (Sun, 06 Feb 2005)
New Revision: 1826

Modified:
   trunk/Email-Store/lib/Email/Store/DBI.pm
Log:
Check for SQLite or SQLite2


Modified: trunk/Email-Store/lib/Email/Store/DBI.pm
===================================================================
--- trunk/Email-Store/lib/Email/Store/DBI.pm	2005-02-06 17:56:12 UTC (rev 1825)
+++ trunk/Email-Store/lib/Email/Store/DBI.pm	2005-02-06 21:45:25 UTC (rev 1826)
@@ -7,7 +7,7 @@
     if (@params) {
         $self->set_db(Main => @params);
         $self->translate(mysql => $self->__driver);
-        if ($self->__driver eq "SQLite") {
+        if ($self->__driver =~ /SQLite/) {
             $self->db_Main->{sqlite_handle_binary_nulls} = 1;
         }
     }

Generated at 22:00 on 06 Feb 2005 by mariachi 0.52