VivyaCC

Results 6 comments of VivyaCC

ltc has not released an update for 4 years, and there hasn't been a new one yet :) I'm asking because I would like to use master instead of 1.18.2...

I see, sadly doesn't look like there will be a release anytime soon despite the amount of positive changes :/

My thoughts: Lets assume the connection failed. -> We mark the conn as dead and we throw. Old Way: nothing, but no leak as the statement closure will be handled...

Three references which all clean up in dtor (and swallow errors): 1: https://github.com/Roslaniec/MariaCpp/blob/master/src/prepared_stmt.cpp#L51 2: https://github.com/mysql/mysql-connector-cpp/blob/trunk/jdbc/driver/mysql_prepared_statement.cpp#L390 3: https://github.com/mariadb-corporation/mariadb-connector-cpp/blob/master/src/ServerSidePreparedStatement.cpp#L38 https://github.com/mariadb-corporation/mariadb-connector-cpp/blob/master/src/util/ServerPrepareResult.cpp#L36

Generally yes, but I have just found out its possible to have async raii: [co_resource](https://vector-of-bool.github.io/2021/12/30/co_resource.html) I would assume this to be added to boost/asio at some point in the future....

It also happens when I have the window/chat focussed. I always have to manually scroll, for any new message.