diff options
Diffstat (limited to 'src/sql/kernel')
-rw-r--r-- | src/sql/kernel/qsqldatabase.cpp | 2 | ||||
-rw-r--r-- | src/sql/kernel/qsqlquery.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/kernel/qsqldatabase.cpp b/src/sql/kernel/qsqldatabase.cpp index f4a4cf9447..6dae39b9a2 100644 --- a/src/sql/kernel/qsqldatabase.cpp +++ b/src/sql/kernel/qsqldatabase.cpp @@ -433,7 +433,7 @@ void QSqlDatabasePrivate::disable() transactions. \note When using transactions, you must start the transaction before you create your query. - If an error occurrs, lastError() will return information about it. + If an error occurs, lastError() will return information about it. Get the names of the available SQL drivers with drivers(). Check for the presence of a particular driver with isDriverAvailable(). diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp index 78631b5e5f..317d889bed 100644 --- a/src/sql/kernel/qsqlquery.cpp +++ b/src/sql/kernel/qsqlquery.cpp @@ -769,7 +769,7 @@ bool QSqlQuery::isValid() const Returns true if the query is \e{active}. An active QSqlQuery is one that has been \l{QSqlQuery::exec()} {exec()'d} successfully but not yet finished with. When you are finished with an active query, you - can make make the query inactive by calling finish() or clear(), or + can make the query inactive by calling finish() or clear(), or you can delete the QSqlQuery instance. \note Of particular interest is an active query that is a \c{SELECT} |