summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-18 18:17:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-19 08:39:02 +0200
commitce68e14b61cc25a28f7dbc39a609898b71df4017 (patch)
tree95e250fda5e1dec849f7237f7b6cd6a7601517b0 /odb
parent1184351ed13ccd892bf2aaba22d9f1af93e4ec64 (diff)
Remove unused flag
Diffstat (limited to 'odb')
-rw-r--r--odb/context.hxx4
-rw-r--r--odb/relational/type-processor.cxx6
2 files changed, 3 insertions, 7 deletions
diff --git a/odb/context.hxx b/odb/context.hxx
index ef8b2c8..3055997 100644
--- a/odb/context.hxx
+++ b/odb/context.hxx
@@ -373,10 +373,6 @@ protected:
//
static column_type_flags const ctf_default_null = 0x01;
- // Get object id reference instead of object id.
- //
- static column_type_flags const ctf_object_id_ref = 0x02;
-
// Return empty string if there is no mapping. The second argument
// is the custom type or empty string if it is not specified.
//
diff --git a/odb/relational/type-processor.cxx b/odb/relational/type-processor.cxx
index 52bec34..05c50a5 100644
--- a/odb/relational/type-processor.cxx
+++ b/odb/relational/type-processor.cxx
@@ -130,7 +130,7 @@ namespace relational
if (type.empty () && idt.count ("type"))
type = idt.get<string> ("type");
- column_type_flags f (ctf_object_id_ref);
+ column_type_flags f (ctf_none);
if (null_pointer (m))
f |= ctf_default_null;
@@ -143,7 +143,7 @@ namespace relational
type = database_type (t, orig, m, ctf_none);
if (m.count ("id"))
- ref_type = database_type (t, orig, m, ctf_object_id_ref);
+ ref_type = database_type (t, orig, m, ctf_none);
}
if (!type.empty ())
@@ -217,7 +217,7 @@ namespace relational
if (type.empty () && idt.count ("type"))
type = idt.get<string> ("type");
- column_type_flags f (ctf_object_id_ref);
+ column_type_flags f (ctf_none);
if (null_pointer (m, prefix))
f |= ctf_default_null;