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
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
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
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
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
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
df66aee929
Yet more copyright header updates
...
--HG--
branch : trunk
2010-10-07 13:38:35 +02:00
Machiavelli
fcec787e9c
Core/DBLayer: Pass connection info down to lower level class MySQLConnection and use relevant data in logging messages in its methods
...
--HG--
branch : trunk
2010-09-29 15:29:57 +02:00
Machiavelli
bf72fa749f
Core/DBLayer: Store MySQL connection details in a struct and print relevant data in sql driver messages
...
--HG--
branch : trunk
2010-09-29 08:48:06 +02:00
Shauren
665e7a06ce
Core/Commands: Remove all active bans before adding new one, prevents multiple active bans for one character/account
...
Core/DBLayer: Converted most of ban related queries into prepared statement (might have missed some)
Closes issue #4218 .
--HG--
branch : trunk
2010-09-28 21:30:05 +02:00
click
461590832a
Core: Generic cleanup (tab2spaces/whitespace removal)
...
--HG--
branch : trunk
2010-09-25 22:03:57 +02:00
Machiavelli
6a4c798867
Core/DBLayer: Replace all ad-hoc queries in AuthSocket with prepared statements
...
--HG--
branch : trunk
2010-09-12 11:06:26 +02:00
click
bf664b7a44
Cleanup/Core: Remove whitespace and tabs
...
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Machiavelli
a41e99223e
Core/DBLayer:
...
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class
--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Machiavelli
7982cc0f7d
Core/DBLayer:
...
- A few prepared statement implementations in authsocket as example.
- Add an ASSERT in MySQLConnection::Execute(PreparedStatement*) to catch faulty created statements
--HG--
branch : trunk
2010-09-03 01:00:49 +02:00
Shauren
cd182a1e8f
Fixed build
...
Fixed wrong header includes in new database files, thx Thyros
--HG--
branch : trunk
2010-09-02 20:22:19 +02:00
Machiavelli
c47f45694f
Core/DBLayer: Add Login-/Characters-/Worlddatabase class implementations
...
--HG--
branch : trunk
2010-09-02 17:56:49 +02:00