Commit Graph

10 Commits

Author SHA1 Message Date
click
f60d534b73 Cleanup on some database-related files: merge some DB-related files, add some consistency to callhandles in sourcetree (M
+ combine MySQL-specific files into main database-files (click)
+ fix vcproj-files, adjust handler-function names for consistency (Machiavelli)

--HG--
branch : trunk
2010-05-08 05:03:32 +02:00
Spp
1bc2a9fd4a Replace some PQuery/PExecute by more simple Query/Execute
Original patch by hunuza, extended to whole code
Closses issue 1446

--HG--
branch : trunk
2010-04-30 11:21:25 +02:00
Spp
d19e127080 Code style (game + scripts only):
"if(" --> "if ("

--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp
2e127f7a30 Code style (game + scripts only):
"while(" --> "while ("

--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
XTZGZoReX
39a260d10d * Added actual loading of the addons table... This was missing in the original commit.
--HG--
branch : trunk
2010-01-29 11:56:48 +01:00
Anubisss
d9cb070215 Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).

This patch guarantees NO memory leaks from QueryResult pointers.

Thanks to raczman for the idea and for the helping to make this patch.

--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
XTZGZoReX
1c310c887b So much for my fix-without-compile skills. :(
(inb4 scores)

--HG--
branch : trunk
2010-01-21 11:21:47 +01:00
XTZGZoReX
73719d3e76 * Removed unnecessary query.
--HG--
branch : trunk
2010-01-21 10:42:46 +01:00
Anubisss
6855787a83 Fix a memory leak in AddonMgr::LoadFromDB(). This not leaks _yet_ because that function not used anywhere(if my eyez are right) but in the future can leaks.
--HG--
branch : trunk
2010-01-20 21:15:42 +01:00
XTZGZoReX
48b085124e * Add basic AddonMgr.
* All this really does at the moment is save addon names + CRCs to DB for use for.. whatever, later.

--HG--
branch : trunk
2010-01-20 16:24:52 +01:00