mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	- Removed files specific to compiling on OS/2 - Removed files specific to SCO Unix packaging - Removed "libmysqld/copyright", text is included in documentation - Removed LaTeX headers for NDB Doxygen documentation - Removed obsolete NDB files - Removed "mkisofs" binaries - Removed the "cvs2cl.pl" script - Changed a few GPL texts to use "program" instead of "library"
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/perl
 | |
| 
 | |
| # Copyright (C) 2001 MySQL AB, 2009 Sun Microsystems, Inc.
 | |
| #
 | |
| # This program is free software; you can redistribute it and/or
 | |
| # modify it under the terms of the GNU Library General Public
 | |
| # License as published by the Free Software Foundation; version 2
 | |
| # of the License.
 | |
| #
 | |
| # This program is distributed in the hope that it will be useful,
 | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | |
| # Library General Public License for more details.
 | |
| #
 | |
| # You should have received a copy of the GNU Library General Public
 | |
| # License along with this library; if not, write to the Free
 | |
| # Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 | |
| # MA 02111-1307, USA
 | |
| 
 | |
| # 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$&/i;
 | |
|   rename ($a, $_) || warn "Cannot rename $a => $_ : $!";
 | |
| }
 |