summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: