diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-02-16 11:36:38 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-02-16 11:36:38 +0200 |
commit | 345356b868d840554a8572876efc027d3ccd9842 (patch) | |
tree | b7548498e5d905a96b33357394b38bf7fb20634b /plugin/handler_socket/handlersocket/database.hpp | |
parent | 7aace5d5da8b80d5e7c0e798f8c80934b7410752 (diff) | |
parent | 0d55914d968fcc557d4429a37c61fbdedd9352a6 (diff) | |
download | mariadb-git-345356b868d840554a8572876efc027d3ccd9842.tar.gz |
Merge 10.9 into 10.10
Diffstat (limited to 'plugin/handler_socket/handlersocket/database.hpp')
-rw-r--r-- | plugin/handler_socket/handlersocket/database.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/handler_socket/handlersocket/database.hpp b/plugin/handler_socket/handlersocket/database.hpp index a4aee0874c7..ed5d00800d9 100644 --- a/plugin/handler_socket/handlersocket/database.hpp +++ b/plugin/handler_socket/handlersocket/database.hpp @@ -27,7 +27,7 @@ struct dbcontext_i; typedef std::auto_ptr<dbcontext_i> dbcontext_ptr; struct database_i { - virtual ~database_i() { } + virtual ~database_i() = default; virtual dbcontext_ptr create_context(bool for_write) volatile = 0; virtual void stop() volatile = 0; virtual const config& get_conf() const volatile = 0; @@ -57,7 +57,7 @@ struct prep_stmt { }; struct dbcallback_i { - virtual ~dbcallback_i () { } + virtual ~dbcallback_i() = default; virtual void dbcb_set_prep_stmt(size_t pst_id, const prep_stmt& v) = 0; virtual const prep_stmt *dbcb_get_prep_stmt(size_t pst_id) const = 0; virtual void dbcb_resp_short(uint32_t code, const char *msg) = 0; @@ -111,7 +111,7 @@ struct cmd_exec_args { }; struct dbcontext_i { - virtual ~dbcontext_i() { } + virtual ~dbcontext_i() = default; virtual void init_thread(const void *stack_bottom, volatile int& shutdown_flag) = 0; virtual void term_thread() = 0; |