summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2023-01-05 11:06:35 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2023-01-05 11:07:55 +0530
commit12a85c6caf595c685336455e416099b6a8020534 (patch)
tree2159073055ecb5952ad16f3740e62b9d183c4962 /storage/innobase
parentfe38d7cad4fab33beba90eefaea9e9d4aef06a7c (diff)
downloadmariadb-git-12a85c6caf595c685336455e416099b6a8020534.tar.gz
MDEV-30346 Avoid block device required error in innodb_fts.misc_debug
- Returns DB_LOCK_WAIT_TIMEOUT for the stats_lock_fail debug sync point
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/handler/handler0alter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc
index 2acf888e625..7c162b9af6a 100644
--- a/storage/innobase/handler/handler0alter.cc
+++ b/storage/innobase/handler/handler0alter.cc
@@ -11273,7 +11273,7 @@ err_index:
}
DBUG_EXECUTE_IF("stats_lock_fail",
- error = DB_LOCK_WAIT;);
+ error = DB_LOCK_WAIT_TIMEOUT;);
if (error == DB_SUCCESS) {
error = lock_sys_tables(trx);