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
5dda41a7
Commit
5dda41a7
authored
Jan 31, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/extern/mysql/bk/mysql-5.0
into mysql.com:/extern/mysql/work/bug15737/mysql-5.0
parents
b5e313f3
107ad3a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+12
-3
mysql-test/t/trigger-grant.test
mysql-test/t/trigger-grant.test
+3
-3
No files found.
mysql-test/mysql-test-run.sh
View file @
5dda41a7
...
...
@@ -202,7 +202,14 @@ SYST=0
REALT
=
0
FAST_START
=
""
MYSQL_TMP_DIR
=
$MYSQL_TEST_DIR
/var/tmp
SLAVE_LOAD_TMPDIR
=
../../var/tmp
#needs to be same length to test logging
# Use a relative path for where the slave will find the dumps
# generated by "LOAD DATA" on the master. The path is relative
# since it must have fixed length to test logging
# i.e otherwise the output from "SHOW MASTER STATUS" will vary
# with the strlen() of MYSQL_TEST_DIR
SLAVE_LOAD_TMPDIR
=
../tmp
RES_SPACE
=
" "
MYSQLD_SRC_DIRS
=
"strings mysys include extra regex myisam
\
myisammrg heap sql"
...
...
@@ -601,8 +608,10 @@ fi
[
-d
$MYSQL_TEST_DIR
/var/tmp
]
||
mkdir
$MYSQL_TEST_DIR
/var/tmp
[
-d
$MYSQL_TEST_DIR
/var/run
]
||
mkdir
$MYSQL_TEST_DIR
/var/run
[
-d
$MYSQL_TEST_DIR
/var/log
]
||
mkdir
$MYSQL_TEST_DIR
/var/log
ln
-s
$MYSQL_TEST_DIR
/std_data
$MYSQL_TEST_DIR
/var/std_data_ln
if
!
test
-L
$MYSQL_TEST_DIR
/var/std_data_ln
;
then
ln
-s
$MYSQL_TEST_DIR
/std_data/
$MYSQL_TEST_DIR
/var/std_data_ln
fi
if
test
${
COLUMNS
:-
0
}
-lt
80
;
then
COLUMNS
=
80
;
fi
E
=
`
$EXPR
$COLUMNS
- 8
`
DASH72
=
`
$ECHO
'-------------------------------------------------------'
|
$CUT
-c
1-
$E
`
...
...
mysql-test/t/trigger-grant.test
View file @
5dda41a7
...
...
@@ -232,9 +232,9 @@ CREATE TRIGGER trg5 BEFORE DELETE ON t1
FOR
EACH
ROW
SET
@
a
=
5
;
--
exec
egrep
-
v
'^definers='
$MYSQL
_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
echo
"definers='' '@' '@abc@def@@' '@hostname' '@abcdef@@@hostname'"
>>
$MYSQL
_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
mv
$MYSQL
_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
--
exec
egrep
-
v
'^definers='
$MYSQL
TEST_VARDIR
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
>
$MYSQLTEST_VARDIR
/
tmp
/
t1
.
TRG
--
exec
echo
"definers='' '@' '@abc@def@@' '@hostname' '@abcdef@@@hostname'"
>>
$MYSQL
TEST_VARDIR
/
tmp
/
t1
.
TRG
--
exec
mv
$MYSQL
TEST_VARDIR
/
tmp
/
t1
.
TRG
$MYSQLTEST_VARDIR
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
--
echo
...
...
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