From ce9c7b477c8dbe8a1ef79bbb6e2a9f2214de44e0 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 2 Mar 2020 19:40:59 +0100 Subject: Core/DBLayer: Refactor PreparedStatement class to not depend on MySQLPreparedStatement (cherry picked from commit 5b0a32d164ba91207360d8b8a266b69dd0db9869) --- src/server/database/Database/MySQLConnection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/database/Database/MySQLConnection.h') 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(); -- cgit v1.2.3