1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed searching after ssl directories.

Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
Changed fn_ext to point at first '.' after directory.
FLUSH LOGS removed numerical extension for all future update logs.
Fixed the mysqld --help reports right values for --datadir and --bind-address
--log-binary=a.b.c now properly strips of .b.c
Fix that one can DROP UDF functions that was not loaded at startup
Made AND optional in REQUIRE
Added REQUIRE NONE
This commit is contained in:
monty@mashka.mysql.fi
2002-09-05 16:17:08 +03:00
parent 1a0e3423e6
commit 0281a6b160
33 changed files with 356 additions and 479 deletions

View File

@ -37,10 +37,11 @@ which ()
continue 2
fi
done
echo "which: no $file in ($PATH)"
echo "Fatal error: Cannot find program $file in $PATH" 1>&2
exit 1
done
IFS="$save_ifs"
exit 0
}
@ -68,7 +69,7 @@ sleep_until_file_created ()
do
if [ -r $file ]
then
return
return 0
fi
sleep 1
loop=`expr $loop - 1`
@ -81,8 +82,10 @@ sleep_until_file_created ()
SED=sed
BASENAME=`which basename | $SED q`
BASENAME=`which basename`
if test $? != 0; then exit 1; fi
DIFF=`which diff | $SED q`
if test $? != 0; then exit 1; fi
CAT=cat
CUT=cut
HEAD=head
@ -90,12 +93,15 @@ TAIL=tail
ECHO=echo # use internal echo if possible
EXPR=expr # use internal if possible
FIND=find
GCOV=`which gcov | $SED q`
GCOV=`which gcov`
if test $? != 0; then exit 1; fi
PRINTF=printf
RM=rm
TIME=`which time | $SED q`
TIME=`which time`
if test $? != 0; then exit 1; fi
TR=tr
XARGS=`which xargs | $SED q`
XARGS=`which xargs`
if test $? != 0; then exit 1; fi
# Are we using a source or a binary distribution?
@ -461,7 +467,9 @@ GPROF_DIR=$MYSQL_TMP_DIR/gprof
GPROF_MASTER=$GPROF_DIR/master.gprof
GPROF_SLAVE=$GPROF_DIR/slave.gprof
TIMEFILE="$MYSQL_TEST_DIR/var/log/mysqltest-time"
XTERM=`which xterm`
if [ -n "$DO_CLIENT_GDB" -o -n "$DO_GDB" ] ; then
XTERM=`which xterm`
fi
#++
# Function Definitions