? boost-615676.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.203
diff -u -p -r1.3.2.2.2.5.2.203 boost.module
--- boost.module	23 Oct 2009 02:56:20 -0000	1.3.2.2.2.5.2.203
+++ boost.module	27 Oct 2009 09:44:14 -0000
@@ -2058,7 +2058,7 @@ function boost_has_site_changed($set_max
   $last_comment_timestamp = boost_get_time('node_comment_statistics', 'last_comment_timestamp');
   $voteapi_vote = boost_get_time('votingapi_vote', 'timestamp');
 
-  $max = max($node_revisions, $history, $files, $comments, $node, $last_comment_timestamp, $voteapi_vote);
+  $max = max($node_revisions, $files, $comments, $node, $last_comment_timestamp, $voteapi_vote);
   if ($max != BOOST_MAX_TIMESTAMP) {
     if ($set_max) {
       variable_set('boost_max_timestamp', (int)$max);
@@ -2081,7 +2081,7 @@ function boost_has_site_changed($set_max
  *  Returns largest time in the table.
  */
 function boost_get_time($table, $column) {
-  if (db_result(db_query("SHOW TABLES LIKE '%s'", $table))) {
+  if (db_table_exists($table)) {
     return (int)db_result(db_query_range("SELECT %s FROM {%s} ORDER BY %s DESC", $column, $table, $column, 0, 1));
   }
   else {
