summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-driver.html
diff options
context:
space:
mode:
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 ) ); }
};