Commit Graph

11 Commits

Author SHA1 Message Date
Ilya Shipitsin c846f3737e
CI: remove dedicated "clang-format" workflow in flavour of "cmake" (#504)
"cmake" workflow already performs format check. also, "clang-format"
is broken
2023-06-26 21:22:33 +05:00
Andrey Borodin e3f08723f7
Fix UNIX socket connection to server (#499)
* Fix UNIX socket connection to server

target_session_attrs prevented usage usage of UNIX socket because
in some cases we need to pick any connection host. UNIX socket does
not posess one, so the code was SegFaulting.
2023-05-24 17:35:14 +05:00
kirill reshke fade74703a
Reserve prep stmt (#397)
* Add typedef to enum declaration

* preserve prepared statement basics

* murmur hash impl

* Hash set and hash map

* Hash set and hash map

* Allow relay to rewrite packets

* Fixes

* tmp

* Fmt

* Rebase fixes

* Min working version

* Fix heap buffer overflow

* Add show server_prep_smtms command to console db

* Store prep stmts by body hash

* Fix deadlock in console show prep stmts

* Better discard

* CLeanup code

* Support for multiple override msgs

* Remove rewrite logic

* Config validation

* Fixes

* Fmt

* Deploy rewrited msgs only on sync state

* Fix memoty issues allocaltion

* Smart discard

* Fix asan

* Handle fronent close prepered statement msg

* Fix memory leak

* Fixes

* Tests

* Fix tests

* fix tests

* remove bin

* fix clang compiler warns

* Reduse matrix to 1 case, because it doesnt change anything, as tests runs inside docker
2022-01-18 14:08:15 +05:00
kirill reshke 01f3c036b7
Update tls certs in test, regenerate them with 4096 bytes length, move test to docker (#374)
* Update tls certs in test, regenerate them with 4096 bytes length

* Fix compile errors

* Fix tests
2021-12-05 20:41:01 +05:00
kirill reshke 763862ac8c
fix tests and drop travis ci (#358)
* Fix test

* replace clang-format-9 with clang-format

* Drop travis
2021-11-12 16:54:50 +05:00
kirill reshke 26a2172b6a
Create clang-format.yml 2021-05-28 02:10:19 +05:00
kirill reshke 9265ebf74e
Update cmake.yml 2021-05-21 18:10:29 +05:00
kirill reshke d2bf4e6861
Update cmake.yml 2021-05-20 17:56:46 +05:00
Ilya Tzoop b931fcee7a
Move CI to Github Actions (#318)
* Actualize cmake.yml.

* Added install_ci.sh in order to reuse it in workflows

* Edited cmake.yml

* +sudo

* Added coverity scan
2021-05-20 10:41:55 +05:00
kirill reshke 6f73355294
better (#239)
Co-authored-by: reshke <Kirill Reshke>
2020-12-01 17:33:57 +05:00
kirill reshke a2bc189587
Create cmake.yml 2020-11-30 14:15:14 +05:00