Commit Graph

38 Commits

Author SHA1 Message Date
Nayd
360075129e TDB 335.58 - 2015/03/21 2015-03-21 22:06:46 +00:00
Naios
2bd1c8541d Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

(cherry picked from commit 352012e531)
(cherry picked from commit 1f7f9feafc)

For 3.3.5:
* Synchronized ConfigureBoost.cmake with 6.x, libboost-filesystem1.55-dev also added as dependency!

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 20:54:54 +00:00
DDuarte
5474ed1882 TDB 335.57 - 2014/10/20 2014-10-19 03:40:47 +01:00
Vincent-Michael
69c1e0d758 TDB 335.56 - 2014/09/21 2014-09-21 13:26:27 +02:00
Vincent-Michael
d088a368f1 TDB 335.55 - 2014/08/24 2014-08-24 17:22:24 +02:00
Vincent-Michael
8edecb0da6 TDB 335.54 - 2014/07/05 2014-07-05 22:50:21 +02:00
Duarte Duarte
e4c57d839d TDB 335.53 - 2014/03/29 2014-03-29 04:58:38 +00:00
Nay
32c8555e1e DB/NPCs: Remove AIName from npcs that do not have EAI or SAI scripts
Closes #10483
2013-08-09 14:21:34 +01:00
Nay
009317d2a0 SQLS/Old: Move some misplaced files 2013-07-28 16:54:13 +01:00
Nay
3875ae0c66 TDB 335.52 - 2013/07/17 2013-07-17 00:27:42 +01:00
LeGuybrush
7cec09dda5 More organizing of sql/old, hooray! 2013-06-07 16:27:20 -04:00
LeGuybrush
1df4bb2ed1 Organize sql/old 2013-06-03 15:17:51 -04:00
Nay
fab33f0774 SQLs: Rename some old SQL files to match standards 2013-02-17 21:11:45 +00:00
Nay
e685b7bd9e TDB 335.51 - 2013/02/14
Ref #8947
Closes #9077
2013-02-15 17:00:09 +00:00
Nay
d4398eaafe TDB 335.50 - 2013/01/14 2013-01-13 18:53:32 +00:00
Nay
4294ccf95d Misc: Whitespace and tabs cleanup 2012-11-19 01:00:47 +00:00
Nay
0d3554d4bf TDB 335.49 - 2012/09/15 2012-09-15 21:03:40 +01:00
Nay
fcb57d6373 SQL: Proper directory and file ending for sql 2012-07-16 21:35:38 +01:00
unknown
41b524117b Fix for wretched mobs in mgt 2012-07-16 22:03:17 +02:00
Nay
da9865b683 TDB 335.11.48 - 2012/07/12 2012-07-12 00:16:13 +01:00
Nay
9474902479 TDB 335.11.47 - 2012/05/19 2012-05-19 14:27:24 +01:00
Nay
84268be882 TDB 335.11.46 - 2012/02/13 2012-02-12 23:50:16 +00:00
Nay
87761580aa SQLs: Proper filenames for old SQLs
(Obviously you do not have to re-import these)
2012-01-19 18:01:06 +00:00
Nay
c0d2013b78 DB: 335.11.45 2012-01-07 21:48:40 +00:00
Nay
9447478630 DB: TDB 43: Move SQL updates to the old directory 2011-11-23 22:31:44 +00:00
Nay
accae0ce50 TDB 335.11.43
Move SQL updates to the directory old.
2011-10-29 00:20:56 +01:00
Nay
1faea1f98e DB: Move SQL updates to old directory. Uploaded full DB 42. 2011-08-27 03:57:06 +01:00
Nay
425efd876e SQL: Fix an sql error on commit 4c23eb9fe2. Thanks StewieGriffin 2011-06-18 00:02:51 +01:00
Nay
9be16be7b3 DB: TrinityDB revision 41: move SQL updates to the old directory 2011-06-17 23:46:57 +01:00
Nay
e6e3174d9a DB/SQL: No tabs nor CR line feeds 2011-05-18 15:51:42 +01:00
Nay
4696bcd786 DB: TrinityDB revision 40: move SQL updates to the old directory 2011-05-09 21:36:14 +01:00
Nay
67f0edc0be SQL: move all SQL that is now included in the latest full DB to the "old" dir. 2011-04-02 12:44:28 +01:00
Nay
8458153b69 SQL: Rename files; it should fix batch scripts to import SQL files behavior.
New format: <year(4)>_<month(2)>_<day(2)>_<incremental(2)>_<db>_<table/content>.sql
2011-03-27 22:19:33 +01:00
click
75bf08c081 Core/SQL: Fix naming of an old updatefile to reflect correct database relation 2011-03-27 00:44:14 +01:00
Nay
cdf9a7401c SQL: move all SQL that is now included in the latest full DB to the "old" dir. 2011-03-05 01:48:21 +00:00
runningnak3d
01a80ec8d6 SQL: move all SQL that is now included in the latest full DB to the
"old" dir.
2011-02-11 15:48:24 -07:00
Nay
f81cfca7bd SQL: Any content SQL should be able to be re-imported without errors; Fix an import error in world_scripts_full;
P.S Full DB will be available soon
Closes #586
2011-02-07 21:52:14 +00:00
runningnak3d
0a5d8711e5 Misc: Restructuring directory layout to accomodate the fact that we will
be pushing DB content. We will no longer have a seperate DB repo.
2011-02-02 07:50:21 -07:00