This commit is contained in:
Rebecca Schofield 2015-09-15 22:20:14 -05:00
parent b6e66e298b
commit 773544da13
2 changed files with 2 additions and 2 deletions

View file

@ -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 (() && ());
} }

View file

@ -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) {