artificial limit for bind parameters removed.

This commit is contained in:
Sergey Kholodilov 2008-07-29 16:44:13 +00:00
parent f712074b62
commit 3e65280dc1

View File

@ -273,11 +273,6 @@ MYSQL_BIND* Binder::getBindArray() const
void Binder::realBind(std::size_t pos, enum_field_types type, const void* buffer, int length) void Binder::realBind(std::size_t pos, enum_field_types type, const void* buffer, int length)
{ {
if (pos > 1024)
{
throw StatementException("too many bind parameters");
}
if (pos >= _bindArray.size()) if (pos >= _bindArray.size())
{ {
size_t s = _bindArray.size(); size_t s = _bindArray.size();