SQL: Change in QSqlResultPrivate::positionalToNamedBinding()
[profile/ivi/qtbase.git] / src / sql / kernel / qsqlresult.cpp
index 0396e12..1259360 100644 (file)
@@ -162,8 +162,6 @@ QString QSqlResultPrivate::positionalToNamedBinding()
     for (int i = 0; i < n; ++i) {
         QChar ch = sql.at(i);
         if (ch == QLatin1Char('?') && !inQuote) {
-            // Update the holder position since we are changing the holder name lengths
-            holders[count].holderPos = result.size();
             result += qFieldSerial(count++);
         } else {
             if (ch == QLatin1Char('\''))