Changeset 387
- Timestamp:
- Mar 14, 2010, 6:06:24 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r386 r387 114 114 $Where = substr($Where, 0, -7).')'; 115 115 } else $Where = '`'.$Group['MangosTableIndex'].'`'; 116 $Where .= ' = "'.$Line[$Group['PrimaryKeyItem']].'";' ."\n";116 $Where .= ' = "'.$Line[$Group['PrimaryKeyItem']].'";'; 117 117 $Line = 'UPDATE `'.$Group['MangosTable'].'` SET '.$Values.' WHERE '.$Where; 118 118 $Line = str_replace("\n", '\n', $Line); 119 119 $Line = str_replace("\r", '', $Line); 120 $Buffer .= $Line ;120 $Buffer .= $Line."\n"; 121 121 } 122 122 } -
trunk/sql/updates/385.sql
r385 r387 1 1 UPDATE `Group` SET `MangosTableIndex` = 'menu_id,id' WHERE `Group`.`Id` =16; 2 UPDATE `Group` SET `PrimaryKeyItem` = 'Index' WHERE `Group`.`Id` =16; 2 3 ALTER TABLE `TextNPCOption` ADD `Index` VARCHAR( 255 ) NOT NULL AFTER `Take`; 3 4 4 5 INSERT INTO `GroupItem` (`Id`, `Group`, `Name`, `Column`, `Visible`, `MangosColumn`, `AddonFileName`, `DBCColumnIndex`) VALUES (66, 16, 'Index', 'Index', 0, '', '', 0); 5 6 6 INSERT INTO ` wowpreklad`.`ExportVersion` (7 INSERT INTO `ExportVersion` ( 7 8 `Id` , 8 9 `ExportType` , … … 12 13 NULL , '1', '75' 13 14 ); 14 INSERT INTO `wowpreklad`.`ExportVersion` (15 INSERT INTO `ExportVersion` ( 15 16 `Id` , 16 17 `ExportType` , … … 20 21 NULL , '2', '75' 21 22 ); 23 24 UPDATE `Group` SET `MangosTable` = 'creature_ai_texts' WHERE `Group`.`Id` =11;
Note:
See TracChangeset
for help on using the changeset viewer.