aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/MySQLConnection.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-03-02 19:40:59 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-22 20:59:50 +0100
commitce9c7b477c8dbe8a1ef79bbb6e2a9f2214de44e0 (patch)
treea8eb285710d95b9727e1712436acc8c2a80d598f /src/server/database/Database/MySQLConnection.h
parent31efaaac4036903783ae9fa285f661a3f3d29012 (diff)
Core/DBLayer: Refactor PreparedStatement class to not depend on MySQLPreparedStatement
(cherry picked from commit 5b0a32d164ba91207360d8b8a266b69dd0db9869)
Diffstat (limited to 'src/server/database/Database/MySQLConnection.h')
-rw-r--r--src/server/database/Database/MySQLConnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Database/MySQLConnection.h b/src/server/database/Database/MySQLConnection.h
index f1ae98279cd..e4368db44ba 100644
--- a/src/server/database/Database/MySQLConnection.h
+++ b/src/server/database/Database/MySQLConnection.h
@@ -71,7 +71,7 @@ class TC_DATABASE_API MySQLConnection
ResultSet* Query(char const* sql);
PreparedResultSet* Query(PreparedStatementBase* stmt);
bool _Query(char const* sql, MySQLResult** pResult, MySQLField** pFields, uint64* pRowCount, uint32* pFieldCount);
- bool _Query(PreparedStatementBase* stmt, MySQLResult** pResult, uint64* pRowCount, uint32* pFieldCount);
+ bool _Query(PreparedStatementBase* stmt, MySQLPreparedStatement** mysqlStmt, MySQLResult** pResult, uint64* pRowCount, uint32* pFieldCount);
void BeginTransaction();
void RollbackTransaction();