summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-10-06 12:31:19 +0300
committerSergei Petrunia <sergey@mariadb.com>2023-01-30 15:22:21 +0200
commit4062fc28bd7c307d7a6b1987df071a3195b8e9b6 (patch)
tree8aee3ed8bceea555102a14717b19061a9e24515b /sql/sql_update.cc
parent87d4d7232c72b525451972cea28fc50eb7033b29 (diff)
downloadmariadb-git-4062fc28bd7c307d7a6b1987df071a3195b8e9b6.tar.gz
Optimizer code cleanups, no logic changes
- Updated comments - Added some extra DEBUG - Indentation changes and break long lines - Trivial code changes like: - Combining 2 statements in one - Reorder DBUG lines - Use a variable to store a pointer that is used multiple times - Moved declaration of variables to start of loop/function - Removed dead or commented code - Removed wrong DBUG_EXECUTE code in best_extension_by_limited_search()
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index f56ec5c83c9..2da95904419 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -833,9 +833,9 @@ int mysql_update(THD *thd,
table->use_all_columns();
/*
- We are doing a search on a key that is updated. In this case
- we go trough the matching rows, save a pointer to them and
- update these in a separate loop based on the pointer.
+ We are doing a search on a key that is updated. In this case
+ we go trough the matching rows, save a pointer to them and
+ update these in a separate loop based on the pointer.
*/
explain->buf_tracker.on_scan_init();
IO_CACHE tempfile;