From acd55b9a75c6bfa3298f32880902b3746426bf90 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 13 Jan 2015 10:29:54 +0200 Subject: [PATCH] Fixes CID 1262548 --- pdns/ssqlite3.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/ssqlite3.cc b/pdns/ssqlite3.cc index e98933aea..618c3f8a7 100644 --- a/pdns/ssqlite3.cc +++ b/pdns/ssqlite3.cc @@ -39,6 +39,7 @@ public: const char *pTail; this->d_query = query; this->d_dolog = dolog; + d_rc = 0; d_db = db; #if SQLITE_VERSION_NUMBER >= 3003009 if (sqlite3_prepare_v2(d_db->db(), query.c_str(), -1, &d_stmt, &pTail ) != SQLITE_OK) -- 2.40.0