Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/sql/kernel/qsqlresult.cpp

    r651 r769  
    137137    }
    138138
    139     return QString::fromUtf16(arr, int(ptr - arr) + 1);
     139    return QString, int(ptr - arr) + 1);
    140140}
    141141
     
    564564    scrollable. isForwardOnly() will always return the correct status of
    565565    the result set.
     566
     567
     568
    566569
    567570    \sa isForwardOnly(), fetchNext(), QSqlQuery::setForwardOnly()
     
    708711    placeholder name in the current record (row).
    709712
    710     Note that binding an undefined placeholder will result in undefined behavior.
     713   Values cannot be bound to multiple locations in the query, eg:
     714   \code
     715   INSERT INTO testtable (id, name, samename) VALUES (:id, :name, :name)
     716   \endcode
     717   Binding to name will bind to the first :name, but not the second.
     718
     719    \note Binding an undefined placeholder will result in undefined behavior.
     720
     721    \sa QSqlQuery::bindValue()
    711722*/
    712723void QSqlResult::bindValue(const QString& placeholder, const QVariant& val,
Note: See TracChangeset for help on using the changeset viewer.