mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 14:39:53 +01:00
artificial limit for bind parameters removed.
This commit is contained in:
parent
f712074b62
commit
3e65280dc1
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user