summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/name.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-03-28 16:04:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:44 +0200
commit2aa3cabf1b737e225178230882ee9aadfd817ce0 (patch)
tree85a6c7a90f8483ca11a4bc825cd2ef22114c3d97 /odb/semantics/relational/name.hxx
parente999b1e7295acd8cdb646c2db7db1f5059f10c7d (diff)
Add changelog support for add/drop index/foreign key
Also diagnose changes to primary keys and establish the 'alters' association.
Diffstat (limited to 'odb/semantics/relational/name.hxx')
-rw-r--r--odb/semantics/relational/name.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/semantics/relational/name.hxx b/odb/semantics/relational/name.hxx
index 18c7509..06794be 100644
--- a/odb/semantics/relational/name.hxx
+++ b/odb/semantics/relational/name.hxx
@@ -125,6 +125,18 @@ namespace semantics
public:
friend bool
+ operator== (qname const& x, qname const& y)
+ {
+ return x.components_ == y.components_;
+ }
+
+ friend bool
+ operator!= (qname const& x, qname const& y)
+ {
+ return x.components_ != y.components_;
+ }
+
+ friend bool
operator< (qname const& x, qname const& y)
{
return x.components_ < y.components_;