use THIS
This commit is contained in:
parent
b6e66e298b
commit
773544da13
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ public:
|
||||||
bool unionComp(Relation r1, Relation r2) {
|
bool unionComp(Relation r1, Relation r2) {
|
||||||
//Two relations are union-compatible if they have the same # of attributes and each attribute must be
|
//Two relations are union-compatible if they have the same # of attributes and each attribute must be
|
||||||
//from the same domain
|
//from the same domain
|
||||||
|
//return (() && ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
class Relation {
|
class Relation {
|
||||||
string name; //The title the user gives it
|
string name; //The title the user gives it
|
||||||
vector<Attribute> att; //A vector of the columns
|
vector<Attribute> att; //A vector of the columns
|
||||||
itn size;
|
int size;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Relation(string n, vector<Attribute> a) {
|
Relation(string n, vector<Attribute> a) {
|
||||||
|
|
Reference in a new issue