summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/SQLite3.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-11-09 11:06:14 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-11-09 11:06:14 +0100
commitca69be0df85ac461824ff06eda61669d7741ca4f (patch)
tree607fb84953af65135109d47dfb8ad19472027fae /lib/Plugins/SQLite3.cpp
parentd8d3f8d838ef4656c2f786c2316577f202827dbf (diff)
parentbff039d2e6d0d721447335311f83c5e9ff50d528 (diff)
downloadabrt-ca69be0df85ac461824ff06eda61669d7741ca4f.tar.gz
abrt-ca69be0df85ac461824ff06eda61669d7741ca4f.tar.xz
abrt-ca69be0df85ac461824ff06eda61669d7741ca4f.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins/SQLite3.cpp')
-rw-r--r--lib/Plugins/SQLite3.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Plugins/SQLite3.cpp b/lib/Plugins/SQLite3.cpp
index d55c0a9..ab39d04 100644
--- a/lib/Plugins/SQLite3.cpp
+++ b/lib/Plugins/SQLite3.cpp
@@ -404,13 +404,11 @@ void CSQLite3::SetSettings(const map_plugin_settings_t& pSettings)
}
}
-map_plugin_settings_t CSQLite3::GetSettings()
+const map_plugin_settings_t& CSQLite3::GetSettings()
{
- map_plugin_settings_t ret;
+ m_pSettings["DBPath"] = m_sDBPath;
- ret["DBPath"] = m_sDBPath;
-
- return ret;
+ return m_pSettings;
}
PLUGIN_INFO(DATABASE,