Changeset 537 for trunk/admin/UpdateTrace.php
- Timestamp:
- May 12, 2013, 11:21:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r525 r537 2532 2532 } 2533 2533 2534 function 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 2534 2544 $Updates = array( 2535 2545 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), 2536 2546 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'), 2538 2549 ); 2539 2550
Note:
See TracChangeset
for help on using the changeset viewer.