aboutsummaryrefslogtreecommitdiff
path: root/evolution/drop-column/model.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-03 12:49:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-17 12:04:02 +0200
commitd3689b6cd0b01ea4872cefbe99dbaef95febd64d (patch)
tree4451ff9338c967b5d430d2145216fca74149e210 /evolution/drop-column/model.hxx
parent179eb696191958bae891916eec2708c4d3e34983 (diff)
Handling of dynamic empty statements as result of versioning
Diffstat (limited to 'evolution/drop-column/model.hxx')
-rw-r--r--evolution/drop-column/model.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/evolution/drop-column/model.hxx b/evolution/drop-column/model.hxx
index 42a8f54..feff041 100644
--- a/evolution/drop-column/model.hxx
+++ b/evolution/drop-column/model.hxx
@@ -31,9 +31,18 @@ namespace MODEL_NAMESPACE(MODEL_VERSION)
// SQLite doesn't support dropping of columns.
//
#ifndef DATABASE_SQLITE
-#if MODEL_VERSION == 2
+#if MODEL_VERSION >= 2
+
+#if MODEL_VERSION == 3
+ #pragma db deleted(3)
+#endif
std::string str;
+
+#if MODEL_VERSION == 3
+ #pragma db deleted(3)
+#endif
unsigned long num;
+
#endif
#endif
};