summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2011-12-01 19:22:22 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-05 10:48:37 +0100
commitbae85d2f0e568bde31c81091431d9db75799a153 (patch)
tree5020960e7b2f3d1f2958b5322948d8e9db87df4c
parent260a2e52b2ab58bb6e27bb4915ebc2196fd1f2d4 (diff)
downloadqtbase-bae85d2f0e568bde31c81091431d9db75799a153.tar.gz
Fix typos in Sqlite docs.
Change-Id: I4a57e9e37831c135b1ad620c8c9586a5eea76220 Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
-rw-r--r--doc/src/sql/sql-programming/sql-driver.qdoc2
-rw-r--r--src/sql/kernel/qsqlquery.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sql/sql-programming/sql-driver.qdoc b/doc/src/sql/sql-programming/sql-driver.qdoc
index d78fdbbf83..0e0e5cadd7 100644
--- a/doc/src/sql/sql-programming/sql-driver.qdoc
+++ b/doc/src/sql/sql-programming/sql-driver.qdoc
@@ -637,7 +637,7 @@
If you don't want to use the SQLite library included with Qt, you
can pass \c{-system-sqlite} to the configure script to use sqlite
libraries in the operating system. Alternatively, you can build
- it manually (replace \c $SQLITE by the directory where
+ it manually (replace \c $SQLITE with the directory where
SQLite resides):
\snippet doc/src/snippets/code/doc_src_sql-driver.qdoc 21
diff --git a/src/sql/kernel/qsqlquery.cpp b/src/sql/kernel/qsqlquery.cpp
index fda6301bc0..74812b5bb7 100644
--- a/src/sql/kernel/qsqlquery.cpp
+++ b/src/sql/kernel/qsqlquery.cpp
@@ -339,7 +339,7 @@ bool QSqlQuery::isNull(int field) const
called.
For SQLite, the query string can contain only one statement at a time.
- If more than one statements is give, the function returns false.
+ If more than one statement is given, the function returns false.
Example:
@@ -891,7 +891,7 @@ void QSqlQuery::clear()
will fail.
For SQLite, the query string can contain only one statement at a time.
- If more than one statements are give, the function returns false.
+ If more than one statement is given, the function returns false.
Example: