mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 23:07:56 +02:00
clang/mac fixes
This commit is contained in:
@@ -113,27 +113,23 @@ void Binder::bind(std::size_t pos, const Poco::UInt64& val, Direction dir)
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
|
||||
void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
||||
{
|
||||
poco_assert(dir == PD_IN);
|
||||
#ifdef POCO_LONG_IS_64_BIT
|
||||
realBind(pos, MYSQL_TYPE_LONGLONG, &val, 0);
|
||||
#else
|
||||
realBind(pos, MYSQL_TYPE_LONG, &val, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void Binder::bind(std::size_t pos, const unsigned long& val, Direction dir)
|
||||
{
|
||||
poco_assert(dir == PD_IN);
|
||||
#ifdef POCO_LONG_IS_64_BIT
|
||||
realBind(pos, MYSQL_TYPE_LONGLONG, &val, 0, true);
|
||||
#else
|
||||
realBind(pos, MYSQL_TYPE_LONG, &val, 0, true);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // POCO_LONG_IS_64_BIT
|
||||
|
||||
|
||||
void Binder::bind(std::size_t pos, const bool& val, Direction dir)
|
||||
{
|
||||
|
Reference in New Issue
Block a user