summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-22 07:02:58 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-22 07:02:58 +0000
commit5b3c6ab59548a31fac71a3e408085c9204ac1438 (patch)
treef931c936327252d20376b054a0ac60eb76fb6f5d /includes
parent9463ec1d400f79e08dab3ff438b6a0c0576ec136 (diff)
downloadbrdo-5b3c6ab59548a31fac71a3e408085c9204ac1438.tar.gz
brdo-5b3c6ab59548a31fac71a3e408085c9204ac1438.tar.bz2
#934634 by carlos8f: Fix error on update if cache_path table is already present.
Diffstat (limited to 'includes')
-rw-r--r--includes/update.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/update.inc b/includes/update.inc
index 5fdc16981..496b824c2 100644
--- a/includes/update.inc
+++ b/includes/update.inc
@@ -466,6 +466,9 @@ function update_fix_d7_requirements() {
db_add_index('system', 'system_list', array('weight', 'name'));
// Add the cache_path table.
+ if (db_table_exists('cache_path')) {
+ db_drop_table('cache_path');
+ }
require_once('./modules/system/system.install');
$schema['cache_path'] = system_schema_cache_7054();
$schema['cache_path']['description'] = 'Cache table used for path alias lookups.';