Oracle 5.0 Reference Manual page 2157

Table of Contents

Advertisement

anyway, enable the
and the lengths will be set when you call mysql_stmt_store_result(). (See
"mysql_stmt_attr_set()", and
unsigned int name_length
The length of name.
unsigned int org_name_length
The length of org_name.
unsigned int table_length
The length of table.
unsigned int org_table_length
The length of org_table.
unsigned int db_length
The length of db.
unsigned int catalog_length
The length of catalog.
unsigned int def_length
The length of def.
unsigned int flags
Bit-flags that describe the field. The
shown in the following table.
Flag Value
NOT_NULL_FLAG
PRI_KEY_FLAG
UNIQUE_KEY_FLAG
MULTIPLE_KEY_FLAG
UNSIGNED_FLAG
ZEROFILL_FLAG
BINARY_FLAG
AUTO_INCREMENT_FLAG
ENUM_FLAG
SET_FLAG
BLOB_FLAG
TIMESTAMP_FLAG
NUM_FLAG
NO_DEFAULT_VALUE_FLAG
Some of these flags indicate data type information and are superseded by or used in conjunction
with the
MYSQL_TYPE_xxx
C API Data Structures
STMT_ATTR_UPDATE_MAX_LENGTH
Section 20.6.10.27,
flags
Flag Description
Field can't be
Field is part of a primary key
Field is part of a unique key
Field is part of a nonunique key
Field has the
Field has the
Field has the
Field has the
Field is an
Field is a
Field is a
Field is a
Field is numeric; see additional notes following table
Field has no default value; see additional notes following
table
value in the
field->type
2137
option with
"mysql_stmt_store_result()".)
value may have zero or more of the bits set that are
NULL
UNSIGNED
ZEROFILL
attribute
BINARY
AUTO_INCREMENT
(deprecated)
ENUM
(deprecated)
SET
or
(deprecated)
BLOB
TEXT
(deprecated)
TIMESTAMP
member described later:
mysql_stmt_attr_set()
Section 20.6.10.3,
attribute
attribute
attribute

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents