Skip to content

Commit

Permalink
Merge pull request junkumar#2 from linwanggm/master
Browse files Browse the repository at this point in the history
Update dbcreate.cc
  • Loading branch information
junkumar committed Nov 10, 2014
2 parents c4e284d + 8ce85ca commit 25701a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/dbcreate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ int main(int argc, char *argv[])
a.indexNo = -1;
if ((rc = attrfh.InsertRec((char*) &a, rid)) < 0)
PrintErrorExit(rc);

strcpy(a.relName, "attrcat");
strcpy(a.attrName, "func");
a.offset = offsetof(DataAttrInfo, func);
a.attrType = INT;
a.attrLength = sizeof(AggFun);
a.indexNo = -1;
if ((rc = attrfh.InsertRec((char*) &a, rid)) < 0)
PrintErrorExit(rc);


if ((rc = rmm.CloseFile(attrfh)) < 0
Expand Down

0 comments on commit 25701a9

Please sign in to comment.