0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-23 11:48:18 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
8f0f58c7fc sqld: add invalid sql dump test 2024-11-26 09:18:52 -05:00
3c62bd7b68 sqld: reject ATTACH statements
This adds support for rejecting `ATTACH` statements from dumps. `ATTACH`
statements should be considered dangerous in a multi-tenant setting.
With this commit any `ATTACH` statement inside a dump will be rejected
with a 400 status code and a message. In addition, any other sql errors
returned by sqlite will be returned as a 400. All other dump errors
through this code path (conn.with_raw) will return a 500 like before.
2024-11-25 12:40:54 -05:00
998d330428 extend test timeout () 2024-03-09 11:39:39 +00:00
ce3da312df namespaces: more quoting fixes 2024-01-19 08:22:57 +01:00
67678167ed changed RowsInner API to make next row method async 2024-01-16 08:23:08 +01:00
71ca43a7b6 make sqld compile 2023-10-17 17:41:26 +02:00