Sun Studio ODBC compile fixes

This commit is contained in:
Aleksandar Fabijanic
2008-05-30 19:00:11 +00:00
parent fafec95355
commit 4fe33a7c49
11 changed files with 49 additions and 50 deletions

View File

@@ -91,15 +91,14 @@ inline Poco::UInt32 Bulk::size() const
namespace Keywords {
template <typename T>
inline Bulk bulk(const T& limit)
inline Bulk bulk(const Limit& limit = Limit(Limit::LIMIT_UNLIMITED, false, false))
/// Convenience function for creation of bulk.
{
return Bulk(limit);
}
inline void bulk(char)
inline void bulk()
/// Dummy bulk function. Used for bulk binding creation
/// (see BulkBinding) and bulk extraction signalling to Statement.
{
@@ -109,7 +108,7 @@ inline void bulk(char)
} // namespace Keywords
typedef void (*BulkFnType)(char);
typedef void (*BulkFnType)();
} } // namespace Poco::Data

View File

@@ -56,7 +56,7 @@ public:
LIMIT_UNLIMITED = 0xffffffffu
};
Limit(Poco::UInt32 value, bool hardLimit, bool isLowerLimit);
Limit(Poco::UInt32 value, bool hardLimit = false, bool isLowerLimit = false);
/// Creates the Limit.
///
/// Value contains the upper row hint, if hardLimit is set to true, the limit acts as a hard