summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-06-09 18:31:23 +0200
committerSergei Golubchik <serg@mariadb.org>2021-06-11 13:02:55 +0200
commit3648b333c74b5c36776db30a4370bafa28a73ef0 (patch)
treeafb09a4efa03f67bf264b913cd5caa0a5418a0c6 /sql/sql_insert.cc
parent89342a3bd5e127a9060ec2a938cf36479388fcb1 (diff)
downloadmariadb-git-3648b333c74b5c36776db30a4370bafa28a73ef0.tar.gz
cleanup: formatting
also avoid an oxymoron of using `MYSQL_PLUGIN_IMPORT` under `#ifdef MYSQL_SERVER`, and empty_clex_str is so trivial that a plugin can define it if needed.
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 9bdd40010df..24ffad7368a 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -2977,8 +2977,8 @@ public:
};
-bool Delayed_prelocking_strategy::
-handle_table(THD *thd, Query_tables_list *prelocking_ctx,
+bool Delayed_prelocking_strategy::handle_table(THD *thd,
+ Query_tables_list *prelocking_ctx,
TABLE_LIST *table_list, bool *need_prelocking)
{
DBUG_ASSERT(table_list->lock_type == TL_WRITE_DELAYED);
@@ -2992,10 +2992,9 @@ handle_table(THD *thd, Query_tables_list *prelocking_ctx,
}
-bool Delayed_prelocking_strategy::
-handle_routine(THD *thd, Query_tables_list *prelocking_ctx,
- Sroutine_hash_entry *rt, sp_head *sp,
- bool *need_prelocking)
+bool Delayed_prelocking_strategy::handle_routine(THD *thd,
+ Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt,
+ sp_head *sp, bool *need_prelocking)
{
/* LEX used by the delayed insert thread has no routines. */
DBUG_ASSERT(0);