Connector/C Types and Definitions
Contents
Field types
Field types are used in the MYSQL_BIND structure and represent the type of the fields. Field types are defined in mariadb_com.h
.
- MYSQL_TYPE_BIT
- MYSQL_TYPE_BLOB
- MYSQL_TYPE_DATE
- MYSQL_TYPE_DATETIME
- MYSQL_TYPE_DECIMAL
- MYSQL_TYPE_DOUBLE
- MYSQL_TYPE_ENUM
- MYSQL_TYPE_FLOAT
- MYSQL_TYPE_GEOMETRY
- MYSQL_TYPE_INT24
- MYSQL_TYPE_JSON
- MYSQL_TYPE_LONG
- MYSQL_TYPE_LONGLONG
- MYSQL_TYPE_LONG_BLOB
- MYSQL_TYPE_MEDIUM_BLOB
- MYSQL_TYPE_NEWDATE
- MYSQL_TYPE_NEWDECIMAL
- MYSQL_TYPE_NULL
- MYSQL_TYPE_SET
- MYSQL_TYPE_SHORT
- MYSQL_TYPE_STRING
- MYSQL_TYPE_TIME
- MYSQL_TYPE_TIMESTAMP
- MYSQL_TYPE_TINY
- MYSQL_TYPE_TINY_BLOB
- MYSQL_TYPE_VARCHAR
- MYSQL_TYPE_VAR_STRING
- MYSQL_TYPE_YEAR
Indicator variables
Indicator variables store supplementary information which will be sent to the server.
STMT_INDICATOR_NONE | no indicator (=0) |
STMT_INDICATOR_NTS | (string) buffer is null/zero terminated string |
STMT_INDICATOR_NULL | buffer is null |
STMT_INDICATOR_DEFAULT | use columns default value |
STMT_INDICATOR_IGNORE | do not update column value |
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.