Fix everything necessary for working build

This commit is contained in:
2026-01-26 00:00:39 +01:00
parent b34be18992
commit 8373597509
3 changed files with 8 additions and 0 deletions

View File

@@ -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> { };

View File

@@ -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);

View File

@@ -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,