This commit is contained in:
Dario 2020-07-15 14:01:13 +02:00
parent b40d674bbb
commit 15d7cf5e61

View File

@ -138,13 +138,10 @@ void MySQLStatementImpl::bindImpl()
printf("[MySQLStatementImpl::bindImpl] canBind return false, name: %s\n", (*it)->name().data());
break;
}
}
for (; it != itEnd && (*it)->canBind(); ++it)
{
(*it)->bind(pos);
pos += (*it)->numOfColumnsHandled();
}
_stmt.bindParams(_pBinder->getBindArray(), _pBinder->size());
_stmt.execute();
_hasNext = NEXT_DONTKNOW;