mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-29 11:09:42 +01:00
ODBC fixes
This commit is contained in:
parent
03d1dd9822
commit
c111fc89f6
@ -173,7 +173,6 @@ public:
|
||||
void bind(std::size_t pos, const std::list<Poco::UInt64>& val, Direction dir);
|
||||
/// Binds an UInt64 list.
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
void bind(std::size_t pos, const long& val, Direction dir);
|
||||
/// Binds a long.
|
||||
|
||||
@ -188,7 +187,6 @@ public:
|
||||
|
||||
void bind(std::size_t pos, const std::list<long>& val, Direction dir);
|
||||
/// Binds a long list.
|
||||
#endif
|
||||
|
||||
void bind(std::size_t pos, const bool& val, Direction dir);
|
||||
/// Binds a boolean.
|
||||
@ -1215,7 +1213,6 @@ inline void Binder::bind(std::size_t pos, const std::list<Poco::UInt64>& val, Di
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
inline void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
||||
{
|
||||
bindImpl(pos, val, SQL_C_SLONG, dir);
|
||||
@ -1244,7 +1241,6 @@ inline void Binder::bind(std::size_t pos, const std::list<long>& val, Direction
|
||||
{
|
||||
bindImplContainer(pos, val, SQL_C_SLONG, dir);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
inline void Binder::bind(std::size_t pos, const float& val, Direction dir)
|
||||
|
@ -155,7 +155,6 @@ public:
|
||||
bool extract(std::size_t pos, std::list<Poco::UInt64>& val);
|
||||
/// Extracts an UInt64 list.
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
bool extract(std::size_t pos, long& val);
|
||||
/// Extracts a long.
|
||||
|
||||
@ -170,7 +169,6 @@ public:
|
||||
|
||||
bool extract(std::size_t pos, std::list<long>& val);
|
||||
/// Extracts a long list.
|
||||
#endif
|
||||
|
||||
bool extract(std::size_t pos, bool& val);
|
||||
/// Extracts a boolean.
|
||||
|
@ -204,7 +204,6 @@ public:
|
||||
void prepare(std::size_t pos, const std::list<Poco::UInt64>& val);
|
||||
/// Prepares an UInt64 list.
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
void prepare(std::size_t pos, const long& val);
|
||||
/// Prepares a long.
|
||||
|
||||
@ -219,7 +218,6 @@ public:
|
||||
|
||||
void prepare(std::size_t pos, const std::list<long>& val);
|
||||
/// Prepares a long list.
|
||||
#endif
|
||||
|
||||
void prepare(std::size_t pos, const bool& val);
|
||||
/// Prepares a boolean.
|
||||
@ -877,7 +875,6 @@ inline void Preparator::prepare(std::size_t pos, const std::list<Poco::UInt64>&
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
inline void Preparator::prepare(std::size_t pos, const long&)
|
||||
{
|
||||
prepareFixedSize<long>(pos, SQL_C_SLONG);
|
||||
@ -906,7 +903,6 @@ inline void Preparator::prepare(std::size_t pos, const std::list<long>& val)
|
||||
{
|
||||
prepareFixedSize<long>(pos, SQL_C_SLONG, val.size());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
inline void Preparator::prepare(std::size_t pos, const bool&)
|
||||
|
@ -575,7 +575,6 @@ bool Extractor::extract(std::size_t pos, std::list<Poco::Int64>& val)
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_LONG_IS_64_BIT
|
||||
bool Extractor::extract(std::size_t pos, long& val)
|
||||
{
|
||||
if (Preparator::DE_MANUAL == _dataExtraction)
|
||||
@ -619,7 +618,6 @@ bool Extractor::extract(std::size_t pos, std::list<long>& val)
|
||||
else
|
||||
throw InvalidAccessException("Direct container extraction only allowed for bound mode.");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
bool Extractor::extract(std::size_t pos, double& val)
|
||||
|
Loading…
x
Reference in New Issue
Block a user