Merge remote-tracking branch 'origin/4.7' into 4.8

Change-Id: Iaae859601ae4f529c1fa7ada3a5c569820abb0d6
This commit is contained in:
Eike Ziller
2018-09-26 09:38:33 +02:00
8 changed files with 26 additions and 14 deletions

View File

@@ -226,7 +226,7 @@ void SqlStatementBuilder::clearSqlStatement()
void SqlStatementBuilder::checkIfPlaceHolderExists(Utils::SmallStringView name) const
{
if (name.size() < 2 || !name.startsWith('$') || !m_sqlTemplate.contains(name))
throwException("SqlStatementBuilder::bind: placeholder name does not exists!", name.data());
throwException("SqlStatementBuilder::bind: placeholder name does not exist!", name.data());
}
void SqlStatementBuilder::checkIfNoPlaceHoldersAynmoreExists() const