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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cde08965
Commit
cde08965
authored
Mar 05, 2002
by
monty@tik.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge hundin:/my/mysql-3.23 into tik.mysql.fi:/home/my/mysql-3.23
parents
8c01c96f
539718ba
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 @
cde08965
...
...
@@ -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 @
cde08965
...
...
@@ -611,6 +611,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 @
cde08965
...
...
@@ -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 @
cde08965
...
...
@@ -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 @
cde08965
...
...
@@ -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 @
cde08965
...
...
@@ -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 @
cde08965
...
...
@@ -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