diff options
author | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2021-11-03 16:24:42 +0300 |
---|---|---|
committer | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2021-11-03 16:24:42 +0300 |
commit | f93f09bf0725d78dd591afaafac7e4f94d3d0f21 (patch) | |
tree | 81089ec0020d51c2ef709101e64c33242a0b367d /include/zbxdb.h | |
parent | 94a5c1bfdbfb6116605d0c166da4b7dc9ed19953 (diff) |
.......PS. [ZBXNEXT-3706] added ifdefs around zbx_db_set_character_set function declaration
Diffstat (limited to 'include/zbxdb.h')
-rw-r--r-- | include/zbxdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zbxdb.h b/include/zbxdb.h index 0fbbc3eb9e2..55f0b5f47dc 100644 --- a/include/zbxdb.h +++ b/include/zbxdb.h @@ -230,6 +230,8 @@ void zbx_db_version_json_create(struct zbx_json *json, struct zbx_db_version_inf # define ZBX_DB_TIMESTAMP() "(cast(sys_extract_utc(systimestamp) as date) - date'1970-01-01') * 86400" #endif +#if defined(HAVE_MYSQL) void zbx_db_set_character_set(const char *char_set); +#endif #endif |