- (11/15/2007) Please make the following changes to your ix/makefile.
Change:
# binary dependencies
ixtest: ixtest.o libix.a $(CODEROOT)/fs/libfs.a $(CODEROOT)/rm/librm.a
to
# binary dependencies
ixtest: ixtest.o libix.a $(CODEROOT)/rm/librm.a $(CODEROOT)/fs/libfs.a
Change:
.PHONY: $(CODEROOT)/fs/librm.a
to
.PHONY: $(CODEROOT)/rm/librm.a
- (11/15/2007) Since the interface of project 2 requires you to
retrieve the type information of an attribute, we assume the
"CreateTable()" function in project 1 is correctly implemented. You
will use this function to continue your project 2. We will assume
your correct implementation of this function in our testing.
- (11/15/2007) We have made some changes to the source code of the
file system. Please download the new version
from here.
- (11/15/2007) Homework 5 is on Gradiance. It will be due on on
November 22, Thursday, 11:59pm.
- (11/9/2007) The midterm will be on November 13, Tuesday. It
will be in-class, close books, close notes. It will cover the
materials covered before the midterm, except those on
multi-attribute indexing and R-trees.
- (11/9/2007) Project 2 is
online. It will be due on December 7, 2007, Friday, 11:45
PM. Submit it on EEE.
- (11/1/2007) We have created a DropBox on EEE for you to submit
your project 1. Due to the limitation of EEE, the deadline is set to
be 11:45 pm on Wednesday (instead of the original 11:59 pm). Check
this page for the
instructions on the submission.
- (11/1/2007) Homework 4 is on Gradiance. It will be due on on
November 11, Sunday, 11:59pm.
- (11/1/2007) Thanks to Alex Behm, we fixed some bugs in the file
system. Please download the following files:
The only change that may affect your code is the following function
in fs.h:
FS_RESULT fs_append_filepage(void *file_ptr, UCHAR *blk_ptr);
has been changed to:
FS_RESULT fs_append_filepage(void **file_ptr, UCHAR *blk_ptr);
The file
cs222-code-project1.tar.gz
was also updated, but you don't need to download it again.
- (10/30/2007) We added more examples
at this page to show how to
use the file system properly.
- (10/30/2007) Please check
this page for a guideline on how to use the file system properly.
- (10/30/2007) We fixed two bugs in the file
"fs/fs_operations.c". Please download the new
one here. The file
cs222-code-project1.tar.gz
was also updated, but you don't need to download it again.
- (10/29/2007) In the "main" function in the fs/fs_user.c file,
the "command" variable was declared as char command[32], but
some test commands have more than 32 characters. So you can change it
to a longer string, such as char command[100].
- (10/26/2007) The midterm will be on November 13, Tuesday. It
will be in-class, close books, close notes. It will cover all the
materials covered before the midterm.
- (10/26/2007) Homework 3 (Gradiance) is online. It's due on
November 2, Friday, 11:59pm.
- (10/20/2007) Please check the
page http://www.ics.uci.edu/~cs222/project1/index.html#memreq
for memory requirements for project 1.
- (10/23/2007) We noticed two mistakes in the rules we suggested
you to write for the makefiles. Let's correct them. When you write
that one .h file depends on another .h file, you have to add an action
line as follows:
a.h: b.h
touch $@
For the clean rule, the $(MAKE) line does not need a dash:
.PHONY: clean
clean:
-rm rmtest *.a *.o *~
$(MAKE) -C $(CODEROOT)/fs clean
Notice that only the "rm" line has a dash. We have updated the
cs222-code-project1.tar.gz file online. You only need to get the two
makefiles from the fs/ and rm/ folders. Sorry about the changes.
- (10/20/2007) In rm/rm.cc, please make the following minor changes:
Change RC scan(const char *tableName, ...
to RC RM::scan(const char *tableName, ...
Change RC insertTuple(const char *tableName, const void *record, RID &rid)
to RC RM::insertTuple(const char *tableName, const void *data, RID &rid)
The updated cs222-code-project1.tar.gz has included these changes.
- (10/18/2007) Per the discussion in today's lecture, I have fixed
the typo in rm/rm.h in cs222-code-project1.tar.gz. In addition, I
also modified the RM.scan() interface to return an iterator (rather
than a vector of all the results) in order to save the buffer size
between the caller and the callee. Please download the new
cs222-code-project1.tar.gz file.
- (10/17/2007) We have provided you a framework of the code for
project 1. It's described at here,
and the code can be downloaded at here. Since the code
of project 0 was using C, and we want you to implement projects 1 and
2 in C++, we have made some minor changes to the code of project 0
(mainly type changes). So you can use the cleaned code of the file
system provided in this package (instead of the one provided in
project 0).
- (10/16/2007) We created a new page to
include useful resources related to the projects.
- (10/16/2007) Homework 2 is available on Gradiance. It's due on October
22, Monday, 11:59pm, with the same setting as homework 1.
- (10/14/2007) Since some students still need more time to get their Gradiance access card,
the deadline of homework 1 on Gradiance has been extended to October 16, Tuesday, 11:59 pm.
- (10/9/2007) Project 1 is online.
- (10/9/2007) The deadline of homework 1 on Gradiance has been changed to
October 14, Sunday, 11:59pm, in order to make sure all students can get
the access card.
- (10/4/2007) The first homework is online on Gradiance. It's due
on October 12, Friday, 11:59pm. It has 5 multiple-choice questions.
Each correct choice gives you 4 points, and a wrong choice gives you
0 point. You can do the homework up to three times, and the system
will take your latest score. Every two attempts should be at least
10 minutes apart. We will use this same setting for future homeworks.
- (10/1/2007) The deadline to drop/add the class is October 4,
Thursday, after the class.
- (10/1/2007) Please form your group by October 9, 2007. Send to Vivek
(singhv AT uci DOT edu) your names and email addresses of your group.
- (9/21/2007) Our first lecture will be on October
2nd, Tuesday (instead of September 27, Thursday), 12:30 pm --
1:50 pm at Donald Bren Hall, Room 1500.