MCPcopy Create free account
hub / github.com/MariaDB/server / dbcontext

Method dbcontext

plugin/handler_socket/handlersocket/database.cpp:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
get_intMethod · 0.45

Tested by

no test coverage detected