summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2009-11-20 14:26:28 +0100
committerKarel Klic <kklic@redhat.com>2009-11-20 14:26:28 +0100
commitddd077dc416c1ceef7f803b4d618bd6d302f6ed1 (patch)
treeaac68c382d32d3ff9e506b64f44979b8e37e24ca /lib/Plugins
parent2a29e9a99b98f9060284a1116ad82bacaa04fb6f (diff)
downloadabrt-ddd077dc416c1ceef7f803b4d618bd6d302f6ed1.tar.gz
abrt-ddd077dc416c1ceef7f803b4d618bd6d302f6ed1.tar.xz
abrt-ddd077dc416c1ceef7f803b4d618bd6d302f6ed1.zip
Delete kerneloops fix.
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/SQLite3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/SQLite3.cpp b/lib/Plugins/SQLite3.cpp
index cc639da3..4aac98de 100644
--- a/lib/Plugins/SQLite3.cpp
+++ b/lib/Plugins/SQLite3.cpp
@@ -314,8 +314,8 @@ void CSQLite3::Delete(const std::string& pUUID, const std::string& pUID)
{
Exec("DELETE FROM "ABRT_TABLE" "
"WHERE "DATABASE_COLUMN_UUID" = '"+pUUID+"' "
- "AND "DATABASE_COLUMN_UID" = '"+pUID+"' "
- "OR "DATABASE_COLUMN_UID" = '-1';");
+ "AND ("DATABASE_COLUMN_UID" = '"+pUID+"' "
+ "OR "DATABASE_COLUMN_UID" = '-1');");
}
else
{