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
f2739e2a
Commit
f2739e2a
authored
Aug 21, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.4 into 10.5
parents
07757174
688fb630
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
29 deletions
+23
-29
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+4
-16
storage/innobase/fil/fil0fil.cc
storage/innobase/fil/fil0fil.cc
+19
-13
No files found.
scripts/mysqld_safe.sh
View file @
f2739e2a
...
@@ -23,7 +23,6 @@ numa_interleave=0
...
@@ -23,7 +23,6 @@ numa_interleave=0
wsrep_on
=
0
wsrep_on
=
0
dry_run
=
0
dry_run
=
0
defaults_group_suffix
=
defaults_group_suffix
=
ignore_unknown
=
1
# Initial logging status: error log is not open, and not using syslog
# Initial logging status: error log is not open, and not using syslog
logging
=
init
logging
=
init
...
@@ -371,22 +370,11 @@ parse_arguments() {
...
@@ -371,22 +370,11 @@ parse_arguments() {
--help
)
usage
;;
--help
)
usage
;;
--ignore-unknown
)
ignore_unknown
=
1
;;
--no-ignore-unknown
|
--not-ignore-unknown
)
ignore_unknown
=
0
;;
*
)
*
)
if
test
$ignore_unknown
-eq
0
case
"
$unrecognized_handling
"
in
then
collect
)
append_arg_to_args
"
$arg
"
;;
case
"
$unrecognized_handling
"
in
complain
)
log_error
"unknown option '
$arg
'"
;;
collect
)
append_arg_to_args
"
$arg
"
;;
esac
complain
)
log_error
"unknown option '
$arg
'"
esac
else
case
"
$arg
"
in
"--loose-"
*
)
append_arg_to_args
"
$arg
"
;;
*
)
append_arg_to_args
"--loose-
$arg
"
esac
fi
esac
esac
done
done
}
}
...
...
storage/innobase/fil/fil0fil.cc
View file @
f2739e2a
...
@@ -1496,21 +1496,27 @@ void fil_system_t::create(ulint hash_size)
...
@@ -1496,21 +1496,27 @@ void fil_system_t::create(ulint hash_size)
void
fil_system_t
::
close
()
void
fil_system_t
::
close
()
{
{
ut_ad
(
this
==
&
fil_system
);
ut_ad
(
this
==
&
fil_system
);
ut_a
(
!
UT_LIST_GET_LEN
(
LRU
));
ut_a
(
!
UT_LIST_GET_LEN
(
LRU
));
ut_a
(
unflushed_spaces
.
empty
());
ut_a
(
unflushed_spaces
.
empty
());
ut_a
(
!
UT_LIST_GET_LEN
(
space_list
));
ut_a
(
!
UT_LIST_GET_LEN
(
space_list
));
ut_ad
(
!
sys_space
);
ut_ad
(
!
sys_space
);
ut_ad
(
!
temp_space
);
ut_ad
(
!
temp_space
);
if
(
is_initialised
())
{
m_initialised
=
false
;
spaces
.
free
();
mutex_free
(
&
mutex
);
fil_space_crypt_cleanup
();
}
if
(
is_initialised
())
{
ut_ad
(
!
spaces
.
array
);
m_initialised
=
false
;
spaces
.
free
();
mutex_free
(
&
mutex
);
fil_space_crypt_cleanup
();
}
ut_ad
(
!
spaces
.
array
);
#ifdef UNIV_LINUX
ssd
.
clear
();
ssd
.
shrink_to_fit
();
#endif
/* UNIV_LINUX */
}
}
/** Opens all system tablespace data files. They stay open until the
/** Opens all system tablespace data files. They stay open until the
...
...
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