From 357147834e3d9e4c2822a0a5b895152d6639268d Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 24 Oct 2020 17:37:24 +0200 Subject: Core/DBLayer: Fixed memory leaks with existing SQLQueryHolder uses and eliminated the possibilty of adding more in future (replaced manual memory management with smart pointers) (cherry picked from commit 53482f729995889936ad8fba9fc5789d9cdba85a) --- src/server/database/Database/SQLOperation.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/server/database/Database/SQLOperation.h') diff --git a/src/server/database/Database/SQLOperation.h b/src/server/database/Database/SQLOperation.h index 97f1b396cea..2e85f72c17c 100644 --- a/src/server/database/Database/SQLOperation.h +++ b/src/server/database/Database/SQLOperation.h @@ -42,13 +42,6 @@ struct SQLElementData SQLElementDataType type; }; -//- For ambigious resultsets -union SQLResultSetUnion -{ - PreparedResultSet* presult; - ResultSet* qresult; -}; - class MySQLConnection; class TC_DATABASE_API SQLOperation -- cgit v1.2.3