0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-24 23:20:30 +00:00

10 Commits

Author SHA1 Message Date
7668db8be4 server: fix hrana error classification ()
* server: fix hrana error classification

* add new test snapshots

* more snapshots
2024-06-05 16:34:12 +00:00
612aae4277 server: trim quotes in namespace string in attach statement ()
* Add a regression test when UUIDs are used in attach
statements

Also, added a test to check if the UUID is wrapped
in quotes

* bugfix: trim namespace string if it is wrapped in quotes

the client might send namespace wrapped in quotes in case of uuids,
so we will just trim the string.
2024-03-01 15:08:01 +00:00
adf36104ad fix bad attach name ()
* add test

* fix auth using attach alias instead of target
2024-02-29 14:15:43 +00:00
52d8b8f1c4 Multi-scopes auth & Attach fix ()
* test snapshots

* allow multi-scope auth

* hors-sujet: fix C compile warning

* update jwt and add hashbrown feature

* replace Auth with RequestContext

* extract RequestContext

* fix auth check for multi-scopes

* pass NamespaceName in StmtKind::Attach

* fallback to global auth if key is not set in ns config

* add allow_attach to namespace creation

* return meta store from namespace store

* test attach

* fmt

* review edits
2024-02-26 13:56:20 +00:00
6f67c65a40 Consolidate Hrana proto definitions in one source ()
* Hrana HttpConnection: use shared Hrana stream

* added is_autocommit flag setup during execute requests

* post-rebase fixes

* Hrana HttpConnection: use shared Hrana stream

* added is_autocommit flag setup during execute requests

* halfway

* deduplicated transaction scope counting

* applied changes on wasm connection

* moved the remaining proto definitions

* fixed libsql-sys feature issues
2024-01-29 11:56:07 +00:00
080d1114cc stop swallowing errors 2024-01-23 07:09:30 +01:00
20323aa898 adjusted tests 2024-01-23 07:09:30 +01:00
e4d427c830 fixed cursor step error protocol mismatch 2024-01-16 08:23:08 +01:00
513b3cb4c2 update snapshot 2023-11-07 16:00:27 -05:00
d433884baa add snapshot 2023-11-07 15:38:44 -05:00