MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / dbcontext

Method dbcontext

handlersocket/database.cpp:221–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221dbcontext::dbcontext(volatile database *d, bool for_write)
222 : dbref(d), for_write_flag(for_write), thd(0), lock(0), lock_failed(false),
223 user_level_lock_timeout(0), user_level_lock_locked(false),
224 commit_error(false)
225{
226 info_message_buf.resize(8192);
227 user_level_lock_timeout = d->get_conf().get_int("wrlock_timeout", 12);
228}
229
230dbcontext::~dbcontext()
231{

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.80
get_intMethod · 0.80

Tested by

no test coverage detected