Replace MySQL prepared statement union with std::variant (#24158)

(cherry picked from commit 3ebcb71c3d)
This commit is contained in:
Ujp8LfXBJ6wCPR
2020-02-29 17:14:15 +01:00
committed by Shauren
parent e75750b867
commit f871f0098e
4 changed files with 81 additions and 83 deletions

View File

@@ -51,7 +51,8 @@ class TC_DATABASE_API MySQLPreparedStatement
void setInt64(const uint8 index, const int64 value);
void setFloat(const uint8 index, const float value);
void setDouble(const uint8 index, const double value);
void setBinary(const uint8 index, const std::vector<uint8>& value, bool isString);
void setString(const uint8 index, const std::string& value);
void setBinary(const uint8 index, const std::vector<uint8>& value);
uint32 GetParameterCount() const { return m_paramCount; }