diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-01 13:45:53 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-04-01 13:45:53 +0000 |
commit | cfac845b1a97348e527e36a0de4a651900fa696f (patch) | |
tree | 985bfab14a575adb0bbea9af3344832a3acf5469 /src/libs/zbxdbhigh/db.c | |
parent | 48ee2bcd6f859d9999dad252aadbfec9515309fb (diff) | |
download | zabbix-cfac845b1a97348e527e36a0de4a651900fa696f.tar.gz zabbix-cfac845b1a97348e527e36a0de4a651900fa696f.tar.xz zabbix-cfac845b1a97348e527e36a0de4a651900fa696f.zip |
- [DEV-98] added support of ZABBIX Proxy
git-svn-id: svn://svn.zabbix.com/trunk@5573 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdbhigh/db.c')
-rw-r--r-- | src/libs/zbxdbhigh/db.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libs/zbxdbhigh/db.c b/src/libs/zbxdbhigh/db.c index 84cf6e57..a58662fc 100644 --- a/src/libs/zbxdbhigh/db.c +++ b/src/libs/zbxdbhigh/db.c @@ -2007,11 +2007,6 @@ int DBproxy_add_history(zbx_uint64_t itemid, double value, int clock) { zabbix_log(LOG_LEVEL_DEBUG, "In proxy_add_history()"); -/* DBexecute("insert into history (clock,itemid,value) values (%d," ZBX_FS_UI64 "," ZBX_FS_DBL ")", - clock, - itemid, - value); -*/ DBexecute("insert into history_sync (clock,itemid,value) values (%d," ZBX_FS_UI64 "," ZBX_FS_DBL ")", clock, itemid, @@ -2024,11 +2019,6 @@ int DBproxy_add_history_uint(zbx_uint64_t itemid, zbx_uint64_t value, int clock) { zabbix_log(LOG_LEVEL_DEBUG, "In proxy_add_history_uint()"); -/* DBexecute("insert into history_uint (clock,itemid,value) values (%d," ZBX_FS_UI64 "," ZBX_FS_UI64 ")", - clock, - itemid, - value); -*/ DBexecute("insert into history_uint_sync (clock,itemid,value) values (%d," ZBX_FS_UI64 "," ZBX_FS_UI64 ")", clock, itemid, @@ -2045,11 +2035,6 @@ int DBproxy_add_history_str(zbx_uint64_t itemid, char *value, int clock) DBescape_string(value, value_esc, MAX_STRING_LEN); -/* DBexecute("insert into history_str (clock,itemid,value) values (%d," ZBX_FS_UI64 ",'%s')", - clock, - itemid, - value_esc); -*/ DBexecute("insert into history_str_sync (clock,itemid,value) values (%d," ZBX_FS_UI64 ",'%s')", clock, itemid, |