MySQL  8.0.22
Source Code Documentation
mysql_protocol::Capabilities Namespace Reference

Classes

class  Flags
 

Typedefs

typedef uint32_t AllFlags
 Type used to pass capability bitset as one number. More...
 
typedef uint16_t HalfFlags
 Type used to pass high/low half of capability bitset as one number. More...
 

Functions

static constexpr Flags LONG_PASSWORD (1<< 0)
 Capability flags passed in handshake packet. More...
 
static constexpr Flags FOUND_ROWS (1<< 1)
 
static constexpr Flags LONG_FLAG (1<< 2)
 
static constexpr Flags CONNECT_WITH_DB (1<< 3)
 
static constexpr Flags NO_SCHEMA (1<< 4)
 
static constexpr Flags COMPRESS (1<< 5)
 
static constexpr Flags ODBC (1<< 6)
 
static constexpr Flags LOCAL_FILES (1<< 7)
 
static constexpr Flags IGNORE_SPACE (1<< 8)
 
static constexpr Flags PROTOCOL_41 (1<< 9)
 
static constexpr Flags INTERACTIVE (1<< 10)
 
static constexpr Flags SSL (1<< 11)
 
static constexpr Flags SIG_PIPE (1<< 12)
 
static constexpr Flags TRANSACTIONS (1<< 13)
 
static constexpr Flags RESERVED_14 (1<< 14)
 
static constexpr Flags SECURE_CONNECTION (1<< 15)
 
static constexpr Flags MULTI_STATEMENTS (1<< 16)
 
static constexpr Flags MULTI_RESULTS (1<< 17)
 
static constexpr Flags MULTI_PS_MULTO_RESULTS (1<< 18)
 
static constexpr Flags PLUGIN_AUTH (1<< 19)
 
static constexpr Flags CONNECT_ATTRS (1<< 20)
 
static constexpr Flags PLUGIN_AUTH_LENENC_CLIENT_DATA (1<< 21)
 
static constexpr Flags EXPIRED_PASSWORDS (1<< 22)
 
static constexpr Flags SESSION_TRACK (1<< 23)
 
static constexpr Flags DEPRECATE_EOF (1<< 24)
 
static constexpr Flags OPTIONAL_RESULTSET_METADATA (1<< 25)
 
static constexpr Flags SSL_VERIFY_SERVER_CERT (1UL<< 30)
 
static constexpr Flags REMEMBER_OPTIONS (1UL<< 31)
 
static constexpr Flags ALL_ZEROS (0U)
 
static constexpr Flags ALL_ONES (~0U)
 

Typedef Documentation

◆ AllFlags

Type used to pass capability bitset as one number.

◆ HalfFlags

Type used to pass high/low half of capability bitset as one number.

Function Documentation

◆ ALL_ONES()

static constexpr Flags mysql_protocol::Capabilities::ALL_ONES ( 0U)
static

◆ ALL_ZEROS()

static constexpr Flags mysql_protocol::Capabilities::ALL_ZEROS ( 0U  )
static

◆ COMPRESS()

static constexpr Flags mysql_protocol::Capabilities::COMPRESS ( 1<<  5)
static

◆ CONNECT_ATTRS()

static constexpr Flags mysql_protocol::Capabilities::CONNECT_ATTRS ( 1<<  20)
static

◆ CONNECT_WITH_DB()

static constexpr Flags mysql_protocol::Capabilities::CONNECT_WITH_DB ( 1<<  3)
static

◆ DEPRECATE_EOF()

static constexpr Flags mysql_protocol::Capabilities::DEPRECATE_EOF ( 1<<  24)
static

◆ EXPIRED_PASSWORDS()

static constexpr Flags mysql_protocol::Capabilities::EXPIRED_PASSWORDS ( 1<<  22)
static

◆ FOUND_ROWS()

static constexpr Flags mysql_protocol::Capabilities::FOUND_ROWS ( 1<<  1)
static

◆ IGNORE_SPACE()

static constexpr Flags mysql_protocol::Capabilities::IGNORE_SPACE ( 1<<  8)
static

◆ INTERACTIVE()

static constexpr Flags mysql_protocol::Capabilities::INTERACTIVE ( 1<<  10)
static

◆ LOCAL_FILES()

static constexpr Flags mysql_protocol::Capabilities::LOCAL_FILES ( 1<<  7)
static

◆ LONG_FLAG()

static constexpr Flags mysql_protocol::Capabilities::LONG_FLAG ( 1<<  2)
static

◆ LONG_PASSWORD()

static constexpr Flags mysql_protocol::Capabilities::LONG_PASSWORD ( 1<<  0)
static

Capability flags passed in handshake packet.

See https://dev.mysql.com/doc/internals/en/capability-flags.html See also MySQL Server source include/mysql_com.h To search for documentation of a particular flag, prepend CLIENT_ to its name (it was removed on purpose to prevent name collisions when including mysql.h)

◆ MULTI_PS_MULTO_RESULTS()

static constexpr Flags mysql_protocol::Capabilities::MULTI_PS_MULTO_RESULTS ( 1<<  18)
static

◆ MULTI_RESULTS()

static constexpr Flags mysql_protocol::Capabilities::MULTI_RESULTS ( 1<<  17)
static

◆ MULTI_STATEMENTS()

static constexpr Flags mysql_protocol::Capabilities::MULTI_STATEMENTS ( 1<<  16)
static

◆ NO_SCHEMA()

static constexpr Flags mysql_protocol::Capabilities::NO_SCHEMA ( 1<<  4)
static

◆ ODBC()

static constexpr Flags mysql_protocol::Capabilities::ODBC ( 1<<  6)
static

◆ OPTIONAL_RESULTSET_METADATA()

static constexpr Flags mysql_protocol::Capabilities::OPTIONAL_RESULTSET_METADATA ( 1<<  25)
static

◆ PLUGIN_AUTH()

static constexpr Flags mysql_protocol::Capabilities::PLUGIN_AUTH ( 1<<  19)
static

◆ PLUGIN_AUTH_LENENC_CLIENT_DATA()

static constexpr Flags mysql_protocol::Capabilities::PLUGIN_AUTH_LENENC_CLIENT_DATA ( 1<<  21)
static

◆ PROTOCOL_41()

static constexpr Flags mysql_protocol::Capabilities::PROTOCOL_41 ( 1<<  9)
static

◆ REMEMBER_OPTIONS()

static constexpr Flags mysql_protocol::Capabilities::REMEMBER_OPTIONS ( 1UL<<  31)
static

◆ RESERVED_14()

static constexpr Flags mysql_protocol::Capabilities::RESERVED_14 ( 1<<  14)
static

◆ SECURE_CONNECTION()

static constexpr Flags mysql_protocol::Capabilities::SECURE_CONNECTION ( 1<<  15)
static

◆ SESSION_TRACK()

static constexpr Flags mysql_protocol::Capabilities::SESSION_TRACK ( 1<<  23)
static

◆ SIG_PIPE()

static constexpr Flags mysql_protocol::Capabilities::SIG_PIPE ( 1<<  12)
static

◆ SSL()

static constexpr Flags mysql_protocol::Capabilities::SSL ( 1<<  11)
static

◆ SSL_VERIFY_SERVER_CERT()

static constexpr Flags mysql_protocol::Capabilities::SSL_VERIFY_SERVER_CERT ( 1UL<<  30)
static

◆ TRANSACTIONS()

static constexpr Flags mysql_protocol::Capabilities::TRANSACTIONS ( 1<<  13)
static