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
33656e04
Commit
33656e04
authored
Sep 16, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for mysql-test: fix mysqlhotcopy script to return a predictable exit code
parent
f18b1400
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
mysql-test/include/mysqlhotcopy.inc
mysql-test/include/mysqlhotcopy.inc
+1
-1
scripts/mysqlhotcopy.sh
scripts/mysqlhotcopy.sh
+3
-0
No files found.
mysql-test/include/mysqlhotcopy.inc
View file @
33656e04
...
...
@@ -109,7 +109,7 @@ DROP DATABASE hotcopy_save;
--
replace_result
$MYSQLD_DATADIR
MYSQLD_DATADIR
--
list_files
$MYSQLD_DATADIR
/
hotcopy_save
--
replace_result
$MASTER_MYSOCK
MASTER_MYSOCK
--
error
9
,
11
,
2304
--
error
1
--
exec
$MYSQLHOTCOPY
--
quiet
-
S
$MASTER_MYSOCK
-
u
root
hotcopy_test
hotcopy_save
--
replace_result
$MASTER_MYSOCK
MASTER_MYSOCK
--
exec
$MYSQLHOTCOPY
--
quiet
--
allowold
-
S
$MASTER_MYSOCK
-
u
root
hotcopy_test
hotcopy_save
...
...
scripts/mysqlhotcopy.sh
View file @
33656e04
...
...
@@ -56,6 +56,9 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome.
# Documentation continued at end of file
# fix CORE::GLOBAL::die to return a predictable exit code
BEGIN
{
*
CORE::GLOBAL::die
=
sub
{
warn @_
;
exit
1
;
}
;
}
my
$VERSION
=
"1.23"
;
my
$opt_tmpdir
=
$ENV
{
TMPDIR
}
||
"/tmp"
;
...
...
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