Changeset 1890 in ExiteCMS


Ignore:
Timestamp:
10/20/08 08:51:03 (3 years ago)
Author:
hverton
Message:

updated the module_installer to create utf8 tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/download_statistics/php-files/modules/download_statistics/module_installer.php

    r1826 r1890  
    261261  KEY dlsi_onmap (dlsi_ccode, dlsi_onmap), 
    262262  KEY dlsi_ccode (dlsi_ccode) 
    263 ) ENGINE=MyISAM"); 
     263) ENGINE=MyISAM DEFAULT CHARSET=utf8"); 
    264264 
    265265// statistics per file table 
     
    271271  PRIMARY KEY  (dlsf_id), 
    272272  UNIQUE KEY dlsf_file (dlsf_file) 
    273 ) ENGINE=MyISAM"); 
     273) ENGINE=MyISAM DEFAULT CHARSET=utf8"); 
    274274 
    275275// statistics per ip per file table 
     
    280280  KEY dlsf_id (dlsf_id), 
    281281  KEY dlsi_id (dlsi_id) 
    282 ) ENGINE=MyISAM"); 
     282) ENGINE=MyISAM DEFAULT CHARSET=utf8"); 
    283283 
    284284// Statistics counters table 
     
    292292  dlsc_order SMALLINT(5) UNSIGNED NOT NULL default 0, 
    293293  PRIMARY KEY (dlsc_id) 
    294 ) ENGINE = MYISAM"); 
     294) ENGINE = MYISAM DEFAULT CHARSET=utf8"); 
    295295 
    296296// statistics file cache table (to detect retries) 
     
    300300  dlsfc_timeout int(10) unsigned NOT NULL default 0, 
    301301  UNIQUE KEY dlsfc_file (dlsfc_ip, dlsfc_file) 
    302 ) ENGINE=MyISAM"); 
     302) ENGINE=MyISAM DEFAULT CHARSET=utf8"); 
    303303 
    304304$mod_install_cmds[] = array('type' => 'function', 'value' => "install_dlstats"); 
Note: See TracChangeset for help on using the changeset viewer.