ConstantsΒΆ

#define DRIZZLE_RETURN_SERVER_GONE DRIZZLE_RETURN_LOST_CONNECTION

#define DRIZZLE_RETURN_EOF DRIZZLE_RETURN_LOST_CONNECTION

#define DRIZZLE_COLUMN_TYPE_VIRTUAL 17

#define DRIZZLE_DEFAULT_TCP_HOST "127.0.0.1"

#define DRIZZLE_DEFAULT_TCP_PORT 4427

#define DRIZZLE_DEFAULT_TCP_PORT_MYSQL 3306

#define DRIZZLE_DEFAULT_UDS "/tmp/drizzle.sock"

#define DRIZZLE_DEFAULT_UDS_MYSQL "/tmp/mysql.sock"

#define DRIZZLE_DEFAULT_BACKLOG 64

#define DRIZZLE_MAX_ERROR_SIZE 2048

#define DRIZZLE_MAX_USER_SIZE 64

#define DRIZZLE_MAX_PASSWORD_SIZE 32

#define DRIZZLE_MAX_DB_SIZE 64

#define DRIZZLE_MAX_INFO_SIZE 2048

#define DRIZZLE_MAX_SQLSTATE_SIZE 5

#define DRIZZLE_MAX_CATALOG_SIZE 128

#define DRIZZLE_MAX_TABLE_SIZE 128

#define DRIZZLE_MAX_COLUMN_NAME_SIZE 2048

#define DRIZZLE_MAX_DEFAULT_VALUE_SIZE 2048

#define DRIZZLE_MAX_PACKET_SIZE UINT32_MAX

#define DRIZZLE_MAX_BUFFER_SIZE 32768

#define DRIZZLE_BUFFER_COPY_THRESHOLD 8192

#define DRIZZLE_MAX_SERVER_VERSION_SIZE 32

#define DRIZZLE_MAX_SCRAMBLE_SIZE 20

#define DRIZZLE_STATE_STACK_SIZE  8

#define DRIZZLE_ROW_GROW_SIZE 8192

#define DRIZZLE_DEFAULT_SOCKET_TIMEOUT 10

#define DRIZZLE_DEFAULT_SOCKET_SEND_SIZE 32768

#define DRIZZLE_DEFAULT_SOCKET_RECV_SIZE 32768

#define DRIZZLE_MYSQL_PASSWORD_HASH 41

Previous topic

libdrizzle API Reference Manual

Next topic

Defines

This Page