diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-03-10 16:05:42 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-03-10 20:43:32 +0400 |
commit | e40858a7bdc65be4386a9e74262731fae964958b (patch) | |
tree | 184b48fea049e6e7ca4763480e6d6a7bd1ff9abd /include/mysql_com.h | |
parent | 00749980acf617fbc26b5cdaff6e256a673dab76 (diff) | |
download | mariadb-git-e40858a7bdc65be4386a9e74262731fae964958b.tar.gz |
MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index cc89f014f8e..2bfacdeec20 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -298,6 +298,8 @@ enum enum_indicator_type #define MARIADB_CLIENT_COM_MULTI (1ULL << 33) /* support of array binding */ #define MARIADB_CLIENT_STMT_BULK_OPERATIONS (1ULL << 34) +/* support of extended metadata (e.g. type/format information) */ +#define MARIADB_CLIENT_EXTENDED_METADATA (1ULL << 35) #ifdef HAVE_COMPRESS #define CAN_CLIENT_COMPRESS CLIENT_COMPRESS @@ -339,6 +341,7 @@ enum enum_indicator_type CLIENT_CONNECT_ATTRS |\ MARIADB_CLIENT_COM_MULTI |\ MARIADB_CLIENT_STMT_BULK_OPERATIONS |\ + MARIADB_CLIENT_EXTENDED_METADATA|\ CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS) /* @@ -350,6 +353,15 @@ enum enum_indicator_type & ~CLIENT_COMPRESS) \ & ~CLIENT_SSL_VERIFY_SERVER_CERT) +enum mariadb_field_attr_t +{ + MARIADB_FIELD_ATTR_DATA_TYPE_NAME= 0, + MARIADB_FIELD_ATTR_FORMAT_NAME= 1 +}; + +#define MARIADB_FIELD_ATTR_LAST MARIADB_FIELD_ATTR_FORMAT_NAME + + /** Is raised when a multi-statement transaction has been started, either explicitly, by means |