[Tickets #7701] Re: "DELETE FROM horde_cache" error

bugs at horde.org bugs at horde.org
Thu Nov 20 02:57:35 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7701
------------------------------------------------------------------------------
  Ticket             | 7701
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | "DELETE FROM horde_cache" error
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
-State              | Assigned
+State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
-Owners             | Michael Slusarz
+Owners             | Horde Developers, Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2008-11-19 21:57) wrote:

I really have no idea.  This is the query:

         $query = 'DELETE FROM ' . $this->_params['table']
             . ' WHERE cache_expiration < ? AND cache_expiration != 0';
         $values = array(time());
         $result = $this->_write_db->query($query, $values);

I'm not the DB expert, but that looks OK to me (unless time() is  
really returning an empty string).







More information about the bugs mailing list