0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-16 15:40:10 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
d1a75ba344 libsql: fix deferred txn with embedded replicas
This fixes an issue where embedded replica based connections would have
issues dispatching executes on deferred statements. This is due to sqld
using `sqlite3_txn_state` to return the connection's state. While this
works for other transactions, in a deferred transaction the connection
does not change its state to be in a transaction. This is due to the
nature of a deferred transaction. The problem is that the connection
does set `is_autocommit` to `false`. This means that sqld is returning
that it is not in a txn state which is used by clients to set its
`is_autocommit` state. For now the work around is to track when the
client is in a `DEFERRED` transaction and to handle remote state
transition's in such a way that it ignores the value from the server if
it is currently in the deferred state.
2023-11-02 14:44:53 -04:00
e8b97c689f fix sim tests xarg 2023-10-31 09:22:30 -04:00
ab354d156a fix embedded replica tests 2023-10-31 09:22:30 -04:00
736d077e36 join simulation test creation 2023-10-31 09:22:30 -04:00
9a5fc8d5f6 review fixes 2023-10-30 17:30:01 +01:00
4a3a31836b session based handshake 2023-10-30 17:26:19 +01:00
0012ae05c2 fix tests 2023-10-30 17:26:18 +01:00
29dc6d953e fix tests 2023-10-30 17:26:18 +01:00
5d9fd529fc use abstract Replicator in libsql-server 2023-10-30 17:26:17 +01:00
4879f4ccc2 Revert "Revert "Same-thread frame injection ()" ()"
This reverts commit 85b3358a4d.
2023-10-30 17:25:28 +01:00
2fc8e91995 enable sim tests in CI 2023-10-30 12:53:48 +01:00
f15800793a re-enable embedded replica tests 2023-10-19 09:11:25 +02:00
99996d0cfe move sqld release workflow 2023-10-17 17:41:29 +02:00
71ca43a7b6 make sqld compile 2023-10-17 17:41:26 +02:00