Applied new structure

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79574 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2002-04-23 11:04:40 +00:00
parent 27c2b55978
commit b4d26f2dfb

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<reference id="ref.dbplus">
<title>DB++ Functions</title>
<titleabbrev>DB++</titleabbrev>
@ -7,23 +7,26 @@
<partintro>
&warn.experimental;
<para id="dbplus.intro">
db++, made by the german company <ulink
url="&url.dbplus.company;">Concept asa</ulink>, is a relational
database system with high performance and low memory and disk
usage in mind. While providing SQL as an additional language
interface it is not really a SQL database in the first place but
provides its own AQL query language which is much more influenced
by the relational algebra then SQL is.
</para>
<para>
Concept asa always had an interest in supporting open source
languages, db++ has had Perl and Tcl call interfaces for years
now and uses Tcl as its internal stored procedure language.
</para>
<section id="dbplus.intro">
&reftitle.intro;
<para>
db++, made by the german company <ulink
url="&url.dbplus.company;">Concept asa</ulink>, is a relational
database system with high performance and low memory and disk
usage in mind. While providing SQL as an additional language
interface it is not really a SQL database in the first place but
provides its own AQL query language which is much more influenced
by the relational algebra then SQL is.
</para>
<para>
Concept asa always had an interest in supporting open source
languages, db++ has had Perl and Tcl call interfaces for years
now and uses Tcl as its internal stored procedure language.
</para>
</section>
<section id="dbplus.requirenments">
<title>Requirements</title>
&reftitle.required;
<para>
This extension relies on external client libraries so you have
to have a db++ client installed on the system you want to use
@ -39,7 +42,7 @@
</section>
<section id="dbplus.installation">
<title>Installation</title>
&reftitle.install;
<para>
In order to build this extension yourself you need the db++
client libraries and header files to be installed on your system
@ -60,12 +63,12 @@
</section>
<section id="dbplus.configuration">
<title>Runtime Configuration</title>
&reftitle.runtime;
&no.config;
</section>
<section id="dbplus.resources">
<title>Resource Types</title>
&reftitle.resources;
<section id="dbplus.resources.relation">
<title>dbplus_relation</title>
<para>
@ -77,233 +80,7 @@
</section>
</section>
<section id="dbplus.constants">
<title>Predefined Constants</title>
<section id="dbplus.errorcodes">
<title>db++ error codes</title>
<para>
<table>
<title>DB++ Error Codes</title>
<tgroup cols="3">
<thead>
<row>
<entry>PHP Constant</entry>
<entry>db++ constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row>
<entry><constant id='constant.dbplus-err-noerr'>DBPLUS_ERR_NOERR</constant></entry>
<entry>ERR_NOERR</entry>
<entry>Null error condition</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-duplicate'>DBPLUS_ERR_DUPLICATE</constant></entry>
<entry>ERR_DUPLICATE</entry>
<entry>Tried to insert a duplicate tuple</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-eoscan'>DBPLUS_ERR_EOSCAN</constant></entry>
<entry>ERR_EOSCAN</entry>
<entry>End of scan from rget()</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-empty'>DBPLUS_ERR_EMPTY</constant></entry>
<entry>ERR_EMPTY</entry>
<entry>Relation is empty (server)</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-close'>DBPLUS_ERR_CLOSE</constant></entry>
<entry>ERR_CLOSE</entry>
<entry>The server can't close</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-wlocked'>DBPLUS_ERR_WLOCKED</constant></entry>
<entry>ERR_WLOCKED</entry>
<entry>The record is write locked</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-locked'>DBPLUS_ERR_LOCKED</constant></entry>
<entry>ERR_LOCKED</entry>
<entry>Relation was already locked</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-nolock'>DBPLUS_ERR_NOLOCK</constant></entry>
<entry>ERR_NOLOCK</entry>
<entry>Relation cannot be locked</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-read'>DBPLUS_ERR_READ</constant></entry>
<entry>ERR_READ</entry>
<entry>Read error on relation</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-write'>DBPLUS_ERR_WRITE</constant></entry>
<entry>ERR_WRITE</entry>
<entry>Write error on relation</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-create'>DBPLUS_ERR_CREATE</constant></entry>
<entry>ERR_CREATE</entry>
<entry>Create() system call failed</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-lseek'>DBPLUS_ERR_LSEEK</constant></entry>
<entry>ERR_LSEEK</entry>
<entry>Lseek() system call failed</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-length'>DBPLUS_ERR_LENGTH</constant></entry>
<entry>ERR_LENGTH</entry>
<entry>Tuple exceeds maximum length</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-open'>DBPLUS_ERR_OPEN</constant></entry>
<entry>ERR_OPEN</entry>
<entry>Open() system call failed</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-wopen'>DBPLUS_ERR_WOPEN</constant></entry>
<entry>ERR_WOPEN</entry>
<entry>Relation already opened for writing</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-magic'>DBPLUS_ERR_MAGIC</constant></entry>
<entry>ERR_MAGIC</entry>
<entry>File is not a relation</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-version'>DBPLUS_ERR_VERSION</constant></entry>
<entry>ERR_VERSION</entry>
<entry>File is a very old relation</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-pgsize'>DBPLUS_ERR_PGSIZE</constant></entry>
<entry>ERR_PGSIZE</entry>
<entry>Relation uses a different page size</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-crc'>DBPLUS_ERR_CRC</constant></entry>
<entry>ERR_CRC</entry>
<entry>Invalid crc in the superpage</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-pipe'>DBPLUS_ERR_PIPE</constant></entry>
<entry>ERR_PIPE</entry>
<entry>Piped relation requires lseek()</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-nidx'>DBPLUS_ERR_NIDX</constant></entry>
<entry>ERR_NIDX</entry>
<entry>Too many secondary indices</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-malloc'>DBPLUS_ERR_MALLOC</constant></entry>
<entry>ERR_MALLOC</entry>
<entry>Malloc() call failed</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-nusers'>DBPLUS_ERR_NUSERS</constant></entry>
<entry>ERR_NUSERS</entry>
<entry>Error use of max users</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-preexit'>DBPLUS_ERR_PREEXIT</constant></entry>
<entry>ERR_PREEXIT</entry>
<entry>Caused by invalid usage</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-ontrap'>DBPLUS_ERR_ONTRAP</constant></entry>
<entry>ERR_ONTRAP</entry>
<entry>Caused by a signal</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-preproc'>DBPLUS_ERR_PREPROC</constant></entry>
<entry>ERR_PREPROC</entry>
<entry>Error in the preprocessor</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-dbparse'>DBPLUS_ERR_DBPARSE</constant></entry>
<entry>ERR_DBPARSE</entry>
<entry>Error in the parser</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-dbrunerr'>DBPLUS_ERR_DBRUNERR</constant></entry>
<entry>ERR_DBRUNERR</entry>
<entry>Run error in db</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-dbpreexit'>DBPLUS_ERR_DBPREEXIT</constant></entry>
<entry>ERR_DBPREEXIT</entry>
<entry>Exit condition caused by prexit() * procedure</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-wait'>DBPLUS_ERR_WAIT</constant></entry>
<entry>ERR_WAIT</entry>
<entry>Wait a little (Simple only)</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-corrupt-tuple'>DBPLUS_ERR_CORRUPT_TUPLE</constant></entry>
<entry>ERR_CORRUPT_TUPLE</entry>
<entry>A client sent a corrupt tuple</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-warning0'>DBPLUS_ERR_WARNING0</constant></entry>
<entry>ERR_WARNING0</entry>
<entry>
The Simple routines encountered a non fatal error which was
corrected
</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-panic'>DBPLUS_ERR_PANIC</constant></entry>
<entry>ERR_PANIC</entry>
<entry>
The server should not really die but after a disaster
send ERR_PANIC to all its clients
</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-fifo'>DBPLUS_ERR_FIFO</constant></entry>
<entry>ERR_FIFO</entry>
<entry>Can't create a fifo</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-perm'>DBPLUS_ERR_PERM</constant></entry>
<entry>ERR_PERM</entry>
<entry>Permission denied</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-tcl'>DBPLUS_ERR_TCL</constant></entry>
<entry>ERR_TCL</entry>
<entry>TCL_error</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-restricted'>DBPLUS_ERR_RESTRICTED</constant></entry>
<entry>ERR_RESTRICTED</entry>
<entry>Only two users</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-user'>DBPLUS_ERR_USER</constant></entry>
<entry>ERR_USER</entry>
<entry>
An error in the use of the library by an application
programmer
</entry>
</row>
<row>
<entry><constant id='constant.dbplus-err-unknown'>DBPLUS_ERR_UNKNOWN</constant></entry>
<entry>ERR_UNKNOWN</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</section>
</section>
&reference.dbplus.constants;
</partintro>