summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-11 16:11:14 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-11 16:11:14 +0100
commitf570c04d61bae344a50e20275669227bbdde829c (patch)
treeb8f684ace973c7fb21f71cd89b3fee1298ad2e2e /lib
parent8e1a8d5237d21fec7b9adc61d44a177a7f2e5daf (diff)
downloadabrt-f570c04d61bae344a50e20275669227bbdde829c.tar.gz
abrt-f570c04d61bae344a50e20275669227bbdde829c.tar.xz
abrt-f570c04d61bae344a50e20275669227bbdde829c.zip
added new column
Diffstat (limited to 'lib')
-rw-r--r--lib/MiddleWare/Database.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/MiddleWare/Database.h b/lib/MiddleWare/Database.h
index 15b20a9a..84099af4 100644
--- a/lib/MiddleWare/Database.h
+++ b/lib/MiddleWare/Database.h
@@ -40,6 +40,7 @@
#define DATABASE_COLUMN_DEBUG_DUMP_PATH "DebugDumpPath"
#define DATABASE_COLUMN_COUNT "Count"
#define DATABASE_COLUMN_REPORTED "Reported"
+#define DATABASE_COLUMN_TIME "Time"
typedef struct SDatabaseRow
{
@@ -48,6 +49,7 @@ typedef struct SDatabaseRow
std::string m_sDebugDumpPath;
std::string m_sCount;
std::string m_sReported;
+ std::string m_sTime;
} database_row_t;
// <column_name, <array of values in all selected rows> >
@@ -62,7 +64,8 @@ class CDatabase : public CPlugin
virtual void DisConnect() = 0;
virtual void Insert(const std::string& pUUID,
const std::string& pUID,
- const std::string& pDebugDumpPath) = 0;
+ const std::string& pDebugDumpPath,
+ const std::string& pTime) = 0;
virtual void Delete(const std::string& pUUID, const std::string& pUID) = 0;