/[drupal]/contributions/modules/views_fastsearch/views_fastsearch.install
ViewVC logotype

Diff of /contributions/modules/views_fastsearch/views_fastsearch.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.3, Mon Jan 21 20:55:07 2008 UTC revision 1.1.2.4, Tue Mar 4 18:28:12 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: views_fastsearch.install,v 1.1.2.2 2007/08/30 15:26:36 douggreen Exp $  // $Id: views_fastsearch.install,v 1.1.2.3 2008/01/21 20:55:07 douggreen Exp $
3    
4  /**  /**
5   * Implementation of hook_uninstall   * Implementation of hook_uninstall
# Line 19  function views_fastsearch_uninstall() { Line 19  function views_fastsearch_uninstall() {
19  function views_fastsearch_update_1() {  function views_fastsearch_update_1() {
20    $ret = array();    $ret = array();
21    if (db_table_exists('search_node_links')) {    if (db_table_exists('search_node_links')) {
22      switch($GLOBALS['db_type']) {      switch ($GLOBALS['db_type']) {
23        case 'mysql':        case 'mysql':
24        case 'mysqli':        case 'mysqli':
25          $ret[] = update_sql("CREATE INDEX {search_index}_vfs_idx ON {search_index} (fromsid, word)");          $ret[] = update_sql("CREATE INDEX {search_index}_vfs_idx ON {search_index} (fromsid, word)");

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2