mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-26 13:58:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162284 c90b9560-bf6c-de11-be94-00142212c4b1
467 lines
16 KiB
XML
467 lines
16 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.7 $ -->
|
|
<section id='mysqli.constants'>
|
|
&reftitle.constants;
|
|
|
|
<table>
|
|
<title>MySQLi Constants</title>
|
|
<tgroup cols='2'>
|
|
<thead>
|
|
<row>
|
|
<entry>Name</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-read-default-group'>MYSQLI_READ_DEFAULT_GROUP</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Read options from the named group from `my.cnf' or the file specified with <literal>MYSQLI_READ_DEFAULT_FILE</literal>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-read-default-file'>MYSQLI_READ_DEFAULT_FILE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Read options from the named option file instead of from <literal>my.cnf</literal>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-opt-connect-timeout'>MYSQLI_OPT_CONNECT_TIMEOUT</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Connect timeout in seconds
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-opt-local-infile'>MYSQLI_OPT_LOCAL_INFILE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Enables command <literal>LOAD LOCAL INFILE</literal>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-init-command'>MYSQLI_INIT_COMMAND</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-client-ssl'>MYSQLI_CLIENT_SSL</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Use SSL (encrypted protocol). This option should not be set by application programs;
|
|
it is set internally in the MySQL client library
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-client-compress'>MYSQLI_CLIENT_COMPRESS</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Use compression protocol
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-client-interactive'>MYSQLI_CLIENT_INTERACTIVE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Allow interactive_timeout seconds (instead of wait_timeout seconds) of inactivity before closing the connection. The client's session wait_timeout variable will be set to the value of the session interactive_timeout variable.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-client-ignore-space'>MYSQLI_CLIENT_IGNORE_SPACE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Allow spaces after function names. Makes all functions names reserved words.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-client-no-schema'>MYSQLI_CLIENT_NO_SCHEMA</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Don't allow the db_name.tbl_name.col_name syntax.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-client-multi-queries'>MYSQLI_CLIENT_MULTI_QUERIES</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-store-result'>MYSQLI_STORE_RESULT</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
For using buffered resultsets
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-use-result'>MYSQLI_USE_RESULT</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
For using unbuffered resultsets
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-assoc'>MYSQLI_ASSOC</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Columns are returned into the array having the fieldname as the array index.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-num'>MYSQLI_NUM</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Columns are returned into the array having an enumerated index.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-both'>MYSQLI_BOTH</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Columns are returned into the array having both a numerical index and the fieldname as the associative index.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-not-null-flag'>MYSQLI_NOT_NULL_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Indicates that a field is defined as <literal>NOT NULL</literal>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-pri-key-flag'>MYSQLI_PRI_KEY_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Field is part of a primary index
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-unique-key-flag'>MYSQLI_UNIQUE_KEY_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Field is part of an unique index.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-multiple-key-flag'>MYSQLI_MULTIPLE_KEY_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>
|
|
Field is part of an index.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-blob-flag'>MYSQLI_BLOB_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>BLOB</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-unsigned-flag'>MYSQLI_UNSIGNED_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>UNSIGNED</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-zerofill-flag'>MYSQLI_ZEROFILL_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>ZEROFILL</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-auto-increment-flag'>MYSQLI_AUTO_INCREMENT_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>AUTO_INCREMENT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-timestamp-flag'>MYSQLI_TIMESTAMP_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>TIMESTAMP</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-set-flag'>MYSQLI_SET_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>SET</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-num-flag'>MYSQLI_NUM_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>NUMERIC</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-part-key-flag'>MYSQLI_PART_KEY_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is part of an multi-index</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-group-flag'>MYSQLI_GROUP_FLAG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is part of <literal>GROUP BY</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-decimal'>MYSQLI_TYPE_DECIMAL</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>DECIMAL</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-tiny'>MYSQLI_TYPE_TINY</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>TINYINT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-short'>MYSQLI_TYPE_SHORT</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>INT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-long'>MYSQLI_TYPE_LONG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>INT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-fload'>MYSQLI_TYPE_FLOAT</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>FLOAT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-double'>MYSQLI_TYPE_DOUBLE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>DOUBLE</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-null'>MYSQLI_TYPE_NULL</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>DEFAULT NULL</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-timestamp'>MYSQLI_TYPE_TIMESTAMP</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>TIMESTAMP</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-longlong'>MYSQLI_TYPE_LONGLONG</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>BIGINT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-int24'>MYSQLI_TYPE_INT24</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>MEDIUMINT</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-date'>MYSQLI_TYPE_DATE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>DATE</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-time'>MYSQLI_TYPE_TIME</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>TIME</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-datetime'>MYSQLI_TYPE_DATETIME</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>DATETIME</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-year'>MYSQLI_TYPE_YEAR</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>YEAR</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-newdate'>MYSQLI_TYPE_NEWDATE</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>DATE</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-enum'>MYSQLI_TYPE_ENUM</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>ENUM</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-set'>MYSQLI_TYPE_SET</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>SET</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-tiny-blob'>MYSQLI_TYPE_TINY_BLOB</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>TINYBLOB</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-medium-blob'>MYSQLI_TYPE_MEDIUM_BLOB</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>MEDIUMBLOB</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-long-blob'>MYSQLI_TYPE_LONG_BLOB</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>LONGBLOB</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-blob'>MYSQLI_TYPE_BLOB</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>BLOB</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-string'>MYSQLI_TYPE_VAR_STRING</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>VARCHAR</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-char'>MYSQLI_TYPE_STRING</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>CHAR</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-type-geometry'>MYSQLI_TYPE_GEOMETRY</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>Field is defined as <literal>GEOMETRY</literal></entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-need-data'>MYSQLI_NEED_DATA</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>More data available for bind variable</entry>
|
|
</row>
|
|
<row>
|
|
<entry>
|
|
<constant id='constantmysqli-no-data'>MYSQLI_NO_DATA</constant>
|
|
(<link linkend='language.types.integer'>integer</link>)
|
|
</entry>
|
|
<entry>No more data available for bind variable</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</section>
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|