From d0a1ea3aca6ff68d6ab6b48fdf8ab1ec3d906dcb Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 6 Sep 2021 17:03:11 +0200 Subject: [PATCH] increase the version string buffer in mariadb-upgrade there's no point in keeping it small. this fixes numerous test failures in preview branches with versions like 10.7.0-MDEV-xxxx-short-feature-description-MariaDB --- client/mysql_upgrade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index 0ac2c8b5853..d35591cd71c 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -70,7 +70,7 @@ static char **defaults_argv; static my_bool not_used; /* Can't use GET_BOOL without a value pointer */ -char upgrade_from_version[sizeof("10.20.456-MariaDB")+1]; +char upgrade_from_version[1024]; static my_bool opt_write_binlog;