diff options
Diffstat (limited to 'doc/html/sql-driver.html')
-rw-r--r-- | doc/html/sql-driver.html | 18 |
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>& ) { 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>& ) { 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>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, const <a href="tqstring.html">TQString</a>&, - int ) { return FALSE; } + int ) { return false; } void close() {} <a href="tqsqlquery.html">TQSqlQuery</a> createQuery() const { return TQSqlQuery( new TQNullResult( this ) ); } }; |