summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-05 13:03:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-05 13:03:11 +0100
commit9e7602b032c2187887c8164fa23c37d6daf28ac0 (patch)
tree224ca9e57afcc59bbf9eb577eb601664a7fe10b4 /lib
parentc50a62fefc3fe26e030fd71cb6c36ccf8f6b9ffa (diff)
downloadabrt-9e7602b032c2187887c8164fa23c37d6daf28ac0.tar.gz
abrt-9e7602b032c2187887c8164fa23c37d6daf28ac0.tar.xz
abrt-9e7602b032c2187887c8164fa23c37d6daf28ac0.zip
add forgotten iterator++ in code which deletes records in REPRESULT table
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/SQLite3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Plugins/SQLite3.cpp b/lib/Plugins/SQLite3.cpp
index b076dfaf..6ccadae4 100644
--- a/lib/Plugins/SQLite3.cpp
+++ b/lib/Plugins/SQLite3.cpp
@@ -516,6 +516,7 @@ void CSQLite3::DeleteRows_by_dir(const char *dump_dir)
" WHERE "COL_UUID"='%s' AND "COL_UID"='%s';",
it->m_sUUID.c_str(), it->m_sUID.c_str()
);
+ it++;
}
execute_sql(m_pDB,
"DELETE FROM "ABRT_TABLE