aboutsummaryrefslogtreecommitdiff
path: root/common/view/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-01 14:51:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-01 14:51:06 +0200
commit0f4004313121397fbd5375d663b24ed0dee23616 (patch)
treedbd53a9e9e7a75cf1bb1b62bfd6d01db6ed90030 /common/view/test.hxx
parent6215f11fafd416316293333c8f8fc421aa90a7c4 (diff)
Fix bug in view column parsing
Diffstat (limited to 'common/view/test.hxx')
-rw-r--r--common/view/test.hxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/common/view/test.hxx b/common/view/test.hxx
index dee121c..4492600 100644
--- a/common/view/test.hxx
+++ b/common/view/test.hxx
@@ -405,25 +405,13 @@ struct view6b
#endif
struct view6c
{
-#ifndef DATABASE_ORACLE
#pragma db column("p.first")
-#else
- #pragma db column("\"p\".\"first\"")
-#endif
std::string first_name;
-#ifndef DATABASE_ORACLE
#pragma db column("p.last")
-#else
- #pragma db column("\"p\".\"last\"")
-#endif
std::string last_name;
-#ifndef DATABASE_ORACLE
- #pragma db column("e.name")
-#else
- #pragma db column("\"e\".\"name\"")
-#endif
+ #pragma db column("e"."name")
std::string employer;
};