[9779] Drop trailing whitespaces.

This commit is contained in:
VladimirMangos 2010-04-23 05:26:08 +04:00
parent d3cc3c2f27
commit 15dd77873e
69 changed files with 23 additions and 81 deletions

View file

@ -890,7 +890,6 @@ CREATE TABLE `character_stats` (
`attackPower` int(10) UNSIGNED NOT NULL default '0',
`rangedAttackPower` int(10) UNSIGNED NOT NULL default '0',
`spellPower` int(10) UNSIGNED NOT NULL default '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,3 +1,2 @@
DELETE FROM mangos_string WHERE entry = 290;
INSERT INTO mangos_string VALUES (290, 'Ticket of %s (Last updated: %s):\n%s', NULL, NULL, NULL, NULL, NULL, NULL, NULL);

View file

@ -21,4 +21,3 @@ CREATE TABLE `character_pet_declinedname` (
PRIMARY KEY (`id`),
KEY owner_key (`owner`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

View file

@ -84,4 +84,3 @@ ALTER TABLE mangos_string
ADD COLUMN content_loc8 text AFTER content_loc7;
UPDATE mangos_string SET content_loc8 = content_loc7;

View file

@ -2,4 +2,3 @@ DELETE FROM mangos_string WHERE entry IN (518,521);
INSERT INTO mangos_string VALUES
(518,'%d - |cffffffff|Hitemset:%d|h[%s %s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(521,'%d - |cffffffff|Hskill:%d|h[%s %s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -31,6 +31,3 @@ INSERT INTO `spell_chain` (spell_id,prev_spell,first_spell,rank,req_spell) VALUE
(16813,16812,16689,5,9852),
(17329,16813,16689,6,9853),
(27009,17329,16689,7,26989);

View file

@ -1,4 +1,3 @@
DELETE FROM mangos_string WHERE entry IN (592);
INSERT INTO mangos_string VALUES
(592,'You have learned all spells in craft: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -24,4 +24,3 @@ LOCK TABLES `reference_loot_template` WRITE;
/*!40000 ALTER TABLE `reference_loot_template` DISABLE KEYS */;
/*!40000 ALTER TABLE `reference_loot_template` ENABLE KEYS */;
UNLOCK TABLES;

View file

@ -4,4 +4,3 @@ CREATE TABLE `areatrigger_scripts` (
`ScriptName` CHAR( 64 ) NOT NULL ,
PRIMARY KEY ( `entry` )
) ENGINE = MYISAM DEFAULT CHARSET=utf8;

View file

@ -18,5 +18,3 @@ CREATE TABLE `locales_npc_option` (
`box_text_loc8` text,
PRIMARY KEY (`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View file

@ -2,4 +2,3 @@ DELETE FROM mangos_string WHERE entry IN (171,172);
INSERT INTO mangos_string VALUES
(172,'server console command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -17,4 +17,3 @@ INSERT INTO `realmd_db_version` VALUES
(NULL);
/*!40000 ALTER TABLE `realmd_db_version` ENABLE KEYS */;
UNLOCK TABLES;

View file

@ -2,4 +2,3 @@ ALTER TABLE realmd_db_version CHANGE COLUMN required_2008_11_07_02_realmd_realmd
ALTER TABLE `account`
CHANGE COLUMN `email` `email` text;

View file

@ -18,4 +18,3 @@ CREATE TABLE `db_script_string` (
`content_loc8` text,
PRIMARY KEY (`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View file

@ -2,4 +2,3 @@ ALTER TABLE character_db_version CHANGE COLUMN required_2008_11_07_03_characters
ALTER TABLE `character_aura` ADD `stackcount` INT NOT NULL DEFAULT '1' AFTER `effect_index` ;
ALTER TABLE `pet_aura` ADD `stackcount` INT NOT NULL DEFAULT '1' AFTER `effect_index` ;

View file

@ -75,4 +75,3 @@ INSERT INTO `spell_proc_event` VALUES (48159, 0x20, 6, 0x0000000000000000, 0x000
-- (48160) Vampiric Touch (Rank 5)
DELETE FROM `spell_proc_event` WHERE `entry` IN (48160);
INSERT INTO `spell_proc_event` VALUES (48160, 0x20, 6, 0x0000000000000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -59,4 +59,3 @@ INSERT INTO `spell_proc_event` VALUES (31877, 0x00, 10, 0x00800000, 0x00000000,
-- (31878) Judgements of the Wise (Rank 3)
DELETE FROM `spell_proc_event` WHERE `entry` IN (31878);
INSERT INTO `spell_proc_event` VALUES (31878, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -27,5 +27,3 @@ INSERT INTO `spell_proc_event` VALUES (47557, 0x00, 6, 0x00001800, 0x00000000, 0
-- (32409) Shadow Word: Death ()
DELETE FROM `spell_proc_event` WHERE `entry` IN (32409);
INSERT INTO `spell_proc_event` VALUES (32409, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -19,5 +19,3 @@ INSERT INTO `spell_proc_event` VALUES (44395, 0x00, 0, 0x00000000, 0x00000000, 0
-- (44396) Incanter's Absorption (Rank 3)
DELETE FROM `spell_proc_event` WHERE `entry` IN (44396);
INSERT INTO `spell_proc_event` VALUES (44396, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0.000000, 0.000000, 0);

View file

@ -55,4 +55,3 @@ INSERT INTO `spell_proc_event` VALUES (47539, 0x00, 6, 0x00001800, 0x00800000, 0
-- (61257) Runic Power Back on Snare/Root (Rank 5)
DELETE FROM `spell_proc_event` WHERE `entry` IN (61257);
INSERT INTO `spell_proc_event` VALUES (61257, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000202A8, 0x00010000, 0.000000, 0.000000, 0);

View file

@ -8,4 +8,3 @@ ALTER TABLE `characters`
ADD COLUMN `bgy` float NOT NULL default '0' AFTER `bgx`,
ADD COLUMN `bgz` float NOT NULL default '0' AFTER `bgy`,
ADD COLUMN `bgo` float NOT NULL default '0' AFTER `bgz`;

View file

@ -2,4 +2,3 @@ ALTER TABLE character_db_version CHANGE COLUMN required_7255_01_characters_chara
ALTER TABLE auctionhouse
DROP COLUMN location;

View file

@ -13,4 +13,3 @@ INSERT INTO `spell_chain` VALUES
(53188, 50294, 50294, 2, 0),
(53189, 53188, 50294, 3, 0),
(53190, 53189, 50294, 4, 0);

View file

@ -6,4 +6,3 @@ UPDATE character_pet
UPDATE character_pet
SET abdata = SUBSTRING_INDEX(SUBSTRING_INDEX(abdata,' ',(10-3)*2),' ',-(10-3-3)*2)
WHERE length(SUBSTRING_INDEX(abdata, ' ', 20)) < length(abdata) and length(SUBSTRING_INDEX(abdata, ' ', 21)) >= length(abdata);

View file

@ -1,4 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_7988_06_mangos_gameobject_template required_7988_08_mangos_spell_bonus_data bit;
DELETE FROM `spell_bonus_data` WHERE `entry` IN (18265);

View file

@ -5,4 +5,3 @@ ALTER TABLE character_achievement_progress ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE character_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
ALTER TABLE character_pet_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
ALTER TABLE guild_eventlog ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog';

View file

@ -7,4 +7,3 @@ CREATE TABLE `creature_battleground` (
`event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event',
PRIMARY KEY (`guid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature battleground indexing system';

View file

@ -7,4 +7,3 @@ CREATE TABLE `gameobject_battleground` (
`event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event',
PRIMARY KEY (`guid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='GameObject battleground indexing system';

View file

@ -1,4 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_8549_03_mangos_battleground_events required_8573_01_mangos_mangos_string bit;
DELETE FROM mangos_string WHERE entry IN(573,574);

View file

@ -4,4 +4,3 @@ ALTER TABLE db_version CHANGE COLUMN required_8841_02_mangos_spell_chain require
DELETE FROM `spell_proc_event` WHERE `entry` IN (20335);
INSERT INTO `spell_proc_event` VALUES
(20335, 0x00, 10, 0x00800000, 0x00000000, 0x00000008, 0x00000100, 0x00000000, 0.000000, 100.000000, 0);

View file

@ -3,4 +3,3 @@ ALTER TABLE db_version CHANGE COLUMN required_8995_01_mangos_spell_proc_event re
DELETE FROM spell_proc_event WHERE entry=61062;
INSERT INTO spell_proc_event VALUES
(61062, 0x00000000, 3, 0x00000000, 0x00000100, 0x00000000, 0x00004000, 0x00010000, 0.000000, 0.000000, 0);

View file

@ -3,7 +3,6 @@ ALTER TABLE db_version CHANGE COLUMN required_9331_01_mangos_quest_template requ
ALTER TABLE spell_bonus_data
CHANGE COLUMN entry entry mediumint(8) unsigned NOT NULL;
DELETE FROM spell_bonus_data WHERE entry = 71824;
INSERT INTO spell_bonus_data VALUES
(71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus');

View file

@ -3,4 +3,3 @@ ALTER TABLE db_version CHANGE COLUMN required_9366_01_mangos_spell_bonus_data re
DELETE FROM `spell_proc_event` WHERE `entry` = 67228;
INSERT INTO `spell_proc_event` VALUES
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -1,2 +1 @@
ALTER TABLE character_db_version CHANGE COLUMN required_9359_01_characters_characters required_9374_01_characters_character_glyphs bit;

View file

@ -1,2 +1 @@
ALTER TABLE db_version CHANGE COLUMN required_9380_01_mangos_command required_9382_01_mangos_command bit;

View file

@ -11,4 +11,3 @@ UPDATE item_template
ALTER TABLE item_template
CHANGE COLUMN Duration Duration int(11) UNSIGNED DEFAULT '0' NOT NULL;

View file

@ -32,6 +32,5 @@ CREATE TABLE `character_stats` (
`attackPower` int(10) UNSIGNED NOT NULL default '0',
`rangedAttackPower` int(10) UNSIGNED NOT NULL default '0',
`spellPower` int(10) UNSIGNED NOT NULL default '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -10,4 +10,3 @@ CREATE TABLE `character_queststatus_weekly` (
ALTER TABLE `saved_variables`
ADD COLUMN `NextWeeklyQuestResetTime` bigint(40) unsigned NOT NULL default '0' AFTER `NextArenaPointDistributionTime`;

View file

@ -5,4 +5,3 @@ ALTER TABLE `character_queststatus_daily`
ALTER TABLE `saved_variables`
ADD COLUMN `NextDailyQuestResetTime` bigint(40) unsigned NOT NULL default '0' AFTER `NextArenaPointDistributionTime`;

View file

@ -6,4 +6,3 @@ ALTER TABLE `item_instance`
-- indexes in any case broken and lost after 3.3.3 switch.
DROP TABLE IF EXISTS `item_text`;

View file

@ -243,4 +243,3 @@ std::string AccountMgr::CalculateShaPassHash(std::string& name, std::string& pas
return encoded;
}

View file

@ -1514,4 +1514,3 @@ bool GameObject::IsFriendlyTo(Unit const* unit) const
// common faction based case (GvC,GvP)
return tester_faction->IsFriendlyTo(*target_faction);
}

View file

@ -125,4 +125,3 @@ typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderReg
typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderRepository MovementGeneratorRepository;
#endif

View file

@ -564,4 +564,3 @@ void WorldSession::HandleSpellClick( WorldPacket & recv_data )
}
}
}

View file

@ -11333,7 +11333,6 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt
break;
}
int32 value = basePoints;
// random damage

View file

@ -171,4 +171,3 @@ struct Namespace namespaces[] =
{ "ns1", "urn:MaNGOS" }, // "ns1" namespace prefix
{ NULL, NULL }
};

View file

@ -115,4 +115,3 @@ class SOAPCommand
};
#endif

View file

@ -323,4 +323,3 @@ int RASocket::sendf(const char* msg)
}
return 0;
}

View file

@ -1642,4 +1642,3 @@ SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag
}
/* End of soapC.cpp */

View file

@ -236,4 +236,3 @@ SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **
#endif
/* End of soapH.h */

View file

@ -124,4 +124,3 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
}
/* End of soapServer.cpp */

View file

@ -181,4 +181,3 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap*);
#endif
/* End of soapStub.h */

View file

@ -487,4 +487,3 @@ void hexEncodeByteArray(uint8* bytes, uint32 arrayLen, std::string& result)
}
result = ss.str();
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9778"
#define REVISION_NR "9779"
#endif // __REVISION_NR_H__