2003-05-24 01:29:22 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
2004-06-29 05:49:02 +00:00
<!-- $Revision: 1.7 $ -->
2003-05-24 01:29:22 +00:00
<section id= 'mysqli.constants' >
&reftitle.constants;
<table >
2003-05-24 06:06:56 +00:00
<title > MySQLi Constants</title>
2003-05-24 01:29:22 +00:00
<tgroup cols= '2' >
<thead >
<row >
2003-05-24 06:06:56 +00:00
<entry > Name</entry>
<entry > Description</entry>
2003-05-24 01:29:22 +00:00
</row>
</thead>
<tbody >
<row >
<entry >
<constant id= 'constantmysqli-read-default-group' > MYSQLI_READ_DEFAULT_GROUP</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry >
Read options from the named group from `my.cnf' or the file specified with <literal > MYSQLI_READ_DEFAULT_FILE</literal>
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-read-default-file' > MYSQLI_READ_DEFAULT_FILE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Read options from the named option file instead of from <literal > my.cnf</literal>
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-opt-connect-timeout' > MYSQLI_OPT_CONNECT_TIMEOUT</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Connect timeout in seconds
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-opt-local-infile' > MYSQLI_OPT_LOCAL_INFILE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Enables command <literal > LOAD LOCAL INFILE</literal>
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-init-command' > MYSQLI_INIT_COMMAND</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting.
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-client-ssl' > MYSQLI_CLIENT_SSL</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Use SSL (encrypted protocol). This option should not be set by application programs;
it is set internally in the MySQL client library
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-client-compress' > MYSQLI_CLIENT_COMPRESS</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Use compression protocol
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-client-interactive' > MYSQLI_CLIENT_INTERACTIVE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
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.
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-client-ignore-space' > MYSQLI_CLIENT_IGNORE_SPACE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Allow spaces after function names. Makes all functions names reserved words.
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-client-no-schema' > MYSQLI_CLIENT_NO_SCHEMA</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Don't allow the db_name.tbl_name.col_name syntax.
2003-05-24 01:29:22 +00:00
</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 >
2004-01-28 23:19:38 +00:00
For using buffered resultsets
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-use-result' > MYSQLI_USE_RESULT</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
For using unbuffered resultsets
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-assoc' > MYSQLI_ASSOC</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Columns are returned into the array having the fieldname as the array index.
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-num' > MYSQLI_NUM</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Columns are returned into the array having an enumerated index.
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-both' > MYSQLI_BOTH</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Columns are returned into the array having both a numerical index and the fieldname as the associative index.
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-not-null-flag' > MYSQLI_NOT_NULL_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
<entry >
2004-01-28 23:19:38 +00:00
Indicates that a field is defined as <literal > NOT NULL</literal>
2003-05-24 01:29:22 +00:00
</entry>
</row>
<row >
<entry >
<constant id= 'constantmysqli-pri-key-flag' > MYSQLI_PRI_KEY_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry >
Field is part of a primary index
</entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-unique-key-flag' > MYSQLI_UNIQUE_KEY_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry >
Field is part of an unique index.
</entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-multiple-key-flag' > MYSQLI_MULTIPLE_KEY_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry >
Field is part of an index.
</entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-blob-flag' > MYSQLI_BLOB_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > BLOB</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-unsigned-flag' > MYSQLI_UNSIGNED_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > UNSIGNED</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-zerofill-flag' > MYSQLI_ZEROFILL_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > ZEROFILL</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-auto-increment-flag' > MYSQLI_AUTO_INCREMENT_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > AUTO_INCREMENT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-timestamp-flag' > MYSQLI_TIMESTAMP_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > TIMESTAMP</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-set-flag' > MYSQLI_SET_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > SET</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-num-flag' > MYSQLI_NUM_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > NUMERIC</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-part-key-flag' > MYSQLI_PART_KEY_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is part of an multi-index</entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-group-flag' > MYSQLI_GROUP_FLAG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is part of <literal > GROUP BY</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-decimal' > MYSQLI_TYPE_DECIMAL</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > DECIMAL</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-tiny' > MYSQLI_TYPE_TINY</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > TINYINT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-short' > MYSQLI_TYPE_SHORT</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > INT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-long' > MYSQLI_TYPE_LONG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-04-15 15:34:02 +00:00
<entry > Field is defined as <literal > INT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
2004-01-28 23:19:38 +00:00
<constant id= 'constantmysqli-type-fload' > MYSQLI_TYPE_FLOAT</constant>
2003-05-24 01:29:22 +00:00
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > FLOAT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-double' > MYSQLI_TYPE_DOUBLE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-04-15 15:34:02 +00:00
<entry > Field is defined as <literal > DOUBLE</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-null' > MYSQLI_TYPE_NULL</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > DEFAULT NULL</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-timestamp' > MYSQLI_TYPE_TIMESTAMP</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > TIMESTAMP</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-longlong' > MYSQLI_TYPE_LONGLONG</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > BIGINT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-int24' > MYSQLI_TYPE_INT24</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-04-15 15:34:02 +00:00
<entry > Field is defined as <literal > MEDIUMINT</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-date' > MYSQLI_TYPE_DATE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > DATE</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-time' > MYSQLI_TYPE_TIME</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > TIME</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-datetime' > MYSQLI_TYPE_DATETIME</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > DATETIME</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-year' > MYSQLI_TYPE_YEAR</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > YEAR</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-newdate' > MYSQLI_TYPE_NEWDATE</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > DATE</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-enum' > MYSQLI_TYPE_ENUM</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > ENUM</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-set' > MYSQLI_TYPE_SET</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > SET</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-tiny-blob' > MYSQLI_TYPE_TINY_BLOB</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > TINYBLOB</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-medium-blob' > MYSQLI_TYPE_MEDIUM_BLOB</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > MEDIUMBLOB</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-long-blob' > MYSQLI_TYPE_LONG_BLOB</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > LONGBLOB</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-blob' > MYSQLI_TYPE_BLOB</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > BLOB</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
2004-06-29 05:49:02 +00:00
<constant id= 'constantmysqli-type-string' > MYSQLI_TYPE_VAR_STRING</constant>
2003-05-24 01:29:22 +00:00
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > VARCHAR</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
2004-06-29 05:49:02 +00:00
<constant id= 'constantmysqli-type-char' > MYSQLI_TYPE_STRING</constant>
2003-05-24 01:29:22 +00:00
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > CHAR</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-type-geometry' > MYSQLI_TYPE_GEOMETRY</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > Field is defined as <literal > GEOMETRY</literal> </entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-need-data' > MYSQLI_NEED_DATA</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > More data available for bind variable</entry>
2003-05-24 01:29:22 +00:00
</row>
<row >
<entry >
<constant id= 'constantmysqli-no-data' > MYSQLI_NO_DATA</constant>
(<link linkend= 'language.types.integer' > integer</link> )
</entry>
2004-01-28 23:19:38 +00:00
<entry > No more data available for bind variable</entry>
2003-05-24 01:29:22 +00:00
</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
-->