1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Add status variables to show ColumnStore version and commit hash.

This commit is contained in:
Gagan Goel
2019-10-08 15:20:12 -04:00
parent 1af0248ae5
commit 594ee22999
5 changed files with 26 additions and 7 deletions

View File

@ -303,6 +303,13 @@ st_mysql_sys_var* mcs_system_variables[] =
NULL
};
st_mysql_show_var mcs_status_variables[] =
{
{"columnstore_version", (char*)&cs_version, SHOW_CHAR},
{"columnstore_commit_hash", (char*)&cs_commit_hash, SHOW_CHAR},
{0, 0, (enum_mysql_show_type)0}
};
void* get_fe_conn_info_ptr(THD* thd)
{
return ( current_thd == NULL && thd == NULL ) ? NULL :