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
8379f01b
Commit
8379f01b
authored
Jan 18, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
upmerge undo of 59063
parents
9093399b
9c7abc25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
13 deletions
+3
-13
mysql-test/include/rpl_start_server.inc
mysql-test/include/rpl_start_server.inc
+1
-9
mysql-test/include/rpl_stop_server.inc
mysql-test/include/rpl_stop_server.inc
+1
-3
mysql-test/lib/mtr_gprof.pl
mysql-test/lib/mtr_gprof.pl
+1
-1
No files found.
mysql-test/include/rpl_start_server.inc
View file @
8379f01b
...
...
@@ -45,15 +45,7 @@ if ($rpl_server_parameters)
--
source
include
/
rpl_connection
.
inc
# Write file to make mysql-test-run.pl start up the server again
--
let
WRITE_TO_FILE
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
--
let
WRITE_TO_VAR
=
$_rpl_start_server_command
perl
;
my
$file
=
$ENV
{
'WRITE_TO_FILE'
};
my
$var
=
$ENV
{
'WRITE_TO_VAR'
};
open
WRITE_FILE
,
">>
$file
"
or
die
"Error opening
$file
: $!"
;
print
WRITE_FILE
$var
,
"
\n
"
or
die
"Error appending to
$file
: $!"
;
close
WRITE_FILE
or
die
"Error closing
$file
: $!"
;
EOF
--
exec
echo
"
$_rpl_start_server_command
"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
--
source
include
/
rpl_reconnect
.
inc
...
...
mysql-test/include/rpl_stop_server.inc
View file @
8379f01b
...
...
@@ -44,9 +44,7 @@ if ($rpl_debug)
# Write file to make mysql-test-run.pl expect the "crash", but don't start
# it until it's told to
--
append_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
wait
EOF
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
# Send shutdown to the connected server and give
# it 10 seconds to die before zapping it
...
...
mysql-test/lib/mtr_gprof.pl
View file @
8379f01b
# -*- cperl -*-
# Copyright (C) 2004 MySQL AB
# Copyright (C) 2004 MySQL AB
, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
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