Fix everything necessary for working build
This commit is contained in:
@@ -207,3 +207,5 @@ std::string MySQLPreparedStatement::getQueryString() const
|
|||||||
|
|
||||||
return queryString;
|
return queryString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<> struct MySQLType<long long> : std::integral_constant<enum_field_types, MYSQL_TYPE_LONGLONG> { };
|
||||||
|
|||||||
@@ -129,3 +129,6 @@ std::string PreparedStatementData::ToString(std::nullptr_t /*value*/)
|
|||||||
{
|
{
|
||||||
return "NULL";
|
return "NULL";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template void PreparedStatementBase::SetValidData(const uint8 index, long long const& value);
|
||||||
|
template std::string PreparedStatementData::ToString(long long);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include <variant>
|
#include <variant>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
using long_long_compat = int64;
|
||||||
|
|
||||||
namespace Acore::Types
|
namespace Acore::Types
|
||||||
{
|
{
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@@ -46,6 +48,7 @@ struct PreparedStatementData
|
|||||||
uint16,
|
uint16,
|
||||||
uint32,
|
uint32,
|
||||||
uint64,
|
uint64,
|
||||||
|
long long,
|
||||||
int8,
|
int8,
|
||||||
int16,
|
int16,
|
||||||
int32,
|
int32,
|
||||||
|
|||||||
Reference in New Issue
Block a user