summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-driver.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/sql-driver.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 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 1145f5048..748729f3e 100644
--- a/doc/html/sql-driver.html
+++ b/doc/html/sql-driver.html
@@ -122,7 +122,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="ntqsqldriver.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>
@@ -179,7 +179,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="ntqsqlquery.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="ntqsqlquery.html#value">TQSqlQuery::value</a>() will only return NULLs.
<p> <h4> How to build the plugin on Unix/Linux
</h4>
@@ -598,11 +598,11 @@ public:
~TQNullResult() {}
protected:
<a href="ntqvariant.html">TQVariant</a> data( int ) { return TQVariant(); }
- bool reset ( const <a href="ntqstring.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="ntqstring.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="ntqsqlrecord.html">TQSqlRecord</a> record() { return TQSqlRecord(); }
int size() { return 0; }
int numRowsAffected() { return 0; }
@@ -613,12 +613,12 @@ class TQNullDriver : public <a href="ntqsqldriver.html">TQSqlDriver</a>
public:
TQNullDriver(): <a href="ntqsqldriver.html">TQSqlDriver</a>() {}
~TQNullDriver() {}
- bool hasFeature( DriverFeature ) const { return FALSE; }
+ bool hasFeature( DriverFeature ) const { return false; }
bool open( const <a href="ntqstring.html">TQString</a>&amp;,
const <a href="ntqstring.html">TQString</a>&amp;,
const <a href="ntqstring.html">TQString</a>&amp;,
const <a href="ntqstring.html">TQString</a>&amp;,
- int ) { return FALSE; }
+ int ) { return false; }
void close() {}
<a href="ntqsqlquery.html">TQSqlQuery</a> createQuery() const { return TQSqlQuery( new TQNullResult( this ) ); }
};