MariaDB Connector/C Types and definitions

You are viewing an old version of this article. View the current version here.

MariaDB Connector/C provides the following types and definitions.

Enumeration types

enum mysql_option

enum mysql_option is used as a parameter in mysql_optionsv() and mysql_get_optionsv() API functions. For a list of integral constants and their meanings please check the documentation of mysql_get_optionsv().

enum enum_mysql_timestamp_type

enum enum_mysql_timestamp_type is used in MYSQL_TIME structure and indicates the type. It has the following constants:

  • MYSQL_TIMESTAMP_NONE
  • MYSQL_TIMESTAMP_ERROR
  • MYSQL_TIMESTAMP_DATE
  • MYSQL_TIMESTAMP_DATETIME
  • MYSQL_TIMESTAMP_TIME
enum mysql_set_option

enum mysql_set_option is used as a parameter in mysql_set_server_option() and has the following constants:

  • MYSQL_OPTIONS_MULTI_STATEMENTS_ON
  • MYSQL_OPTIONS_MULTI_STATEMENTS_OFF

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.