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
340598a3
Commit
340598a3
authored
Feb 16, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the tmp dir of MYSQLTEST_VARDIR
parent
7a33a4ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
mysql-test/r/sp.result
mysql-test/r/sp.result
+2
-2
mysql-test/t/sp.test
mysql-test/t/sp.test
+6
-6
No files found.
mysql-test/r/sp.result
View file @
340598a3
...
@@ -539,7 +539,7 @@ drop procedure if exists into_outfile|
...
@@ -539,7 +539,7 @@ drop procedure if exists into_outfile|
create procedure into_outfile(x char(16), y int)
create procedure into_outfile(x char(16), y int)
begin
begin
insert into test.t1 values (x, y);
insert into test.t1 values (x, y);
select * into outfile "/tmp/spout" from test.t1;
select * into outfile "
..
/tmp/spout" from test.t1;
insert into test.t1 values (concat(x, "2"), y+2);
insert into test.t1 values (concat(x, "2"), y+2);
end|
end|
call into_outfile("ofile", 1)|
call into_outfile("ofile", 1)|
...
@@ -549,7 +549,7 @@ drop procedure if exists into_dumpfile|
...
@@ -549,7 +549,7 @@ drop procedure if exists into_dumpfile|
create procedure into_dumpfile(x char(16), y int)
create procedure into_dumpfile(x char(16), y int)
begin
begin
insert into test.t1 values (x, y);
insert into test.t1 values (x, y);
select * into dumpfile "/tmp/spdump" from test.t1 limit 1;
select * into dumpfile "
..
/tmp/spdump" from test.t1 limit 1;
insert into test.t1 values (concat(x, "2"), y+2);
insert into test.t1 values (concat(x, "2"), y+2);
end|
end|
call into_dumpfile("dfile", 1)|
call into_dumpfile("dfile", 1)|
...
...
mysql-test/t/sp.test
View file @
340598a3
...
@@ -702,13 +702,13 @@ drop procedure if exists into_outfile|
...
@@ -702,13 +702,13 @@ drop procedure if exists into_outfile|
create
procedure
into_outfile
(
x
char
(
16
),
y
int
)
create
procedure
into_outfile
(
x
char
(
16
),
y
int
)
begin
begin
insert
into
test
.
t1
values
(
x
,
y
);
insert
into
test
.
t1
values
(
x
,
y
);
select
*
into
outfile
"/tmp/spout"
from
test
.
t1
;
select
*
into
outfile
"
..
/tmp/spout"
from
test
.
t1
;
insert
into
test
.
t1
values
(
concat
(
x
,
"2"
),
y
+
2
);
insert
into
test
.
t1
values
(
concat
(
x
,
"2"
),
y
+
2
);
end
|
end
|
system
rm
-
f
/
tmp
/
spout
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spout
call
into_outfile
(
"ofile"
,
1
)
|
call
into_outfile
(
"ofile"
,
1
)
|
system
rm
-
f
/
tmp
/
spout
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spout
delete
from
t1
|
delete
from
t1
|
drop
procedure
into_outfile
|
drop
procedure
into_outfile
|
...
@@ -718,13 +718,13 @@ drop procedure if exists into_dumpfile|
...
@@ -718,13 +718,13 @@ drop procedure if exists into_dumpfile|
create
procedure
into_dumpfile
(
x
char
(
16
),
y
int
)
create
procedure
into_dumpfile
(
x
char
(
16
),
y
int
)
begin
begin
insert
into
test
.
t1
values
(
x
,
y
);
insert
into
test
.
t1
values
(
x
,
y
);
select
*
into
dumpfile
"/tmp/spdump"
from
test
.
t1
limit
1
;
select
*
into
dumpfile
"
..
/tmp/spdump"
from
test
.
t1
limit
1
;
insert
into
test
.
t1
values
(
concat
(
x
,
"2"
),
y
+
2
);
insert
into
test
.
t1
values
(
concat
(
x
,
"2"
),
y
+
2
);
end
|
end
|
system
rm
-
f
/
tmp
/
spdump
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spdump
call
into_dumpfile
(
"dfile"
,
1
)
|
call
into_dumpfile
(
"dfile"
,
1
)
|
system
rm
-
f
/
tmp
/
spdump
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spdump
delete
from
t1
|
delete
from
t1
|
drop
procedure
into_dumpfile
|
drop
procedure
into_dumpfile
|
...
...
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