* Add some more transactioncontrol to pet database handling + adjust character_aura keys to avoid duplicates

--HG--
branch : trunk
This commit is contained in:
click
2010-04-21 20:34:04 +02:00
parent aaf3a62395
commit 123d40dcfe
3 changed files with 7 additions and 1 deletions

View File

@@ -531,7 +531,7 @@ CREATE TABLE `character_aura` (
`maxduration` int(11) NOT NULL default '0',
`remaintime` int(11) NOT NULL default '0',
`remaincharges` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`guid`,`spell`,`effect_mask`)
PRIMARY KEY (`guid`,`caster_guid`,`spell`,`effect_mask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;