Drizzled Public API Documentation

Constants

Defines

#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   4427
#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_SERVER_EXTRA_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

Enumerations

enum  drizzle_return_t {
  DRIZZLE_RETURN_OK, DRIZZLE_RETURN_IO_WAIT, DRIZZLE_RETURN_PAUSE, DRIZZLE_RETURN_ROW_BREAK,
  DRIZZLE_RETURN_MEMORY, DRIZZLE_RETURN_ERRNO, DRIZZLE_RETURN_INTERNAL_ERROR, DRIZZLE_RETURN_GETADDRINFO,
  DRIZZLE_RETURN_NOT_READY, DRIZZLE_RETURN_BAD_PACKET_NUMBER, DRIZZLE_RETURN_BAD_HANDSHAKE_PACKET, DRIZZLE_RETURN_BAD_PACKET,
  DRIZZLE_RETURN_PROTOCOL_NOT_SUPPORTED, DRIZZLE_RETURN_UNEXPECTED_DATA, DRIZZLE_RETURN_NO_SCRAMBLE, DRIZZLE_RETURN_AUTH_FAILED,
  DRIZZLE_RETURN_NULL_SIZE, DRIZZLE_RETURN_ERROR_CODE, DRIZZLE_RETURN_TOO_MANY_COLUMNS, DRIZZLE_RETURN_ROW_END,
  DRIZZLE_RETURN_LOST_CONNECTION, DRIZZLE_RETURN_COULD_NOT_CONNECT, DRIZZLE_RETURN_NO_ACTIVE_CONNECTIONS, DRIZZLE_RETURN_HANDSHAKE_FAILED,
  DRIZZLE_RETURN_TIMEOUT, DRIZZLE_RETURN_MAX
}
enum  drizzle_verbose_t {
  DRIZZLE_VERBOSE_NEVER, DRIZZLE_VERBOSE_FATAL, DRIZZLE_VERBOSE_ERROR, DRIZZLE_VERBOSE_INFO,
  DRIZZLE_VERBOSE_DEBUG, DRIZZLE_VERBOSE_CRAZY, DRIZZLE_VERBOSE_MAX
}

Define Documentation

#define DRIZZLE_RETURN_SERVER_GONE   DRIZZLE_RETURN_LOST_CONNECTION
Todo:
Remove these with next major API change.

Definition at line 59 of file constants.h.


Enumeration Type Documentation

Return codes.

Definition at line 96 of file constants.h.

Verbosity levels.

Definition at line 129 of file constants.h.