Skip to content

Commit 34df6cf

Browse files
committed
Merge branch 'mysql-8.0-bug32151601' into mysql-trunk
2 parents c6993d0 + a83bf17 commit 34df6cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

storage/innobase/handler/ha_innodb.cc

+4-3
Original file line numberDiff line numberDiff line change
@@ -15577,10 +15577,11 @@ static int innodb_alter_undo_tablespace_inactive(handlerton *hton, THD *thd,
1557715577
auto count = fil_count_undo_deleted(undo_space->num());
1557815578
if (count > CONCURRENT_UNDO_TRUNCATE_LIMIT) {
1557915579
my_printf_error(ER_DISALLOWED_OPERATION,
15580-
"Cannot set %s inactive since there would be"
15581-
" more than 64 old versions of this undo tablespaces"
15580+
"Cannot set %s inactive since there would be more"
15581+
" than %zu old versions of this undo tablespace"
1558215582
" in cache. Please wait for the next checkpoint.",
15583-
MYF(0), undo_space->space_name());
15583+
MYF(0), undo_space->space_name(),
15584+
CONCURRENT_UNDO_TRUNCATE_LIMIT);
1558415585

1558515586
return (HA_ERR_NOT_ALLOWED_COMMAND);
1558615587
}

0 commit comments

Comments
 (0)