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
9aa732f1
Commit
9aa732f1
authored
Jun 07, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.(none):/data/msvensson/mysql/bug28718/my50-bug28718
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
parents
ee9e2714
91b26507
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletion
+25
-1
mysql-test/include/uses_vardir.inc
mysql-test/include/uses_vardir.inc
+15
-0
mysql-test/t/backup.test
mysql-test/t/backup.test
+5
-0
mysql-test/t/blackhole.test
mysql-test/t/blackhole.test
+5
-1
No files found.
mysql-test/include/uses_vardir.inc
0 → 100644
View file @
9aa732f1
#
# Some tests uses LOAD DATA with a relative path
# and need to see for example ../std_data
#
# Also if an absolute path was used, the server might be started
# with --secure-file-priv and wouldn't be allowed to LOAD a file
# outside of it's vardir anyway
#
let
$datadir
=
query_get_value
(
"SHOW VARIABLES LIKE 'datadir'"
,
Value
,
1
);
if
(
`select LOCATE("$MYSQLTEST_VARDIR", "$datadir") != 1`
)
{
skip
Need
mysqld
in
MYSQLTEST_VARDIR
;
}
mysql-test/t/backup.test
View file @
9aa732f1
# The server need to be started in $MYSQLTEST_VARDIR since it
# uses ../std_data_ln/
--
source
include
/
uses_vardir
.
inc
#
#
# This test is a bit tricky as we can't use backup table to overwrite an old
# This test is a bit tricky as we can't use backup table to overwrite an old
# table
# table
...
...
mysql-test/t/blackhole.test
View file @
9aa732f1
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_blackhole
.
inc
--
source
include
/
have_blackhole
.
inc
# The server need to be started in $MYSQLTEST_VARDIR since it
# uses ../std_data_ln/
--
source
include
/
uses_vardir
.
inc
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
--
enable_warnings
...
@@ -109,7 +113,7 @@ insert into t1 values(1);
...
@@ -109,7 +113,7 @@ insert into t1 values(1);
insert
ignore
into
t1
values
(
1
);
insert
ignore
into
t1
values
(
1
);
replace
into
t1
values
(
100
);
replace
into
t1
values
(
100
);
create
table
t2
(
a
varchar
(
200
))
engine
=
blackhole
;
create
table
t2
(
a
varchar
(
200
))
engine
=
blackhole
;
load
data
infile
'../std_data_ln/words.dat'
into
table
t2
;
eval
load
data
infile
'../std_data_ln/words.dat'
into
table
t2
;
alter
table
t1
add
b
int
;
alter
table
t1
add
b
int
;
alter
table
t1
drop
b
;
alter
table
t1
drop
b
;
create
table
t3
like
t1
;
create
table
t3
like
t1
;
...
...
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