summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-driver.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/sql-driver.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-rename/true-false-4.tar.gz
tqt-rename/true-false-4.zip
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/sql-driver.html')
-rw-r--r--doc/html/sql-driver.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/sql-driver.html b/doc/html/sql-driver.html
index 41bb1c06a..f44b24f9e 100644
--- a/doc/html/sql-driver.html
+++ b/doc/html/sql-driver.html
@@ -121,7 +121,7 @@ modified servers.
<p> If you have a recent client library and connect to a
transaction-enabled MySQL server, a call to the
<a href="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>( TQSqlDriver::Transactions ) function returns
-TRUE and SQL transactions can be used.
+true and SQL transactions can be used.
<p> If the plugin is compiled against MySQL 4.x client libraries,
transactions are enabled by default.
<p> You can find information about MySQL on <a href="http://www.mysql.com">http://www.mysql.com</a>
@@ -178,7 +178,7 @@ query to do this internally (see $TQTDIR/examples/sql/blob).
<p> <h4> Know problems
</h4>
<a name="3-2-4"></a><p> When a query is in forward only mode a call to <a href="tqsqlquery.html#last">TQSqlQuery::last</a>() will
-position the query on the last record and return TRUE, but subsequent
+position the query on the last record and return true, but subsequent
calls to <a href="tqsqlquery.html#value">TQSqlQuery::value</a>() will only return NULLs.
<p> <h4> How to build the plugin on Unix/Linux
</h4>
@@ -597,11 +597,11 @@ public:
~TQNullResult() {}
protected:
<a href="tqvariant.html">TQVariant</a> data( int ) { return TQVariant(); }
- bool reset ( const <a href="tqstring.html">TQString</a>&amp; ) { return FALSE; }
- bool fetch( int ) { return FALSE; }
- bool fetchFirst() { return FALSE; }
- bool fetchLast() { return FALSE; }
- bool isNull( int ) { return FALSE; }
+ bool reset ( const <a href="tqstring.html">TQString</a>&amp; ) { return false; }
+ bool fetch( int ) { return false; }
+ bool fetchFirst() { return false; }
+ bool fetchLast() { return false; }
+ bool isNull( int ) { return false; }
<a href="tqsqlrecord.html">TQSqlRecord</a> record() { return TQSqlRecord(); }
int size() { return 0; }
int numRowsAffected() { return 0; }
@@ -612,12 +612,12 @@ class TQNullDriver : public <a href="tqsqldriver.html">TQSqlDriver</a>
public:
TQNullDriver(): <a href="tqsqldriver.html">TQSqlDriver</a>() {}
~TQNullDriver() {}
- bool hasFeature( DriverFeature ) const { return FALSE; }
+ bool hasFeature( DriverFeature ) const { return false; }
bool open( const <a href="tqstring.html">TQString</a>&amp;,
const <a href="tqstring.html">TQString</a>&amp;,
const <a href="tqstring.html">TQString</a>&amp;,
const <a href="tqstring.html">TQString</a>&amp;,
- int ) { return FALSE; }
+ int ) { return false; }
void close() {}
<a href="tqsqlquery.html">TQSqlQuery</a> createQuery() const { return TQSqlQuery( new TQNullResult( this ) ); }
};