aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/SQLOperation.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-10-24 17:37:24 +0200
committerShauren <shauren.trinity@gmail.com>2020-10-24 17:37:24 +0200
commit53482f729995889936ad8fba9fc5789d9cdba85a (patch)
tree93657e31b48c50d41e6d23c45bd0a6cb8eaeb0e8 /src/server/database/Database/SQLOperation.h
parentaff9cf40dcf52f686c27b7abe20ae0eda5779800 (diff)
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)
Diffstat (limited to 'src/server/database/Database/SQLOperation.h')
-rw-r--r--src/server/database/Database/SQLOperation.h7
1 files changed, 0 insertions, 7 deletions
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