Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
22204dc9
Commit
22204dc9
authored
Dec 19, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql_fix_extensions added
parent
140fc786
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
.bzrignore
.bzrignore
+1
-0
scripts/Makefile.am
scripts/Makefile.am
+3
-0
scripts/mysql_fix_extensions.sh
scripts/mysql_fix_extensions.sh
+16
-0
No files found.
.bzrignore
View file @
22204dc9
...
...
@@ -446,3 +446,4 @@ vio/test-sslclient
vio/test-sslserver
vio/viotest-ssl
sql-bench/test-transactions
scripts/mysql_fix_extensions
scripts/Makefile.am
View file @
22204dc9
...
...
@@ -20,6 +20,7 @@ bin_SCRIPTS = @server_scripts@ \
msql2mysql
\
mysql_config
\
mysql_fix_privilege_tables
\
mysql_fix_extensions
\
mysql_setpermission
\
mysql_zap
\
mysqlaccess
\
...
...
@@ -35,6 +36,7 @@ EXTRA_SCRIPTS = make_binary_distribution.sh \
msql2mysql.sh
\
mysql_config.sh
\
mysql_fix_privilege_tables.sh
\
mysql_fix_extensions.sh
\
mysql_install_db.sh
\
mysql_setpermission.sh
\
mysql_zap.sh
\
...
...
@@ -61,6 +63,7 @@ CLEANFILES = @server_scripts@ \
msql2mysql
\
mysql_config
\
mysql_fix_privilege_tables
\
mysql_fix_extensions
\
mysql_setpermission
\
mysql_zap
\
mysqlaccess
\
...
...
scripts/mysql_fix_extensions.sh
0 → 100644
View file @
22204dc9
#!@PERL@
# This is a utility for MySQL. It is not needed by any standard part
# of MySQL.
# Usage: mysql_fix_extentions datadir
# does not work with RAID, with InnoDB or BDB tables
# makes .frm lowercase and .MYI/MYD/ISM/ISD uppercase
# useful when datafiles are copied from windows
die
"Usage:
$0
datadir
\n
"
unless
-d
$ARGV
[
0]
;
for
$a
(
<
$ARGV
[
0]/
*
/
*
.
*
>)
{
$_
=
$a
;
s/
\.
frm
$/
.frm/i
;
s/
\.
(
is[md]|my[id]
)
$/
\U
$&
/
;
rename
(
$a
,
$_
)
||
warn
"Cannot rename
$a
=>
$_
:
$!
"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment