database errors
teimel - April 10, 2007 - 17:09
| Project: | CacheExclude |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I got some DB error messages under Drupal 5.1 (table name was empty in the queries, so they could not run), and noticed, that in the code of the module there is no second parameter given, when you call cache_clear_all. According to the API:
cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE)
$table If set, the table $table to delete from. Mandatory argument if $cid is set.
So I set the second parameter to "cache_page", and the DB errors disappeared.

#1
Dur. I had fixed that in the HEAD version but not copied it back to the 5.x-dev copy. Should be fixed now. Thanks.
#2