summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-05-17 16:18:40 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-05-17 16:18:40 +0300
commitcf69605901434153bfd189bd9fba2cc16448ba9c (patch)
tree2b68b5ada1125e0a460d4016960c497587556e09
parentd11b5ae6474db09bf3e4a2b27adb5e75488fc61c (diff)
downloadmariadb-git-bb-10.5-MDEV-25594.tar.gz
MDEV-25594 fixup: Remove a redundant assignmentbb-10.5-MDEV-25594
-rw-r--r--storage/innobase/trx/trx0trx.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/innobase/trx/trx0trx.cc b/storage/innobase/trx/trx0trx.cc
index e2f37bf9f07..549860e123a 100644
--- a/storage/innobase/trx/trx0trx.cc
+++ b/storage/innobase/trx/trx0trx.cc
@@ -2276,13 +2276,7 @@ trx_start_for_ddl_low(
the data dictionary will be locked in crash recovery. */
trx_set_dict_operation(trx, op);
-
- /* Ensure it is not flagged as an auto-commit-non-locking
- transation. */
- trx->will_lock = true;
-
trx->ddl= true;
-
trx_start_internal_low(trx);
return;