summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2023-02-03 16:36:17 +1100
committerDaniel Black <daniel@mariadb.org>2023-02-07 20:11:37 +1100
commitce4a289f1c367987977f1a02bbb8d8b8e8e6bb53 (patch)
tree9430f236f4a93a4b54dbd30892d4b0f8e7377fe9
parent3622644836f3d5be8ff4d075eae3a21183d88119 (diff)
downloadmariadb-git-ce4a289f1c367987977f1a02bbb8d8b8e8e6bb53.tar.gz
MDEV-30448 No deprecation message shown for mysql_fix_extensions
-rw-r--r--man/mysql_fix_extensions.12
-rw-r--r--scripts/mysql_fix_extensions.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/man/mysql_fix_extensions.1 b/man/mysql_fix_extensions.1
index f043a6e4298..b7bec412b36 100644
--- a/man/mysql_fix_extensions.1
+++ b/man/mysql_fix_extensions.1
@@ -19,6 +19,8 @@ mariadb-fix-extensions \- normalize table file name extensions (mysql_fix_extens
\fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR
.SH "DESCRIPTION"
.PP
+This script is deprecated and will be removed in a later release.
+.PP
\fBmysql_fix_extensions\fR
converts the extensions for
MyISAM
diff --git a/scripts/mysql_fix_extensions.sh b/scripts/mysql_fix_extensions.sh
index c0de813ef1f..f4e2c260f82 100644
--- a/scripts/mysql_fix_extensions.sh
+++ b/scripts/mysql_fix_extensions.sh
@@ -25,6 +25,8 @@
# makes .frm lowercase and .MYI/MYD/ISM/ISD uppercase
# useful when datafiles are copied from windows
+print STDERR "WARNING: This script is deprecated and will be removed in a future release\n\n";
+
die "Usage: $0 datadir\n" unless -d $ARGV[0];
for $a (<$ARGV[0]/*/*.*>) { $_=$a;