Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
539718ba
Commit
539718ba
authored
Mar 05, 2002
by
monty@tik.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update scripts for new POSIX spec
Fix for --enable-local-infile Portability fix for bison
parent
b0f98a30
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
11 deletions
+22
-11
bdb/dist/s_recover
bdb/dist/s_recover
+10
-2
configure.in
configure.in
+2
-0
libmysql/libmysql.c
libmysql/libmysql.c
+1
-1
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+6
-5
scripts/safe_mysqld.sh
scripts/safe_mysqld.sh
+1
-1
sql-bench/server-cfg.sh
sql-bench/server-cfg.sh
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
bdb/dist/s_recover
View file @
539718ba
...
...
@@ -12,6 +12,13 @@ rm -f $loglist
trap
'rm -f $t; exit 1'
1 2 3 13 15
# Use the standard -k option if it works;
# otherwise fall back on the traditional notation.
if
sort
-k
1,1 /dev/null
then
sort_2_etc
=
'-k 2'
else
sort_2_etc
=
'+1'
fi
# Check to make sure we haven't duplicated a log record entry, and build
# the list of log record types that the test suite uses.
for
i
in
$DIR
;
do
...
...
@@ -19,13 +26,14 @@ for i in $DIR; do
for
f
in
../
$i
/
*
.src
;
do
# Grab the PREFIX; there should only be one per file, and
# so it's okay to just take the first.
grep
'^PREFIX'
$f
|
head
-1
grep
'^PREFIX'
$f
|
sed
q
egrep
'^DEPRECATED[ ]|^BEGIN[ ]'
$f
|
\
awk
'{print $1 "\t" $2 "\t" $3}'
done
done
>
$loglist
grep
-v
'^PREFIX'
$loglist
|
awk
'{print $2 "\t" $3}'
|
sort
+1
-n
|
\
grep
-v
'^PREFIX'
$loglist
|
awk
'{print $2 "\t" $3}'
|
\
sort
$sort_2_etc
-n
|
\
uniq
-d
-f
1
>
$t
[
-s
$t
]
&&
{
echo
"DUPLICATE LOG VALUES:"
...
...
configure.in
View file @
539718ba
...
...
@@ -591,6 +591,8 @@ AC_ARG_ENABLE(local-infile,
[
ENABLED_LOCAL_INFILE
=
no
]
)
AC_SUBST
(
ENABLE_LOCAL_INFILE
)
# Use Paul Eggerts macros from GNU tar to check for large file support.
MYSQL_SYS_LARGEFILE
...
...
libmysql/libmysql.c
View file @
539718ba
...
...
@@ -1022,7 +1022,7 @@ mysql_init(MYSQL *mysql)
/*
Only enable LOAD DATA INFILE by default if configured with
--
with-enabled-local-infl
ile
--
enable-local-inf
ile
*/
#ifdef ENABLED_LOCAL_INFILE
mysql
->
options
.
client_flag
|=
CLIENT_LOCAL_FILES
;
...
...
mysql-test/mysql-test-run.sh
View file @
539718ba
...
...
@@ -44,21 +44,22 @@ which ()
# No paths below as we can't be sure where the program is!
BASENAME
=
`
which
basename
|
head
-1
`
DIFF
=
`
which diff |
head
-1
`
SED
=
sed
BASENAME
=
`
which
basename
|
$SED
q
`
DIFF
=
`
which diff |
$SED
q
`
CAT
=
cat
CUT
=
cut
TAIL
=
tail
ECHO
=
echo
# use internal echo if possible
EXPR
=
expr
# use internal if possible
FIND
=
find
GCOV
=
`
which gcov |
head
-1
`
GCOV
=
`
which gcov |
$SED
q
`
PRINTF
=
printf
RM
=
rm
TIME
=
time
TR
=
tr
XARGS
=
`
which xargs |
head
-1
`
SED
=
sed
XARGS
=
`
which xargs |
$SED
q
`
# Are we using a source or a binary distribution?
...
...
scripts/safe_mysqld.sh
View file @
539718ba
...
...
@@ -253,7 +253,7 @@ do
I
=
1
while
test
"
$I
"
-le
"
$numofproces
"
do
PROC
=
`
ps xa |
grep
$ledir
/
$MYSQLD
|
grep
-v
"grep"
|
tail
-1
`
PROC
=
`
ps xa |
grep
$ledir
/
$MYSQLD
|
grep
-v
"grep"
|
sed
-n
'$p'
`
for
T
in
$PROC
do
break
...
...
sql-bench/server-cfg.sh
View file @
539718ba
...
...
@@ -932,7 +932,7 @@ sub version
{
if
(
$dir
&&
-e
"
$dir
/bin/solcon"
)
{
$version
=
`
$dir
/bin/solcon
-e
"ver"
$main
::opt_user
$main
::opt_password |
grep
Server |
head
-1
`
;
$version
=
`
$dir
/bin/solcon
-e
"ver"
$main
::opt_user
$main
::opt_password |
grep
Server |
sed
q
`
;
if
(
$?
==
0
)
{
chomp
(
$version
)
;
...
...
sql/sql_yacc.yy
View file @
539718ba
...
...
@@ -30,7 +30,7 @@
extern void yyerror(const char*);
int yylex(void *yylval);
#define yyoverflow(A,B,C,D,E,F) if (my_yyoverflow((B),(D),(F))) { yyerror((char*) (A)); return 2; }
#define yyoverflow(A,B,C,D,E,F) if (my_yyoverflow((B),(D),(
int*) (
F))) { yyerror((char*) (A)); return 2; }
inline Item *or_or_concat(Item* A, Item* B)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment