diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-09-18 15:10:14 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-09-18 15:10:14 +0000 |
commit | 60ac638462e1f5b72ba9010cd61b734631f2dc32 (patch) | |
tree | 4f0fd61bc054da3d2809a2011f81dce8c3d31ba2 /include | |
parent | f35a91b884a0030b6128e60292cd0db16aeac4d4 (diff) | |
download | zabbix-60ac638462e1f5b72ba9010cd61b734631f2dc32.tar.gz zabbix-60ac638462e1f5b72ba9010cd61b734631f2dc32.tar.xz zabbix-60ac638462e1f5b72ba9010cd61b734631f2dc32.zip |
- more development of distributed monitoring
- added automatic generation of database schemas (Alexei)
- pinger will use unique temporary file name (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3315 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r-- | include/db.h | 1 | ||||
-rw-r--r-- | include/dbsync.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/db.h b/include/db.h index dfa9cc0f..0b4f47a2 100644 --- a/include/db.h +++ b/include/db.h @@ -339,6 +339,7 @@ int DBexecute(const char *fmt, ...); DB_RESULT DBselect(const char *fmt, ...); DB_RESULT DBselectN(char *query, int n); DB_ROW DBfetch(DB_RESULT result); +zbx_uint64_t DBget_nextid(char *table, char *field); /*char *DBget_field(DB_RESULT result, int rownum, int fieldnum);*/ /*int DBnum_rows(DB_RESULT result);*/ int DBinsert_id(int exec_result, const char *table, const char *field); diff --git a/include/dbsync.h b/include/dbsync.h index e3463e8c..d138e283 100644 --- a/include/dbsync.h +++ b/include/dbsync.h @@ -490,7 +490,8 @@ static ZBX_TABLE tables[]={ {"imageid", ZBX_TYPE_INT, ZBX_SYNC}, {"imagetype", ZBX_TYPE_INT, ZBX_SYNC}, {"name", ZBX_TYPE_CHAR, ZBX_SYNC}, - {"image", ZBX_TYPE_BLOB, ZBX_SYNC}, +/* {"image", ZBX_TYPE_BLOB, ZBX_SYNC},*/ + {"image", ZBX_TYPE_BLOB, ZBX_NOSYNC}, {0} } }, |