mterry / 321db

Project II for 60-321: A RDBMS built using C and CURSES
1 stars 0 forks source link

Fix dbcompile.c #22

Closed mterry closed 13 years ago

mterry commented 13 years ago

Due to a heap corruption bug, dbcompile is broken. This will need to be rectified.

In order to proceed with the remainder of the project, the debugging has been put off, and a manually constructed database dictionary has been created in order to implement and test the remaining modules.

mterry commented 13 years ago

Reimplement dbcompile to use the updated crel.c and crel.h structure and functions. The rewrite of crel should eliminate the bug.

mterry commented 13 years ago

Completed rewrite of crel.c and crel.h, and rewrote dbcompile.c. All memory leaks from dbcompile have been eliminated, as well as that nasty malloc issue; spaghetti code has been reduced to nil, and only well structured code remains. The final piece of dbcompile is next: writing the actual dictionary files out. Closed by 91dd95c4498725f38ce6d1afaf090e94e4217dfe.