Hi, I am unable to compile the given files. The error I get is: g++ -O2 -Wno-deprecated -g -c Record.cc File.h:52: error: ???off_t??? does not name a type ...
This is quite strange... where are you trying to compile? I tried compiling at several CISE locations and never had a problem. Anyway, one thing to try is to...
Hi, I had tried compile it on thunder.cise.ufl.edu as well as on my laptop which has ubuntu. It just found out that it compiles on sun machines, but not on any...
Hi all-- I posted a new version of Chris.tar that should compile and run correctlly on Linux as well. If you had previously downlaoded the old version, go to...
Dear Dr Jermaine, I have a doubt regarding the curLength member of File class. From the code it looks like we are not initializing it to anything when creating...
You might have the depricated version of Chris.tar. Try re-downloading it, --Chris -- ____________________________________________________________ Christopher...
Hi all-- There are slightly updated versions of the assignment PDF file as well as Chris.tar posted on the website. Please download new version of both when...
Hi, I have a couple of doubts regarding assignment 1. 1. The Create and Open functions of DBFile are supposed to return integers as per their success or...
Hi Chris Can I add a function in to page class which returns the total no of records in the page. We can implement this using functionality of two way list , ...
Hi Chris, Sorry for my previous incomplete mail . I have following doubts with Project 1. 1>In Load function, once the file is loaded, if the page is full, we...
16
Joyesh Mishra
jmishra@...
Jan 21, 2008 4:54 am
Hi All, We found two small typos which result in Seg Fault (on linux, works fine on solaris!) when the object destructors are called in. We ended up spending...
Yes, these seem to cause problems on Linux (my excuse is that development was done on Solaris!). Anyway, the change has been made in Chris.tar, --Chris -- ...
... Any one of these is fine. In practice, a user should never expect anything regarding the plinter after a Load -- other than if he/she calls MoveFirst...
A test driver for A1 (heap file) has been posted on the class website. Check out the README file for usage instructions. Submission instructions will be posted...
... Unfortunately, there could be a million explanations for this! My first question is: how many pages did you write to lineitem? Did you actually write 731...
To conserve common disk space, please *avoid* generating your own TPC-H files in CISE machines. I have generated all the required files using dbgen and have...
As the business war on the air is hotting up with so many low-budget airlines dominating the sky, the passengers can now enjoy the best deals. The webguide -...
Hi Chris, It seems that the GetLength method from the File class returns one more than the total number of pages. Also, the Open function from File does not...
... I agree that the way that GetLength works is a bit confusing! If a file is brand new, then GetLength returns zero. But after you have added data to the...
... The File class uses the first page to store metainformation. You can just subtract 1 from the returned value. ... I don't think there is a need to change...
Hi Chris, I have a doubt regarding the test files : test.cc In test.cc, the test methods operate on different instances of DBFile. In the 2 scan test methods,...
If a binary DBFile exists, then File::Open () should correctly set the # of pages when it is called. Make sure you are passing the right parameter values. In...
Hi, We are getting 0 records in scan & compare whenever there is string comparision. For eg,In the test driver, for q1 , q2 we are getting 0. I think that the...
This problem seems to be due to the fact that the quotes around the string to be compared are never removed and thus when strcmp looks at "MAIL" and " 'MAIL' "...