summaryrefslogtreecommitdiff
path: root/plugin/handler_socket/handlersocket/database.cpp
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2023-02-10 11:59:36 +0200
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2023-02-10 11:59:36 +0200
commit702aad13a868caa88951971377c6ef9266bc6101 (patch)
tree751a4ffb85a90e2be02ee4a70def8a97c7b3943f /plugin/handler_socket/handlersocket/database.cpp
parenta9eb272f9147b2889b95b3f53353e1c735defaba (diff)
parentcacea31687c098c0348deb1e433f4baddd817419 (diff)
downloadmariadb-git-bb-10.5-vicentiu.tar.gz
Merge remote-tracking branch '10.4' into 10.5bb-10.5-vicentiu
Diffstat (limited to 'plugin/handler_socket/handlersocket/database.cpp')
-rw-r--r--plugin/handler_socket/handlersocket/database.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugin/handler_socket/handlersocket/database.cpp b/plugin/handler_socket/handlersocket/database.cpp
index 937b1177ae4..db24e33a141 100644
--- a/plugin/handler_socket/handlersocket/database.cpp
+++ b/plugin/handler_socket/handlersocket/database.cpp
@@ -189,9 +189,7 @@ database::database(const config& c)
{
}
-database::~database()
-{
-}
+database::~database() = default;
dbcontext_ptr
database::create_context(bool for_write) volatile
@@ -226,9 +224,7 @@ dbcontext::dbcontext(volatile database *d, bool for_write)
user_level_lock_timeout = d->get_conf().get_int("wrlock_timeout", 12);
}
-dbcontext::~dbcontext()
-{
-}
+dbcontext::~dbcontext() = default;
namespace {