BusTub is a relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course. This system was developed for educational purposes and should not be used in production environments. Its GitHub url is https://github.com/cmu-db/bustub.
The focus of this repository is learning, therefore, it is not guaranteed that its implementation is correct.
To ensure that you have the proper packages installed on your machine, run sudo build_support/packages.sh
. Then run
mkdir build
cd build
cmake ..
make
Debug mode:
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
Debug build enables AddressSanitizer, which can generate false positives for overflow on STL containers. If you encounter this, define the environment variable ASAN_OPTIONS=detect_container_overflow=0
.
cd build
make check-tests