prsqlite
prsqlite copied to clipboard
Pure Rust implementation of SQLite
https://rrmprogramming.com/article/code-coverage-in-rust/
Introduce ``` BtreePagerBuffer
Set upper limit of memory usage. * [ ] LRU for removing a page in the cache. * [ ] Recovery from out-of-memory (OOM) situation #38
https://www.sqlite.org/malloc.html
Insert uses free size. SQLite caches free size in page. We should add context area to pager::MemPage and store free size.
* [x] sqlite_schema index support #8 * CREATE INDEX sql syntax : https://www.sqlite.org/lang_createindex.html * [x] Single integer column index with `WHERE = ` * [x] Type Conversions Prior To Comparison...
SQL Spec
* [SQL syntax in Sqlite](https://www.sqlite.org/lang.html) * https://www.sqlite.org/lang_keywords.html * https://www.sqlite.org/syntaxdiagrams.html # Syntax - [ ] [aggregate functions](https://www.sqlite.org/lang_aggfunc.html) - [ ] [ALTER TABLE](https://www.sqlite.org/lang_altertable.html) - [ ] [ANALYZE](https://www.sqlite.org/lang_analyze.html) - [ ] [ATTACH DATABASE](https://www.sqlite.org/lang_attach.html)...
https://www.sqlite.org/lang_select.html - [ ] WITH - [ ] common-table-expression - [ ] RECURSIVE - [ ] DISTINCT - [ ] ALL - [ ] FROM multiple tables - [ ]...
Use macro to skip parse error on btree.
Tests the cases when usable_size does not equals to the page size.