Ignore:
Timestamp:
May 12, 2013, 11:21:59 PM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Kódování tabulek sjednoceno na utf8 general.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/UpdateTrace.php

    r525 r537  
    25322532}
    25332533
     2534function UpdateTo537($Manager)
     2535{
     2536  // Set all string collation to utf8 general
     2537  $DbResult = $Manager->Execute("SHOW TABLES");
     2538  while($DbRow = $DbResult->fetch_row())
     2539  {
     2540    $Manager->Execute("ALTER TABLE `".$DbRow[0]."` CONVERT TO CHARACTER SET utf8");
     2541  } 
     2542}
     2543
    25342544$Updates = array(
    25352545        498 => array('Revision' => 506, 'Function' => 'UpdateTo506'),
    25362546        506 => array('Revision' => 510, 'Function' => 'UpdateTo510'),
    2537         510 => array('Revision' => 524, 'Function' => 'UpdateTo524'),
     2547        510 => array('Revision' => 524, 'Function' => 'UpdateTo524'),
     2548        524 => array('Revision' => 537, 'Function' => 'UpdateTo537'),
    25382549);
    25392550
Note: See TracChangeset for help on using the changeset viewer.