37b2c56569
Removing the MySQL lock factory, the only safe way to use this MySQL API would be to open a new DB connection for every lock. Record locking is a decent fallback.