You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
5.1 KiB
80 lines
5.1 KiB
Index: mysys/default.c |
|
--- mysys/default.c.orig 2003-12-01 13:55:03.000000000 +0100 |
|
+++ mysys/default.c 2004-01-05 14:12:26.000000000 +0100 |
|
@@ -48,7 +48,7 @@ |
|
#elif defined(__NETWARE__) |
|
"sys:/etc/", |
|
#else |
|
-"/etc/", |
|
+"@l_prefix@/etc/mysql/", |
|
#endif |
|
#ifdef DATADIR |
|
DATADIR, |
|
Index: scripts/msql2mysql.sh |
|
--- scripts/msql2mysql.sh.orig 2003-12-01 13:55:06.000000000 +0100 |
|
+++ scripts/msql2mysql.sh 2004-01-05 14:12:26.000000000 +0100 |
|
@@ -13,4 +13,4 @@ |
|
# described in the License. Among other things, the License requires that |
|
# the copyright notice and this notice be preserved on all copies. |
|
|
|
-@bindir@/replace msqlConnect mysql_connect msqlListDBs mysql_list_dbs msqlNumRows mysql_num_rows msqlFetchRow mysql_fetch_row msqlFetchField mysql_fetch_field msqlFreeResult mysql_free_result msqlListFields mysql_list_fields msqlListTables mysql_list_tables msqlErrMsg 'mysql_error(mysql)' msqlStoreResult mysql_store_result msqlQuery mysql_query msqlField mysql_field msqlSelect mysql_select msqlSelectDB mysql_select_db msqlNumFields mysql_num_fields msqlClose mysql_close msqlDataSeek mysql_data_seek m_field MYSQL_FIELD m_result MYSQL_RES m_row MYSQL_ROW msql mysql mSQL mySQL MSQL MYSQL msqlCreateDB mysql_create_db msqlDropDB mysql_drop_db msqlFieldSeek mysql_field_seek -- $* |
|
+@libexecdir@/replace msqlConnect mysql_connect msqlListDBs mysql_list_dbs msqlNumRows mysql_num_rows msqlFetchRow mysql_fetch_row msqlFetchField mysql_fetch_field msqlFreeResult mysql_free_result msqlListFields mysql_list_fields msqlListTables mysql_list_tables msqlErrMsg 'mysql_error(mysql)' msqlStoreResult mysql_store_result msqlQuery mysql_query msqlField mysql_field msqlSelect mysql_select msqlSelectDB mysql_select_db msqlNumFields mysql_num_fields msqlClose mysql_close msqlDataSeek mysql_data_seek m_field MYSQL_FIELD m_result MYSQL_RES m_row MYSQL_ROW msql mysql mSQL mySQL MSQL MYSQL msqlCreateDB mysql_create_db msqlDropDB mysql_drop_db msqlFieldSeek mysql_field_seek -- $* |
|
Index: scripts/mysql_install_db.sh |
|
--- scripts/mysql_install_db.sh.orig 2003-12-01 13:55:04.000000000 +0100 |
|
+++ scripts/mysql_install_db.sh 2004-01-05 14:12:26.000000000 +0100 |
|
@@ -177,9 +177,8 @@ |
|
|
|
if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi |
|
if test ! -d $ldata/mysql; then mkdir $ldata/mysql; chmod 700 $ldata/mysql ; fi |
|
- if test ! -d $ldata/test; then mkdir $ldata/test; chmod 700 $ldata/test ; fi |
|
if test -w / -a ! -z "$user"; then |
|
- chown $user $ldata $ldata/mysql $ldata/test; |
|
+ chown $user $ldata $ldata/mysql |
|
fi |
|
|
|
if test ! -f $mdata/db.frm |
|
@@ -234,10 +233,7 @@ |
|
if test "$in_rpm" = "0" |
|
then |
|
echo "You can start the MySQL daemon with:" |
|
- echo "cd @prefix@ ; $bindir/mysqld_safe &" |
|
- echo |
|
- echo "You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:" |
|
- echo "cd sql-bench ; perl run-all-tests" |
|
+ echo "@l_prefix@/etc/rc mysql start" |
|
echo |
|
fi |
|
echo "Please report any problems with the @scriptdir@/mysqlbug script!" |
|
Index: scripts/mysql_create_system_tables.sh |
|
--- scripts/mysql_create_system_tables.sh.orig 2003-12-01 13:55:05.000000000 +0100 |
|
+++ scripts/mysql_create_system_tables.sh 2004-01-05 15:25:57.000000000 +0100 |
|
@@ -68,9 +68,6 @@ |
|
c_d="$c_d KEY User (User)" |
|
c_d="$c_d )" |
|
c_d="$c_d comment='Database privileges';" |
|
- |
|
- i_d="INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y'); |
|
- INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');" |
|
fi |
|
|
|
if test ! -f $mdata/host.frm |
|
@@ -145,17 +142,13 @@ |
|
then |
|
i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); |
|
INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); |
|
- REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); |
|
- INSERT INTO user (host,user) values ('localhost',''); |
|
- INSERT INTO user (host,user) values ('$hostname','');" |
|
+ REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" |
|
else |
|
i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" |
|
if test "$windows" = "0" |
|
then |
|
i_u="$i_u |
|
- INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); |
|
- INSERT INTO user (host,user) values ('$hostname',''); |
|
- INSERT INTO user (host,user) values ('localhost','');" |
|
+ INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" |
|
else |
|
i_u="INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" |
|
fi
|
|
|