diff options
Diffstat (limited to 'common/storage_common.cpp')
-rw-r--r-- | common/storage_common.cpp | 12 |
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 { | |||
36 | static const char *s_internalPrefix = "__internal"; | 36 | static const char *s_internalPrefix = "__internal"; |
37 | static const int s_internalPrefixSize = strlen(s_internalPrefix); | 37 | static const int s_internalPrefixSize = strlen(s_internalPrefix); |
38 | 38 | ||
39 | DbLayout::DbLayout() | ||
40 | { | ||
41 | |||
42 | } | ||
43 | |||
44 | DbLayout::DbLayout(const QByteArray &n, const Databases &t) | ||
45 | : name(n), | ||
46 | tables(t) | ||
47 | { | ||
48 | |||
49 | } | ||
50 | |||
39 | void errorHandler(const DataStore::Error &error) | 51 | void errorHandler(const DataStore::Error &error) |
40 | { | 52 | { |
41 | if (error.code == DataStore::TransactionError) { | 53 | if (error.code == DataStore::TransactionError) { |