Jindřich Moravec
b87ff160d2
Merge branch 'throttle-flag' into 'main'
...
Add the throttle flag
See merge request x433485/minisql!32
2024-02-05 14:20:04 +01:00
Maxim Svistunov
0b17d6cef7
Improve identifier parsing checks
2024-02-05 14:10:14 +01:00
Maxim Svistunov
03e357fd40
Add the throttle flag
2024-02-05 14:10:14 +01:00
Maxim Svistunov
9106e23d61
Merge branch 'parsing-TODOs-and-optional' into 'main'
...
Resolve TODOs in parsing and add Optional parsing & validation
See merge request x433485/minisql!29
2024-02-04 15:02:04 +01:00
Maxim Svistunov
a8c9c57231
Remove the ASCII-only check
2024-02-04 14:53:52 +01:00
Yuriy Dupyn
c4f5ac7b70
Fix type-checking option bug
2024-02-04 14:40:36 +01:00
Yuriy Dupyn
da8e2d6771
Remove some unused imports
2024-02-04 14:27:59 +01:00
Maxim Svistunov
6245dba4f0
Parsing and validation for Option
...
Add option type and option value parsers
value->literal in parser, implement Option literal
2024-02-04 14:01:47 +01:00
Maxim Svistunov
de8c6164cf
Resolve TODOs in parsing
...
Return error for queries containing non-ASCII characters
Allow underscores in identifiers
Add a delete statement test with spaces
Remove trailing spaces and semicolons from tests and parsers
Complete the multiple statement parser TODO
2024-02-04 14:01:47 +01:00
Yuriy Dupyn
5d040f15f5
Merge branch 'optional_values' into 'main'
...
Introduce Optional type
See merge request x433485/minisql!28
2024-02-02 19:04:30 +01:00
Yuriy Dupyn
700acf5661
Remove unnecessary import
2024-02-01 22:39:08 +01:00
Jindřich Moravec
6d1af26fa8
refactor: add standalone PgOid type
2024-02-01 22:27:58 +01:00
Jindřich Moravec
bdb6a955df
tests: add asserts for the expected byte representation
2024-02-01 21:49:23 +01:00
Jindřich Moravec
12488e23bf
tests: update test case for value stringification
2024-02-01 21:46:26 +01:00
Jindřich Moravec
14d432e817
tests: add cases for nested types
2024-02-01 21:40:05 +01:00
Jindřich Moravec
896d40ab64
feat: encoding of nested option types
2024-02-01 21:22:32 +01:00
Yuriy Dupyn
af5490e2dc
Cleanup
2024-02-01 17:14:50 +01:00
Yuriy Dupyn
ae4061980e
white space
2024-02-01 15:51:31 +01:00
Yuriy Dupyn
d4a941a738
Write new parser/formatters for Values/IndexableValues
2024-02-01 15:50:19 +01:00
Yuriy Dupyn
6b93452d3e
Make IndexableValue into a total order
2024-02-01 15:22:03 +01:00
Yuriy Dupyn
dab4fdd02b
Merge branch 'main' into optional_values
2024-02-01 15:02:32 +01:00
Yuriy Dupyn
22a2730b96
Make test compile
2024-02-01 14:57:45 +01:00
Yuriy Dupyn
fbd7bf1f72
Fix errors in parsing crate
2024-02-01 14:45:29 +01:00
Yuriy Dupyn
339686f5c5
Introduce optional type/value
2024-02-01 14:35:25 +01:00
Yuriy Dupyn
999e9e6d5b
Merge branch 'deal_with_todos' into 'main'
...
Deal with todos in minisql crate
See merge request x433485/minisql!27
2024-02-01 14:28:28 +01:00
Yuriy Dupyn
7c9caa032b
Remove HEY_BTW: comment
2024-02-01 14:20:24 +01:00
Jindřich Moravec
597c52caa0
Merge branch 'index-serialization' into 'main'
...
Index serialization
See merge request x433485/minisql!25
2024-02-01 13:39:41 +01:00
Yuriy Dupyn
a3e3390c85
Explain the role of the DESIGN_OLD.md file
2024-02-01 13:35:10 +01:00
Yuriy Dupyn
e22b31dc41
Locking per table is a concern of a different PR
2024-02-01 13:31:42 +01:00
Yuriy Dupyn
5909df60b0
Explain one occurence of extra braces around a block of code in tests
2024-02-01 13:30:59 +01:00
Yuriy Dupyn
83fd46b4f5
Explain why implementing Debug for Response::Selected(...) is problematic
2024-02-01 13:29:05 +01:00
Yuriy Dupyn
df108f581c
Explain why floats are different with respect to indexing
2024-02-01 13:25:43 +01:00
Yuriy Dupyn
8cc5b92808
Remove TODO's about Null. We'll implement Option<T> in another PR
2024-02-01 13:25:09 +01:00
Jindřich Moravec
22d29e86bf
fix: convert demo db file
2024-01-30 20:19:06 +01:00
Jindřich Moravec
67f0afeba8
fix: serialization of values into string
2024-01-30 20:12:34 +01:00
Jindřich Moravec
ee757c7ca2
Merge branch 'docs-v2' into 'main'
...
docs: add example query
See merge request x433485/minisql!24
2024-01-28 23:48:24 +01:00
Jindřich Moravec
823533c7d0
docs: add example query
2024-01-28 23:29:17 +01:00
Maxim Svistunov
63171f3b32
Merge branch 'docs' into 'main'
...
Project documentation
See merge request x433485/minisql!23
2024-01-28 23:07:53 +01:00
Jindřich Moravec
124f602547
docs: remove empty line
2024-01-28 23:01:05 +01:00
Jindřich Moravec
e26fffe36c
docs: project documentation
2024-01-28 22:58:32 +01:00
Yuriy Dupyn
c4de02c1e6
Clear up division of labour
2024-01-28 22:51:27 +01:00
Yuriy Dupyn
53c5d3f3f7
Merge branch 'cargo-format' into 'main'
...
Apply cargo format
See merge request x433485/minisql!22
2024-01-28 22:43:06 +01:00
Yuriy Dupyn
845db102c2
cargo format
2024-01-28 22:40:41 +01:00
Yuriy Dupyn
4d45da0cd1
Merge branch 'clippy-formatting' into 'main'
...
Clippy formatting
See merge request x433485/minisql!21
2024-01-28 22:30:59 +01:00
Yuriy Dupyn
b836ba5e04
Merge remote-tracking branch 'origin/main' into clippy-formatting
2024-01-28 22:27:03 +01:00
Jindřich Moravec
adb1d14e4b
Merge branch 'demo-data' into 'main'
...
Add demo DB with two tables
See merge request x433485/minisql!19
2024-01-28 22:25:44 +01:00
Yuriy Dupyn
0cac6a0094
Clippy
2024-01-28 22:25:38 +01:00
Maxim Svistunov
a184657d41
Merge branch 'cancellation' into 'main'
...
Fix cancellation before next query
See merge request x433485/minisql!20
2024-01-28 22:23:34 +01:00
Jindřich Moravec
65a469e8b9
fix: cancellation before next query
2024-01-28 22:21:03 +01:00
Maxim Svistunov
402251aa5c
Add demo DB with two tables
2024-01-28 22:10:33 +01:00