summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxdbhigh/db.c
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 13:10:46 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 13:10:46 +0000
commit820ab6ba3fbd1e0322664156162bb51e9daeaf7d (patch)
tree93215fd4135d22c0b1d2bab67143359ab115079d /src/libs/zbxdbhigh/db.c
parent56a5e3453ca8651296755d5833aac6becf620fa3 (diff)
downloadzabbix-820ab6ba3fbd1e0322664156162bb51e9daeaf7d.tar.gz
zabbix-820ab6ba3fbd1e0322664156162bb51e9daeaf7d.tar.xz
zabbix-820ab6ba3fbd1e0322664156162bb51e9daeaf7d.zip
- [ZBX-386] fixed possible agent crash in processing of active checks
git-svn-id: svn://svn.zabbix.com/trunk@5790 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdbhigh/db.c')
-rw-r--r--src/libs/zbxdbhigh/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxdbhigh/db.c b/src/libs/zbxdbhigh/db.c
index 59a99216..a300fad4 100644
--- a/src/libs/zbxdbhigh/db.c
+++ b/src/libs/zbxdbhigh/db.c
@@ -1154,7 +1154,7 @@ int DBadd_history_text(zbx_uint64_t itemid, char *value, int clock)
zbx_uint64_t id;
sqlo_lob_desc_t loblp; /* the lob locator */
- sqlo_stmt_handle_t sth;
+ sqlo_stmt_handle_t sth = 0;
sqlo_autocommit_off(oracle);