Shauren
352de4b688
Core/Guilds: Use blocking queries at guild loading to ensure invalid data is removed before processing, removed prepared statements in loading guilds
2011-05-07 21:03:05 +02:00
MrSmite
a92038feaf
Core/AuctionHouse: Delete expired auctions at startup.
2011-05-03 08:32:57 -04:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Shauren
8d1cb7fb34
Core/DBSchema: Corrected query retrieving character count on account
2011-04-26 11:57:34 +02:00
Shauren
b7353f38b0
Core/World: Fixed realm character count queries getting lost
2011-04-25 13:31:02 +02:00
Azazel
c36846d78a
Core/GM System: rename columns of gm_surveys, gm_subsurveys, gm_tickets and lag_reports tables to lowerCamel, move queries to prepared statements and refactor the code of TicketMgr.
2011-04-19 14:04:18 +06:00
Azazel
3993b73925
Core/CharDB cleanup: change creature_respawn and gameobject_respawn column names to lowerCamel, rename instance column to instanceId and move all queries to these tables to prepared statements.
...
Fix import error in character_database.sql.
2011-04-13 17:02:06 +06:00
Azazel
5357b1ba77
Core/CharDB Cleanup: alter corpse table making column names lowerCamel and move all queries to prepared statements.
...
NOTICE: column can be named `guid` only if it represents character guid. All other guids will be renamed to reflect their purpose (like corpseGuid in this specific case)
2011-04-11 14:39:00 +06:00
leak
7935c2f5c2
Core/Arena: Move personalRating to arena_team_member
2011-04-08 21:14:30 +02:00
Azazel
9f1cc4407a
Core/CharDB Cleanup: alter character_homebind table making column names lowerCamel and move all queries to prepared statements.
2011-04-08 17:04:51 +06:00
Azazel
37a6fe2ae7
Core/CharDB Cleanup: alter character_battleground_data table making column names lowerCamel and move all queries to prepared statements.
2011-04-08 11:28:10 +06:00
Azazel
4db04b63dd
Core/DBLayer: make use of return result of Connection::Open method and allow core to output all the errors in prepared statements instead of aborting on first error.
2011-04-07 15:30:38 +06:00
leak
ae3ab32ea5
Core/Arenas: Refactor arena code and db layout
2011-04-05 21:54:28 +02:00
leak
90a3fee232
Core/GameEventMgr: Reduce memory waste caused by gaps in game_event entry IDs
2011-03-18 00:11:12 +01:00
Azazel
3973d1b454
CharDB Schema/Cleanup: cleanup channels table:
...
* rename columns (remove m_ prefix and convert to lowerCamel case);
* rename prepared statements to conform to standards (there is no CLEAN statement).
2011-03-11 17:18:17 +06:00
leak
709c395421
Core/Groups: Forgotten changes from group id recycling reimplementation, also cleanup queries should be sync (and due to their one time execution have no need to be prepared statements)
2011-03-01 01:42:18 +01:00
leak
aa2455b586
Core/Groups: Reimplement group id recycling
2011-02-27 00:55:45 +01:00
Machiavelli
a6e30e0509
Really fix the crash caused by wrong prepared statement types
2011-02-25 00:00:11 +01:00
Machiavelli
51d00e1b17
Core: Fix crash on login added in 20ab3e4bda
2011-02-24 23:44:08 +01:00
Azazel
0c8f1c7b5b
Core/Misc: rename some prepared statements to conform to naming standards (there are no CLEAN statements, there are DEL ones)
2011-02-25 00:46:26 +06:00
Azazel
bcd7e45e12
CharDB Schema/Cleanup: cleanup character_tutorial table:
...
* rename table to account_tutorial, because it holds account specific data;
* rename column account to accountId;
* introduce prepared statements for table.
2011-02-25 00:45:57 +06:00
Azazel
20ab3e4bda
CharDB Schema/Cleanup: cleanup account_data and character_account_data tables:
...
* rename column account to accountId;
* introduce prepared statements for both tables.
2011-02-25 00:44:33 +06:00
leak
bde5adf9bd
Core/Globals: Cleanup queries should be blocking if we want to be sure to load clean data
2011-02-22 21:01:07 +01:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
leak
41d0c5571a
Core/Entities: Avoid unique key violations during character inventory saving for newly created items
2011-01-26 17:20:21 +01:00
leak
57f85ab7da
Core/DBLayer: Replace prepared statement arrays with a map to avoid asynchronous indexes at query logging or error output
...
- Add values to prepared statement query log messages
- Killed a bit Engrish and trailing white whitespaces
2011-01-26 00:41:55 +01:00
leak
180b739483
Core/Entities: Avoid unique key violations during character inventory saving
...
(It only works "<Machiavelli> because I saideth so")
2011-01-25 18:42:17 +01:00
Shauren
e7dbc783cf
Reverted unintended change from previous revision
2011-01-24 11:24:31 +01:00
Shauren
464837077a
Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit)
2011-01-24 11:20:30 +01:00
Machiavelli
cb5a943f10
Core/DBLayer: CHAR_DEL_AUCTION should be defined as asynchronous. Fixes a crash caused by assertion failure.
...
("Could not fetch prepared statement 54 on database `characters`, connection type: asynchronous.")
2011-01-09 13:30:14 +01:00
Machiavelli
c4cac049b4
Core/DBLayer: Define prepared statements in an array per database instead of explicit calls to MySQL::PrepareStatement. Now the core will show the raw query (without bound arguments) in related log entries instead of PreparedStatement id: X on database Y.
2011-01-08 19:07:13 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
linencloth
b150172521
Core/QuestStatus:
...
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
- Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations
WARNING: Backup your database!
--HG--
branch : trunk
2010-12-26 04:16:18 +01:00
Machiavelli
ac920e763c
Update some prepared statements to reflect b1759256b5´s changes
...
--HG--
branch : trunk
2010-12-24 21:20:16 +01:00
linencloth
b89994fc3f
Core/AuthServer: Little more query tuning. Missed by leak.
...
--HG--
branch : trunk
2010-12-23 08:03:57 +01:00
leak
2ee9a528ca
Core/AuthServer: Little query tuning. Query by linencloth.
...
--HG--
branch : trunk
2010-12-23 06:15:53 +01:00
Xanadu
cfa26522ad
Core: Fixed occasional wrong order of async operations at respawn time saving. Closes issue #5239 .
...
DB schema: Sorted out a discrepancy in respawn time column format.
--HG--
branch : trunk
2010-12-23 05:49:23 +01:00
click
2f80f1b2f8
Core/AuthServer: Allow reauthentication to the authserver on realm logout. Thanks to .. someone (webmaster?)
...
Fixes issue 4191.
--HG--
branch : trunk
2010-12-21 05:50:19 +01:00
Shauren
89f2870b97
Core/Auras: Save cast item guids for auras to db
...
--HG--
branch : trunk
2010-12-20 14:55:36 +01:00
Machiavelli
e2a8dfffbe
Core/DBLayer:
...
- Add generic HandleMySQLErrno() method.
- Add the ability to re-execute a certain statement if errorhandler resolved the situation succesfuly.
- Add support for MySQL errno´s 2006, 2013, 2048, 2055 - fixes automatic reconnection behaviour.
- Cleanup in affected code
NOTE: You should still be smart enough to configure your worldserver and authserver´s MaxPingTime to be lower than your MySQL´s wait_time.
--HG--
branch : trunk
2010-12-19 15:48:55 +01:00
Machiavelli
a093408360
Core/Player: Convert _SaveAuras to prepared statement format
...
--HG--
branch : trunk
2010-12-18 23:25:03 +01:00
Machiavelli
1cdeb4d057
Core/Player: Change equipmentset saving to use prepared statements.
...
Update issue #4550
Please try to re-reproduce
--HG--
branch : trunk
2010-12-17 17:29:16 +01:00
Machiavelli
d38b171391
Core/DBLayer: CharacterDB query CHAR_LOAD_PLAYER_ACTIONS_SPEC should be synchronous. Fixes a crash introduced in bd30ad7bd3
...
--HG--
branch : trunk
2010-12-17 16:54:38 +01:00
Machiavelli
cb08ec0d74
Core/DBLayer: Don´t prepare asynchronous statements on synchronous connections and vice versa. Prevents allocating RAM that will never be used.
...
--HG--
branch : trunk
2010-12-17 15:55:16 +01:00
azazel
b39b8fdd0d
DB Schema/Characters: removed columns auctionhouse.item_template, character_inventory.item_template, guild_bank_item.item_entry and mail_items.item_template and created item_instance.itemEntry column instead of them.
...
As a side effect moved related queries to prepared statements.
As one more side effect fixed not shown and lost mail items in returned expired mail (patch by Quriq14).
--HG--
branch : trunk
2010-12-15 14:08:12 +06:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
Machiavelli
d5f5fa59ab
Add missing declarations as of recent merge
...
--HG--
branch : trunk
2010-12-13 17:34:27 +01:00
Machiavelli
533f27e732
Core: Fix non-PCH build (sorry)
...
--HG--
branch : trunk
2010-12-04 23:14:37 +01:00
click
bc098658c6
Core/Chat: Configure automatic owner declaration for custom chat channels (patch by leak)
...
Closes issue 4974.
--HG--
branch : trunk
2010-12-02 03:54:52 +01:00
click
5cd3904059
Core/DBLayer: Move tables reserved_name, gameobject_respawn and creature_respawn from WORLD database to CHARACTER database as it's content is realm-specific and should be preserved (thanks to leak for the cleanup)
...
*** TO PRESERVE (COPY) THE DATA CONTAINED IN THE OLD TABLES, YOU MUST FOLLOW THE FOLLOWING SQL-RECIPE (REPLACE DATABASENAMES WHERE NEEDED!) ***
-- Move creature_respawn from world to characters db
INSERT INTO `characters`.`creature_respawn` (`guid`, `respawntime`, `instance`)
SELECT `guid, `respawntime` `instance` * FROM `world`.`creature_respawn`;
-- Remove creature_respawn table from world db
DROP TABLE `world`.`creature_respawn`;
-- Move gameobject_respawn from world to characters db
INSERT INTO `characters`.`gameobject_respawn` (`guid`, `respawntime`, `instance`)
SELECT `guid`, `respawntime`, `instance` FROM `world`.`gameobject_respawn`;
-- Remove creature_respawn table from world db
DROP TABLE `world`.`gameobject_respawn`;
-- Move reserved names from world to characters db
INSERT INTO `characters`.`reserved_name` (`name`)
SELECT `name` FROM `world`.`reserved_name`;
-- Remove reserved_names table from world db
DROP TABLE `world`.`reserved_name`;
*** THE ABOVE MUST BE DONE, OR EXISTING INSTANCES WILL BE FULLY RESPAWNED - YOU HAVE BEEN WARNED ***
Closes issue 4842. Closes issue 4849.
--HG--
branch : trunk
2010-11-19 15:53:14 +01:00