Sergey Tsalkov

Results 15 comments of Sergey Tsalkov

Fixing this in the meekrodb library is a good idea. Using mysqli.reconnect used to be the solution to this, but it doesn't work with more modern versions of PHP that...

The reason mysqli.reconnect got dropped is that it can break things if you're using transactions or session variables. Keep in mind that disconnects can happen for reasons other than timeout,...

Seems reasonable to me, though I've not looked at it too closely. Any downsides to using UniversalClient?

I've thought about switching the next major release to PDO as a backend (we currently use mysqli). That's what would have to happen to allow sqlite and other databases. That's...

I did a moderate-sized cleanup release today, but haven't gotten around to this yet. I'm still thinking about multiple database support. I expect to do it later this year.

Are you guys able to test the pdo branch? It's quite stable and passes my whole test suite (on MySQL and SQLite). It can connect to any PDO DSN like...

Yeah, pre_parse and pre_run have been merged into a single hook. This was necessary because of how things function now. Old MeekroDB would escape() all of your params and build...

It was no trouble, only took a couple lines of change to add the backwards compatibility in: https://github.com/SergeyTsalkov/meekrodb/commit/158e53b9400147d1083ff85761b7ff34ec6fb092 I'm pretty eager to hear about whether it works for you with...

The new v3 release has published this feature.

I added a `$reconnect_after` variable. If it's been at least this many seconds since the last query, it will reconnect before running another query. The default is 4 hours, which...