Add transactional vise db ability #11

Merged
lash merged 21 commits from lash/dbtx into master 2025-01-21 15:15:16 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 1c911ee73f - Show all commits

View File

@ -43,7 +43,7 @@ func (p *asyncRequestParser) GetInput(r any) ([]byte, error) {
func main() { func main() {
config.LoadConfig() config.LoadConfig()
var override config.Override var override config.Override
var sessionId string var sessionId string
var size uint var size uint

View File

@ -32,7 +32,7 @@ func (k KeyInfo) String() string {
func ToKeyInfo(k []byte, sessionId string) (KeyInfo, error) { func ToKeyInfo(k []byte, sessionId string) (KeyInfo, error) {
o := KeyInfo{} o := KeyInfo{}
o.SessionId = sessionId o.SessionId = sessionId
o.Typ = uint8(k[0]) o.Typ = uint8(k[0])
k = k[1:] k = k[1:]
@ -53,7 +53,7 @@ func ToKeyInfo(k []byte, sessionId string) (KeyInfo, error) {
k = k[2:] k = k[2:]
} }
return o, nil return o, nil
} }