Sayan Nandan
|
3a84feb14e
|
Cleanup to use `BGSave` as a configuration object
Also a test for a config file with a custom BGSAVE has been added
|
4 years ago |
Sayan Nandan
|
f2f0d2d4bd
|
Enable bgsave config to be read from the cfg file
Now, the `bgsave` key can be read and parsed from the config file
|
4 years ago |
Sayan Nandan
|
20d0b3bf1f
|
Revert to using vector based tests
A custom testing macro would be made in the future.
For now, we will use the `QueryVec` based test to test the queries
|
4 years ago |
Sayan Nandan
|
b3500ee3b9
|
Use jemalloc for non-MSVC targets
|
4 years ago |
Sayan Nandan
|
d366f887a9
|
Close transport once every test is over
|
4 years ago |
Sayan Nandan
|
d1a04bdf23
|
Manually drop server in tests
|
4 years ago |
Sayan Nandan
|
7dcf8b92d7
|
Enable tests for all queries
|
4 years ago |
Sayan Nandan
|
3ad2d573a0
|
Add tests for mupdate
|
4 years ago |
Sayan Nandan
|
7574e4bc58
|
Add tests for exists
|
4 years ago |
Sayan Nandan
|
ffaa1a563b
|
Add tests for mset
|
4 years ago |
Sayan Nandan
|
42a8d145a1
|
Fix mset and mupdate not detecting an action error
|
4 years ago |
Sayan Nandan
|
f8a1980898
|
Add tests for mget
|
4 years ago |
Sayan Nandan
|
d8c385bf2d
|
Add tests for del
|
4 years ago |
Sayan Nandan
|
ea8d9d2108
|
Add syntax error tests for get, set and update
|
4 years ago |
Sayan Nandan
|
cab2ce733b
|
Add tests for heya, get, set and update queries
|
4 years ago |
Sayan Nandan
|
096a0c901b
|
Remove unused functions and duplicates
`proc_query` is used by both by `tdb-bench` and `tsh` so it was moved.
Also, the `println`s in the query tests were moved into the macros
|
4 years ago |
Sayan Nandan
|
9064c0aca3
|
Enable tests for `get`, `mget` and `heya`
|
4 years ago |
Sayan
|
aeb5899050
|
Fix test in `server::config`
We're checking from a TOML `String` and not from a location
|
4 years ago |
Sayan Nandan
|
59a2b42615
|
Implement logging
|
4 years ago |
Sayan Nandan
|
432e19dd71
|
Make docker build use `latest` tag
|
4 years ago |
Sayan Nandan
|
fc274ff95f
|
Improve docs in server
|
4 years ago |
Sayan Nandan
|
40fea56801
|
Make some `fn`s `const`
|
4 years ago |
Sayan Nandan
|
fb38acd392
|
Implement BGSAVE
|
4 years ago |
Sayan
|
ae5da090ec
|
Don't ignore `heya` test
|
4 years ago |
Sayan Nandan
|
85662e1f83
|
Enable tsh to connect to different ports
|
4 years ago |
Sayan Nandan
|
f69bef7308
|
Improve terminal output and bump up version
We will show a syntax error when we get an invalid config file.
|
4 years ago |
Sayan Nandan
|
c26a319877
|
Bump up version
|
4 years ago |
Sayan Nandan
|
b06dedc8bd
|
Enable configuration files to be used
|
4 years ago |
Sayan Nandan
|
340eaaebcb
|
Add support for IPv6 addressing
|
4 years ago |
Sayan Nandan
|
914b1f06e3
|
Added port, host and noart options in config file
|
4 years ago |
Sayan Nandan
|
86d15120e4
|
Add methods to parse cli arguments
|
4 years ago |
Sayan Nandan
|
0690be4d4e
|
Add module to handle configuration files
|
4 years ago |
Sayan Nandan
|
308e57c846
|
Add `BuiltJSON` and `JSONBlob` objs to build JSON
|
4 years ago |
Sayan Nandan
|
3163b6a0e8
|
Add outline for `jget`
|
4 years ago |
Sayan Nandan
|
6ad417e7ce
|
Bump up version to 0.4.0
|
4 years ago |
Sayan Nandan
|
e23cd5ffcd
|
Update version and labels
|
4 years ago |
Sayan Nandan
|
00730ee9d4
|
Fix wrong length in pre-compiled responses
Length of "Unknown action" should be 14 and not 15
|
4 years ago |
Sayan Nandan
|
e0baf0ac8d
|
Classify `fresp`s and `group`s
|
4 years ago |
Sayan Nandan
|
d8408a45cd
|
Bump up version
|
4 years ago |
Sayan Nandan
|
eee6ddbd45
|
Fix precompiled responses
|
4 years ago |
Sayan Nandan
|
b9d059b510
|
Advance the buffer instead of clearing it
|
4 years ago |
Sayan Nandan
|
faa0a1386b
|
Fix size check operator in read_query
|
4 years ago |
Sayan Nandan
|
6b2d603618
|
Fix buffer not being flushed
|
4 years ago |
Sayan Nandan
|
faaaf79bd8
|
Make `exists` return the number of keys that exist
|
4 years ago |
Sayan Nandan
|
a5d121c767
|
Make `update` accept single key/value pairs only
|
4 years ago |
Sayan Nandan
|
167a9dcaab
|
Add `mupdate` query
|
4 years ago |
Sayan Nandan
|
5bc7a60c06
|
Make `del` return the number of keys deleted
|
4 years ago |
Sayan Nandan
|
f214d38e4a
|
Make `mset` return the number of keys set
|
4 years ago |
Sayan Nandan
|
de1e8e9e87
|
Fix parser tests
|
4 years ago |
Sayan Nandan
|
e49df70aef
|
Update license headers
|
4 years ago |