.. highlightlang:: c

Constants
---------

:py:const:`#define DRIZZLE_RETURN_SERVER_GONE DRIZZLE_RETURN_LOST_CONNECTION`

:py:const:`#define DRIZZLE_RETURN_EOF DRIZZLE_RETURN_LOST_CONNECTION`

:py:const:`#define DRIZZLE_COLUMN_TYPE_VIRTUAL 17`

:py:const:`#define DRIZZLE_DEFAULT_TCP_HOST "127.0.0.1"`

:py:const:`#define DRIZZLE_DEFAULT_TCP_PORT 4427`

:py:const:`#define DRIZZLE_DEFAULT_TCP_PORT_MYSQL 3306`

:py:const:`#define DRIZZLE_DEFAULT_UDS "/tmp/drizzle.sock"`

:py:const:`#define DRIZZLE_DEFAULT_UDS_MYSQL "/tmp/mysql.sock"`

:py:const:`#define DRIZZLE_DEFAULT_BACKLOG 64`

:py:const:`#define DRIZZLE_MAX_ERROR_SIZE 2048`

:py:const:`#define DRIZZLE_MAX_USER_SIZE 64`

:py:const:`#define DRIZZLE_MAX_PASSWORD_SIZE 32`

:py:const:`#define DRIZZLE_MAX_DB_SIZE 64`

:py:const:`#define DRIZZLE_MAX_INFO_SIZE 2048`

:py:const:`#define DRIZZLE_MAX_SQLSTATE_SIZE 5`

:py:const:`#define DRIZZLE_MAX_CATALOG_SIZE 128`

:py:const:`#define DRIZZLE_MAX_TABLE_SIZE 128`

:py:const:`#define DRIZZLE_MAX_COLUMN_NAME_SIZE 2048`

:py:const:`#define DRIZZLE_MAX_DEFAULT_VALUE_SIZE 2048`

:py:const:`#define DRIZZLE_MAX_PACKET_SIZE UINT32_MAX`

:py:const:`#define DRIZZLE_MAX_BUFFER_SIZE 32768`

:py:const:`#define DRIZZLE_BUFFER_COPY_THRESHOLD 8192`

:py:const:`#define DRIZZLE_MAX_SERVER_VERSION_SIZE 32`

:py:const:`#define DRIZZLE_MAX_SCRAMBLE_SIZE 20`

:py:const:`#define DRIZZLE_STATE_STACK_SIZE  8`

:py:const:`#define DRIZZLE_ROW_GROW_SIZE 8192`

:py:const:`#define DRIZZLE_DEFAULT_SOCKET_TIMEOUT 10`

:py:const:`#define DRIZZLE_DEFAULT_SOCKET_SEND_SIZE 32768`

:py:const:`#define DRIZZLE_DEFAULT_SOCKET_RECV_SIZE 32768`

:py:const:`#define DRIZZLE_MYSQL_PASSWORD_HASH 41`
