diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-19 19:14:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-19 19:14:43 +0000 |
commit | 63dba2a07da80609306e9e09e88cc989bbd71de6 (patch) | |
tree | ff8aa7337fd6d1e239f8c18ca02ecfed8534f326 | |
parent | 0444684a2be60cdbb34874c82b970446198b7b07 (diff) | |
download | brdo-63dba2a07da80609306e9e09e88cc989bbd71de6.tar.gz brdo-63dba2a07da80609306e9e09e88cc989bbd71de6.tar.bz2 |
- Patch #692044 by Damien Tournoud, effulgentsia, jbrown: a site with statistics module enabled is much slower in serving cached pages in D7 than in D6.
-rw-r--r-- | includes/update.inc | 5 | ||||
-rw-r--r-- | modules/block/block.install | 7 | ||||
-rw-r--r-- | modules/system/system.install | 2 | ||||
-rw-r--r-- | modules/update/update.install | 2 |
4 files changed, 9 insertions, 7 deletions
diff --git a/includes/update.inc b/includes/update.inc index 317ffa577..bc2501296 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -164,11 +164,6 @@ function update_prepare_d7_bootstrap() { 'not null' => TRUE, 'default' => 0, ), - 'headers' => array( - 'description' => 'Any custom HTTP headers to be added to cached data.', - 'type' => 'text', - 'not null' => FALSE, - ), 'serialized' => array( 'description' => 'A flag to indicate whether content is serialized (1) or not (0).', 'type' => 'int', diff --git a/modules/block/block.install b/modules/block/block.install index ce2633eea..8f6863a90 100644 --- a/modules/block/block.install +++ b/modules/block/block.install @@ -387,3 +387,10 @@ function block_update_7004() { // Rebuild theme data, so the new 'help' region is identified. system_rebuild_theme_data(); } + +/** + * Remove {cache_block}.headers column. + */ +function block_update_7005() { + db_drop_field('cache_block', 'headers'); +} diff --git a/modules/system/system.install b/modules/system/system.install index a80e6ceda..38eec361d 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2380,7 +2380,7 @@ function system_update_7053() { * Remove {cache_*}.headers columns. */ function system_update_7054() { - $cache_tables = array('cache', 'cache_bootstrap', 'cache_filter', 'cache_form', 'cache_menu', 'cache_page', 'cache_path'); + $cache_tables = array('cache', 'cache_filter', 'cache_form', 'cache_menu', 'cache_page', 'cache_path'); foreach ($cache_tables as $table) { db_drop_field($table, 'headers'); } diff --git a/modules/update/update.install b/modules/update/update.install index f324ce570..5bc855847 100644 --- a/modules/update/update.install +++ b/modules/update/update.install @@ -169,7 +169,7 @@ function update_update_7000() { } /** - * Remove {cache_update}.headers columns. + * Remove {cache_update}.headers column. */ function update_update_7001() { db_drop_field('cache_update', 'headers'); |