summaryrefslogtreecommitdiffstats
path: root/common/storage_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage_common.cpp')
-rw-r--r--common/storage_common.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/storage_common.cpp b/common/storage_common.cpp
index 1426cd5..8603787 100644
--- a/common/storage_common.cpp
+++ b/common/storage_common.cpp
@@ -36,6 +36,18 @@ namespace Storage {
36static const char *s_internalPrefix = "__internal"; 36static const char *s_internalPrefix = "__internal";
37static const int s_internalPrefixSize = strlen(s_internalPrefix); 37static const int s_internalPrefixSize = strlen(s_internalPrefix);
38 38
39DbLayout::DbLayout()
40{
41
42}
43
44DbLayout::DbLayout(const QByteArray &n, const Databases &t)
45 : name(n),
46 tables(t)
47{
48
49}
50
39void errorHandler(const DataStore::Error &error) 51void errorHandler(const DataStore::Error &error)
40{ 52{
41 if (error.code == DataStore::TransactionError) { 53 if (error.code == DataStore::TransactionError) {