We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86c07c9 commit 0d375f6Copy full SHA for 0d375f6
relmodel.cc
@@ -8,4 +8,9 @@ sqltype * sqltype::get(string n)
8
return typemap[n];
9
else
10
return typemap[n] = new sqltype(n);
11
-};
+}
12
+
13
+bool sqltype::consistent(struct sqltype *rvalue)
14
+{
15
+ return this == rvalue;
16
relmodel.hh
@@ -21,6 +21,7 @@ struct sqltype {
21
static map<string, struct sqltype*> typemap;
22
static struct sqltype *get(string s);
23
sqltype(string n) : name(n) { }
24
+ virtual bool consistent(struct sqltype *rvalue);
25
};
26
27
struct column {
0 commit comments