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
b9d2e744
Commit
b9d2e744
authored
Jun 27, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change "exec rm" to "remove_file"
parent
c3f407a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
mysql-test/include/have_outfile.inc
mysql-test/include/have_outfile.inc
+1
-1
mysql-test/t/sp.test
mysql-test/t/sp.test
+8
-4
No files found.
mysql-test/include/have_outfile.inc
View file @
b9d2e744
--
require
r
/
have_outfile
.
require
disable_query_log
;
select
load_file
(
concat
(
@
tmpdir
,
"/outfile.test"
));
--
exec
rm
$MYSQLTEST_VARDIR
/
tmp
/
outfile
.
test
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
outfile
.
test
enable_query_log
;
mysql-test/t/sp.test
View file @
b9d2e744
...
...
@@ -705,9 +705,11 @@ begin
insert
into
test
.
t1
values
(
concat
(
x
,
"2"
),
y
+
2
);
end
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spout
# Check that file does not exists
--
error
1
--
file_exists
$MYSQLTEST_VARDIR
/
tmp
/
spout
call
into_outfile
(
"ofile"
,
1
)
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spout
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
spout
delete
from
t1
|
drop
procedure
into_outfile
|
...
...
@@ -722,9 +724,11 @@ begin
insert
into
test
.
t1
values
(
concat
(
x
,
"2"
),
y
+
2
);
end
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spdump
# Check that file does not exists
--
error
1
--
file_exists
$MYSQLTEST_VARDIR
/
tmp
/
spdump
call
into_dumpfile
(
"dfile"
,
1
)
|
--
system
rm
-
f
$MYSQLTEST_VARDIR
/
tmp
/
spdump
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
spdump
delete
from
t1
|
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