0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-03-02 20:26:02 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
4c3f5fc7fa allow reindex statement in libsql () 2024-07-24 20:30:25 +00:00
376a89d25e test: add hrana intp_stream test ()
* test: add hrana intp_stream test

* fix test
2024-07-23 22:08:08 +00:00
8ec7db15e6 libsql: add for remote conn ()
* libsql: add  for remote conn

* feature flag new/new_skip_last

* clean up rows usage

* add allow unused for BatchRows::empty
2024-06-19 15:36:45 +00:00
7708a43772 server: add query_duration_ms stats to query res ()
* server: add `query_duration_ms` stats to query res

* hrana: default new stats fields
2024-04-15 16:37:13 +00:00
dac888bbb7 server: add query stats to hrana responses ()
* server: add query stats to hrana responses

* update spec with stats

* remove unused import

* fix snapshot

* more snapshots

* add stats to legacy api

* address comments
2024-04-11 16:23:21 +00:00
998d330428 extend test timeout () 2024-03-09 11:39:39 +00:00
6b13d77519 libsql: Deasyncify some Conn trait methods ()
There's no reason to have `is_autocommit()`, `changes()` or
`last_insert_row()` methods async because they're all fully local and
cannot block. Deasyncify them.
2024-03-05 13:44:53 +00:00
4b2732c5e2 Go: Reset connection when it's returned to a pool ()
* Make all methods of Conn trait async

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* C bindings: Add libsql_reset

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

---------

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-02-29 10:09:07 +00:00
9183998374 libsql client: don't reset last_insert_rowid () 2024-02-02 14:59:23 +00:00
ac6bf3a4a9 Libsql query multi-statements string ()
* Hrana HttpConnection: use shared Hrana stream

* added is_autocommit flag setup during execute requests

* Hrana client: enable passing multi-statement queries

* post-rebase fixes
2024-01-26 12:30:23 +00:00
67678167ed changed RowsInner API to make next row method async 2024-01-16 08:23:08 +01:00
536ce5095c rename(pkg): rename lib to libsql-server, keep bin as sqld 2023-11-17 08:43:05 -06:00
7d1d2d54ab added database connection execute batch support 2023-11-13 06:06:37 +09:00
bae33797b5 initialized hrana-over-http messages 2023-11-13 05:54:10 +09:00
a0a901cb2a test hrana batch correct sample query 2023-11-07 17:04:25 +01:00