Skip to content

Commit 1b8b33b

Browse files
author
df@kahlann.erinye.com
committed
Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work-24780
into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
2 parents 205f7a0 + b3eadd2 commit 1b8b33b

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

cmd-line-utils/readline/undo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ _rl_fix_last_undo_of_type (type, start, end)
175175

176176
for (rl = rl_undo_list; rl; rl = rl->next)
177177
{
178-
if (rl->what == (uint) type)
178+
if (rl->what == (unsigned int) type)
179179
{
180180
rl->start = start;
181181
rl->end = end;

scripts/mysqlaccess.sh

+4
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,9 @@ MySQLaccess::Report::Print_Header();
465465
elsif (-f "@sysconfdir@/$script_conf") {
466466
require "@sysconfdir@/$script_conf";
467467
}
468+
elsif (-f "/etc/$script_conf") {
469+
require "/etc/$script_conf";
470+
}
468471
469472
# ****************************
470473
# Read in all parameters
@@ -930,6 +933,7 @@ sub MergeConfigFile {
930933
sub MergeConfigFiles {
931934
my ($name,$pass,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = getpwuid $<;
932935
MergeConfigFile("@sysconfdir@/my.cnf");
936+
MergeConfigFile("/etc/my.cnf");
933937
MergeConfigFile("$dir/.my.cnf");
934938
}
935939

scripts/mysqld_multi.sh

+3
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ sub find_groups
467467
if (-f "@sysconfdir@/my.cnf" && -r "@sysconfdir@/my.cnf")
468468
{
469469
open(MY_CNF, "<@sysconfdir@/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
470+
} elsif (-f "/etc/my.cnf" && -r "/etc/my.cnf")
471+
{
472+
open(MY_CNF, "</etc/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
470473
}
471474
for ($i = 0; ($line = shift @tmp); $i++)
472475
{

0 commit comments

Comments
 (0)