summaryrefslogtreecommitdiffstats
path: root/src/daemon/abrt-server.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-11-23 15:51:54 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-11-23 15:51:54 +0100
commit86fc61db75385d6fb452b4cf88aec1deffa3a5be (patch)
tree8b88bd46ef8fe05167f72b3d1f0bff034620b9a1 /src/daemon/abrt-server.c
parentd992b91c61b4da10e1f977038d85cd640f8d7ae5 (diff)
remove sqlite DB
This change removes sqlite database. Database was used to find dump dirs by [UID:]UUID. This patch uses more natural way: dump dirs are addressed by their directory names. DB was also used to produce a list of dump dirs. Now it is done by iterating over the /var/spool/abrt directory. And finally, DB was also used to find duplicate UUIDs. Now it is done by iterating over the /var/spool/abrt directory. Crash count, "inform all" and reporting result message are moved from DB field to a file in dump dir. "Reported" DB field is deleted - if message != "", then this dump was reported. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/abrt-server.c')
-rw-r--r--src/daemon/abrt-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c
index 67978561..db07fe94 100644
--- a/src/daemon/abrt-server.c
+++ b/src/daemon/abrt-server.c
@@ -134,7 +134,7 @@ static void create_debug_dump()
/* Store id of the user whose application crashed. */
char uid_str[sizeof(long) * 3 + 2];
sprintf(uid_str, "%lu", (long)client_uid);
- dd_save_text(dd, CD_UID, uid_str);
+ dd_save_text(dd, FILENAME_UID, uid_str);
dd_close(dd);