1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

MDEV-40311 also fix mariadb-show and mariadb-convert-table-format

This commit is contained in:
Sergei Golubchik
2026-07-11 00:04:24 +02:00
parent 2b28d1c424
commit ce0b7254d5
4 changed files with 59 additions and 12 deletions

View File

@@ -93,8 +93,8 @@ foreach $table (@tables)
my ($sth,$row);
# Check if table is already converted
$sth=$dbh->prepare("show table status like '$table'");
if ($sth->execute && ($row = $sth->fetchrow_arrayref))
$sth=$dbh->prepare("show table status like ?");
if ($sth->execute($table) && ($row = $sth->fetchrow_arrayref))
{
if (uc($row->[1]) eq uc($opt_engine))
{