surrealpatch/kvs/mysql
Tobie Morgan Hitchcock 82ffd9ef31 Fix bug in putC/delC for mysql storage backend
When using encryption, the expected value (once encrypted) would never be the same as the encrypted value in the storage layer. As a result, it would never be possible to putC or delC a KV item.

Now the mysql package first gets the key from the storage layer, and then checks it’s decrypted value, before attempting to overwirte the value in the storage layer.
2018-04-04 19:11:59 +01:00
..
db.go Don’t use readonly transactions for mysql 2018-02-11 16:43:59 +00:00
err.go Fix bug in putC/delC for mysql storage backend 2018-04-04 19:11:59 +01:00
kv.go Add support for mysql as a backend kv store 2018-02-11 00:16:28 +00:00
main.go Log errors which occur on the kvs layer 2018-02-11 16:43:49 +00:00
sql.go Fix bug in putC/delC for mysql storage backend 2018-04-04 19:11:59 +01:00
tx.go Fix bug in putC/delC for mysql storage backend 2018-04-04 19:11:59 +01:00
util.go Fix bug in putC/delC for mysql storage backend 2018-04-04 19:11:59 +01:00