diff options
author | Dmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com> | 2021-10-27 11:06:01 +0300 |
---|---|---|
committer | Dmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com> | 2021-10-27 11:08:00 +0300 |
commit | 3378b5513d4d794bc75c299f1e0a62a25e8e1c62 (patch) | |
tree | 451c8a9f3a2ca2b8ad90b3f8536a118f06fb17af /include/zbxdb.h | |
parent | 56531813ce4c29801d09679716d94d82ee8f28f4 (diff) |
.......PS. [ZBXNEXT-6921] implemented rejection of duplicates for history tables, updated schema
(cherry picked from commit b26f9827db916820c9e2dff3557ff2def3651152)
Diffstat (limited to 'include/zbxdb.h')
-rw-r--r-- | include/zbxdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zbxdb.h b/include/zbxdb.h index 91323fdc4e1..7110a68af9d 100644 --- a/include/zbxdb.h +++ b/include/zbxdb.h @@ -96,6 +96,7 @@ int zbx_db_txn_level(void); int zbx_db_txn_error(void); int zbx_db_txn_end_error(void); const char *zbx_db_last_strerr(void); +zbx_err_codes_t zbx_db_last_errcode(void); #ifdef HAVE_POSTGRESQL int zbx_tsdb_get_version(void); @@ -210,6 +211,8 @@ struct zbx_db_version_info_t const char *friendly_min_supported_version; zbx_db_version_status_t flag; + + int history_pk; }; void zbx_dbms_version_info_extract(struct zbx_db_version_info_t *version_info); |