[11284] Implement prepared statements for INSERT+DELETE+UPDATE SQL requests. Should improve player save performance + lower MySQL server CPU usage.

Note: PostgreSQL does not have prepared statements implemented using native APIs.

Huge thanks to Undergarun, kero99 and Vinolentus.

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Ambal 2011-03-25 21:52:59 +02:00
parent d9374d936f
commit 40ef9cbf2f
24 changed files with 1823 additions and 488 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Version="9,00"
Name="shared"
ProjectGUID="{90297C34-F231-4DF4-848E-A74BCC0E40ED}"
RootNamespace="shared"
@ -575,6 +575,14 @@
RelativePath="..\..\src\shared\Database\SqlOperations.h"
>
</File>
<File
RelativePath="..\..\src\shared\Database\SqlPreparedStatement.cpp"
>
</File>
<File
RelativePath="..\..\src\shared\Database\SqlPreparedStatement.h"
>
</File>
<File
RelativePath="..\..\src\shared\Database\SQLStorage.cpp"
>