cvs: peardoc /en/package/database/db/db-common tableinfo.xml

From: Date: Tue, 10 Feb 2004 07:14:12 +0000
Subject: cvs: peardoc /en/package/database/db/db-common tableinfo.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2476@lists.php.net to get a copy of this message
danielc Tue Feb 10 02:14:12 2004 EDT Modified files: /peardoc/en/package/database/db/db-common tableinfo.xml Log: Add throws error info. http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/tableinfo.xml?r1=1.11&r2=1.12&ty=u Index: peardoc/en/package/database/db/db-common/tableinfo.xml diff -u peardoc/en/package/database/db/db-common/tableinfo.xml:1.11 peardoc/en/package/database/db/db-common/tableinfo.xml:1.12 --- peardoc/en/package/database/db/db-common/tableinfo.xml:1.11 Tue Feb 10 01:42:43 2004 +++ peardoc/en/package/database/db/db-common/tableinfo.xml Tue Feb 10 02:14:12 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry id="package.database.db.db-common.tableinfo"> <refnamediv> <refname>DB_common::tableInfo()</refname> @@ -203,6 +203,82 @@ </para> </refsect1> + <refsect1 id="package.database.db.db-common.query.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="4"> + <thead> + <row> + <entry>Error code</entry> + <entry>Error message</entry> + <entry>Reason</entry> + <entry>Solution</entry> + </row> + </thead> + <tbody> + <row> + <entry><constant>DB_ERROR_NOT_CAPABLE</constant></entry> + <entry> + &null; + </entry> + <entry> + Driver doesn't support this feature. + </entry> + <entry> + </entry> + </row> + <row> + <entry><constant>DB_ERROR_NEED_MORE_DATA</constant></entry> + <entry> + &null; + </entry> + <entry> + The data passed in the <parameter>$result</parameter> parameter + was not a valid table name or result identifier. + </entry> + <entry> + Check the table name for typographical errors or that the query + ran correctly. + </entry> + </row> + <row> + <entry><constant>DB_ERROR_NODBSELECTED</constant></entry> + <entry> + &null; + </entry> + <entry> + No database was chosen. + </entry> + <entry> + Check the <link linkend="package.database.db.intro-dsn">DSN</link> + in <link linkend="package.database.db.db.connect"> + <function>connect</function></link>. + </entry> + </row> + <row> + <entry> + <computeroutput>can't distinguish duplicate field names</computeroutput> + </entry> + <entry></entry> + <entry> + The query result has multiple columns with the same name. + PHP's Informix extension deals with columns having the same names + by overwriting the prior columns information. Therefore, + <function>tableInfo</function> is unable to properly represent + these result sets. + </entry> + <entry> + Use aliases for columns that have the same names. + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + <refsect1 id="package.database.db.db-common.tableinfo.note"> &title.note; &note.notstatic;

« previous php.pear.doc (#2476) next »