diff --git a/README.md b/README.md index 8218679..8e52b77 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ SQL in C++ 2.0 is an educational relational database engine and command-line DSL implemented from first principles. It parses a focused subset of SQL, persists records in checksummed pages, maintains persistent B+ tree indexes, recovers atomic single-writer statements through a WAL, and evaluates compound filters with a shunting-yard pipeline. +I wrote the first version in 2023 while learning C++ and rebuilt the storage engine in 2026. +The [`original-2023`](https://github.com/hskl18/SQL/tree/original-2023) tag keeps the first version. + ![Command-line preview](image/preview.png) ## What it supports @@ -36,7 +39,6 @@ Values are stored and ordered as strings, so numeric-looking values use lexical | `includes/sql` | Coordinates parsing and table operations through the public `SQL` interface. | Storage invariants, query semantics, and deliberate limits are documented in [DESIGN.md](DESIGN.md). -The canonical repository is [hskl18/SQL](https://github.com/hskl18/SQL). ## Build diff --git a/docs/release-checklist-v2.md b/docs/release-checklist-v2.md deleted file mode 100644 index ca5b193..0000000 --- a/docs/release-checklist-v2.md +++ /dev/null @@ -1,15 +0,0 @@ -# Version 2.0.0 release checklist - -This checklist prepares the repository for a later release without creating a tag or GitHub Release. - -- [ ] Confirm the CMake project version is `2.0.0`. -- [ ] Confirm `run_sql --version` reports CLI `2.0.0` and storage format `2`. -- [ ] Run the complete Release CTest suite on Linux and macOS. -- [ ] Run AddressSanitizer and UndefinedBehaviorSanitizer with warnings as errors. -- [ ] Migrate the canonical v1 fixtures and compare schemas, rows, and indexed range-query results. -- [ ] Run every deterministic write and recovery crash point. -- [ ] Run superblock, page, WAL, child-pointer, and partial-record corruption tests. -- [ ] Confirm persistent indexes reopen without a row-derived rebuild. -- [ ] Confirm the v1 source files remain byte-identical after migration. -- [ ] Review the documented single-process and single-writer compatibility boundary. -- [ ] Review the pull request CI evidence before a maintainer creates `v2.0.0`. diff --git a/includes/linked_list/linked_list_functions/linked_list_functions.h b/includes/linked_list/linked_list_functions/linked_list_functions.h index 39c0336..6c173bc 100644 --- a/includes/linked_list/linked_list_functions/linked_list_functions.h +++ b/includes/linked_list/linked_list_functions/linked_list_functions.h @@ -64,8 +64,6 @@ node* _last_node(node* head); // Definition -// TODO - // Linked List General Functions: template void _print_list(node* head) diff --git a/includes/linked_list/node/node.h b/includes/linked_list/node/node.h index 091e086..708b7aa 100644 --- a/includes/linked_list/node/node.h +++ b/includes/linked_list/node/node.h @@ -20,7 +20,6 @@ struct node{ // Definition -// TODO template node::node(const T& item, node* next){ this->_item = item; diff --git a/includes/linked_list/queue/MyQueue.h b/includes/linked_list/queue/MyQueue.h index 465f41c..0823048 100644 --- a/includes/linked_list/queue/MyQueue.h +++ b/includes/linked_list/queue/MyQueue.h @@ -119,8 +119,6 @@ class Queue{ // Definition -// TODO - template Queue::Queue(){ this->_front = nullptr; diff --git a/includes/linked_list/stack/MyStack.h b/includes/linked_list/stack/MyStack.h index d6c432b..ffe1d3e 100644 --- a/includes/linked_list/stack/MyStack.h +++ b/includes/linked_list/stack/MyStack.h @@ -96,8 +96,6 @@ class Stack{ // Definition -// TODO - template Stack::Stack(){ this->_size = 0; diff --git a/includes/map/bplustree.h b/includes/map/bplustree.h index 098afe5..6e4b73f 100644 --- a/includes/map/bplustree.h +++ b/includes/map/bplustree.h @@ -622,6 +622,4 @@ bool BPlusTree::is_valid() const return true; } -// TODO - #endif // BPLUSTREE_H