mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1
This commit is contained in:
@ -226,13 +226,16 @@ copyfileto $BASE/mysql-test \
|
||||
|
||||
$CP mysql-test/lib/*.pl $BASE/mysql-test/lib
|
||||
$CP mysql-test/lib/*.sql $BASE/mysql-test/lib
|
||||
$CP mysql-test/t/*.def $BASE/mysql-test/t
|
||||
$CP mysql-test/include/*.inc $BASE/mysql-test/include
|
||||
$CP mysql-test/t/*.def $BASE/mysql-test/t
|
||||
$CP mysql-test/std_data/*.dat mysql-test/std_data/*.frm \
|
||||
mysql-test/std_data/*.pem mysql-test/std_data/Moscow_leap \
|
||||
mysql-test/std_data/des_key_file mysql-test/std_data/*.*001 \
|
||||
mysql-test/std_data/*.cnf \
|
||||
$BASE/mysql-test/std_data
|
||||
$CP mysql-test/t/*.test mysql-test/t/*.disabled mysql-test/t/*.opt \
|
||||
$CP mysql-test/t/*.test mysql-test/t/*.imtest \
|
||||
mysql-test/t/*.disabled mysql-test/t/*.opt \
|
||||
mysql-test/t/*.slave-mi mysql-test/t/*.sh mysql-test/t/*.sql $BASE/mysql-test/t
|
||||
$CP mysql-test/r/*.result mysql-test/r/*.require \
|
||||
$BASE/mysql-test/r
|
||||
@ -269,8 +272,11 @@ rm -f $BASE/bin/Makefile* $BASE/bin/*.in $BASE/bin/*.sh \
|
||||
if [ $BASE_SYSTEM = "netware" ] ; then
|
||||
echo "CREATE DATABASE mysql;" > $BASE/bin/init_db.sql
|
||||
echo "CREATE DATABASE test;" >> $BASE/bin/init_db.sql
|
||||
sh ./scripts/mysql_create_system_tables.sh real >> $BASE/bin/init_db.sql
|
||||
sh ./scripts/mysql_create_system_tables.sh test > $BASE/bin/test_db.sql
|
||||
sh ./scripts/mysql_create_system_tables.sh real "" "%" 0 \
|
||||
>> $BASE/bin/init_db.sql
|
||||
sh ./scripts/mysql_create_system_tables.sh test "" "%" 0 \
|
||||
> $BASE/bin/test_db.sql
|
||||
./scripts/fill_help_tables < ./Docs/manual.texi >> ./netware/init_db.sql
|
||||
fi
|
||||
|
||||
#
|
||||
|
@ -289,7 +289,7 @@ cd $SOURCE
|
||||
for i in COPYING ChangeLog README EXCEPTIONS-CLIENT\
|
||||
INSTALL-SOURCE INSTALL-WIN \
|
||||
INSTALL-WIN-SOURCE \
|
||||
Docs/INSTALL-BINARY
|
||||
Docs/INSTALL-BINARY Docs/manual.chm
|
||||
do
|
||||
print_debug "Copying file '$i'"
|
||||
if [ -f $i ]
|
||||
|
@ -123,7 +123,7 @@ then
|
||||
c_u="$c_u CREATE TABLE user ("
|
||||
c_u="$c_u Host char(60) binary DEFAULT '' NOT NULL,"
|
||||
c_u="$c_u User char(16) binary DEFAULT '' NOT NULL,"
|
||||
c_u="$c_u Password binary(41) DEFAULT '' NOT NULL,"
|
||||
c_u="$c_u Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL,"
|
||||
c_u="$c_u Select_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,"
|
||||
c_u="$c_u Insert_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,"
|
||||
c_u="$c_u Update_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,"
|
||||
|
@ -157,7 +157,7 @@ ALTER TABLE user
|
||||
MODIFY User char(16) NOT NULL default '',
|
||||
ENGINE=MyISAM, CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
ALTER TABLE user
|
||||
MODIFY Password binary(41) NOT NULL default '',
|
||||
MODIFY Password char(41) character set latin1 collate latin1_bin NOT NULL default '',
|
||||
MODIFY Select_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,
|
||||
MODIFY Insert_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,
|
||||
MODIFY Update_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,
|
||||
|
@ -11,6 +11,7 @@
|
||||
# executing mysqld_safe
|
||||
|
||||
KILL_MYSQLD=1;
|
||||
MYSQLD=
|
||||
|
||||
trap '' 1 2 3 15 # we shouldn't let anyone kill us
|
||||
|
||||
@ -174,14 +175,6 @@ export MYSQL_HOME
|
||||
user=@MYSQLD_USER@
|
||||
niceness=0
|
||||
|
||||
# Use the mysqld-max binary by default if the user doesn't specify a binary
|
||||
if test -x $ledir/mysqld-max
|
||||
then
|
||||
MYSQLD=mysqld-max
|
||||
else
|
||||
MYSQLD=mysqld
|
||||
fi
|
||||
|
||||
# these rely on $DATADIR by default, so we'll set them later on
|
||||
pid_file=
|
||||
err_log=
|
||||
@ -220,6 +213,16 @@ then
|
||||
chown $user $mysql_unix_port_dir
|
||||
fi
|
||||
|
||||
# Use the mysqld-max binary by default if the user doesn't specify a binary
|
||||
if test -z "$MYSQLD"
|
||||
then
|
||||
if test -x $ledir/mysqld-max
|
||||
then
|
||||
MYSQLD=mysqld-max
|
||||
else
|
||||
MYSQLD=mysqld
|
||||
fi
|
||||
fi
|
||||
|
||||
if test ! -x $ledir/$MYSQLD
|
||||
then
|
||||
|
Reference in New Issue
Block a user