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
80834a8f
Commit
80834a8f
authored
Nov 19, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Remove unused DBUG_SUICIDE()
parent
4489a89c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
11 deletions
+0
-11
storage/innobase/dict/dict0crea.cc
storage/innobase/dict/dict0crea.cc
+0
-2
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-6
storage/innobase/row/row0merge.cc
storage/innobase/row/row0merge.cc
+0
-1
storage/innobase/trx/trx0trx.cc
storage/innobase/trx/trx0trx.cc
+0
-2
No files found.
storage/innobase/dict/dict0crea.cc
View file @
80834a8f
...
...
@@ -1096,8 +1096,6 @@ dict_create_table_step(
}
if
(
node
->
state
==
TABLE_ADD_TO_CACHE
)
{
DBUG_EXECUTE_IF
(
"ib_ddl_crash_during_create"
,
DBUG_SUICIDE
(););
node
->
table
->
can_be_evicted
=
true
;
node
->
table
->
add_to_cache
();
...
...
storage/innobase/handler/ha_innodb.cc
View file @
80834a8f
...
...
@@ -4510,9 +4510,6 @@ innobase_commit(
if
(
commit_trx
||
(
!
thd_test_options
(
thd
,
OPTION_NOT_AUTOCOMMIT
|
OPTION_BEGIN
)))
{
DBUG_EXECUTE_IF
(
"crash_innodb_before_commit"
,
DBUG_SUICIDE
(););
/* Run the fast part of commit if we did not already. */
if
(
!
trx
->
active_commit_ordered
)
{
innobase_commit_ordered_2
(
trx
,
thd
);
...
...
@@ -10804,9 +10801,6 @@ create_table_info_t::create_table_def()
ut_ad
(
dict_sys
.
sys_tables_exist
());
err
=
row_create_table_for_mysql
(
table
,
m_trx
);
DBUG_EXECUTE_IF
(
"ib_crash_during_create_for_encryption"
,
DBUG_SUICIDE
(););
}
switch
(
err
)
{
...
...
storage/innobase/row/row0merge.cc
View file @
80834a8f
...
...
@@ -4966,7 +4966,6 @@ row_merge_build_indexes(
}
}
DBUG_EXECUTE_IF
(
"ib_index_crash_after_bulk_load"
,
DBUG_SUICIDE
(););
DBUG_RETURN
(
error
);
}
...
...
storage/innobase/trx/trx0trx.cc
View file @
80834a8f
...
...
@@ -1848,8 +1848,6 @@ trx_prepare(
lsn_t
lsn
=
trx_prepare_low
(
trx
);
DBUG_EXECUTE_IF
(
"ib_trx_crash_during_xa_prepare_step"
,
DBUG_SUICIDE
(););
ut_a
(
trx
->
state
==
TRX_STATE_ACTIVE
);
{
TMTrxGuard
tg
{
*
trx
};
...
...
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