1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

New options MARIADB_CONNECTION_BYTES_READ/SENT

Added new options MARIADB_CONNECTION_BYTES_READ and
MARIADB_CONNECTION_BYTES_SENT which can be passed to
mariadb_get_infov() api funcion to obtain the bytes sent
or read to/from database server.
This commit is contained in:
Georg Richter
2022-01-02 14:14:39 +01:00
parent bc7bbd4752
commit 510c7e5dfe
4 changed files with 15 additions and 1 deletions

View File

@@ -285,7 +285,9 @@ extern const char *SQLSTATE_UNKNOWN;
MARIADB_CONNECTION_SERVER_STATUS,
MARIADB_CONNECTION_SERVER_CAPABILITIES,
MARIADB_CONNECTION_EXTENDED_SERVER_CAPABILITIES,
MARIADB_CONNECTION_CLIENT_CAPABILITIES
MARIADB_CONNECTION_CLIENT_CAPABILITIES,
MARIADB_CONNECTION_BYTES_READ,
MARIADB_CONNECTION_BYTES_SENT
};
enum mysql_status { MYSQL_STATUS_READY,