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
f2bbf522
Commit
f2bbf522
authored
Jan 22, 2007
by
knielsen@ymer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge ymer.(none):/usr/local/mysql/mysql-4.1-maint
into ymer.(none):/usr/local/mysql/x/mysql-5.1-new-maint
parents
14c3bfa9
ba6e6d07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
f2bbf522
...
...
@@ -310,6 +310,8 @@ our %mysqld_variables;
my
$source_dist
=
0
;
our
$opt_max_save_core
=
5
;
my
$num_saved_cores
=
0
;
# Number of core files saved in vardir/log/ so far.
######################################################################
#
...
...
@@ -570,6 +572,7 @@ sub command_line_setup () {
'
strace-client
'
=>
\
$opt_strace_client
,
'
master-binary=s
'
=>
\
$exe_master_mysqld
,
'
slave-binary=s
'
=>
\
$exe_slave_mysqld
,
'
max-save-core=i
'
=>
\
$opt_max_save_core
,
# Coverage, profiling etc
'
gcov
'
=>
\
$opt_gcov
,
...
...
@@ -3418,10 +3421,12 @@ sub save_files_before_restore($$) {
# Look for core files
foreach
my
$core_file
(
glob
("
$data_dir
/core*
")
)
{
last
if
$opt_max_save_core
>
0
&&
$num_saved_cores
>=
$opt_max_save_core
;
my
$core_name
=
basename
(
$core_file
);
mtr_report
("
Saving
$core_name
");
mkdir
(
$save_name
)
if
!
-
d
$save_name
;
rename
("
$core_file
",
"
$save_name
/
$core_name
");
++
$num_saved_cores
;
}
}
...
...
@@ -5020,6 +5025,9 @@ Options for debugging the product
master-binary=PATH Specify the master "mysqld" to use
slave-binary=PATH Specify the slave "mysqld" to use
strace-client Create strace output for mysqltest client
max-save-core Limit the number of core files saved (to avoid filling
up disks for heavily crashing server). Defaults to
$opt_max_save_core, set to 0 for no limit.
Options for coverage, profiling etc
...
...
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