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
27f0bd7d
Commit
27f0bd7d
authored
Jun 16, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test case innodb.xa_recovery crash on xtradb.
parent
96806025
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
storage/xtradb/srv/srv0start.cc
storage/xtradb/srv/srv0start.cc
+1
-1
storage/xtradb/trx/trx0trx.cc
storage/xtradb/trx/trx0trx.cc
+3
-2
No files found.
storage/xtradb/srv/srv0start.cc
View file @
27f0bd7d
...
@@ -3197,9 +3197,9 @@ innobase_shutdown_for_mysql(void)
...
@@ -3197,9 +3197,9 @@ innobase_shutdown_for_mysql(void)
ibuf_close
();
ibuf_close
();
log_shutdown
();
log_shutdown
();
lock_sys_close
();
trx_sys_file_format_close
();
trx_sys_file_format_close
();
trx_sys_close
();
trx_sys_close
();
lock_sys_close
();
/* We don't create these mutexes in RO mode because we don't create
/* We don't create these mutexes in RO mode because we don't create
the temp files that the cover. */
the temp files that the cover. */
...
...
storage/xtradb/trx/trx0trx.cc
View file @
27f0bd7d
...
@@ -473,11 +473,12 @@ trx_free_prepared(
...
@@ -473,11 +473,12 @@ trx_free_prepared(
/*==============*/
/*==============*/
trx_t
*
trx
)
/*!< in, own: trx object */
trx_t
*
trx
)
/*!< in, own: trx object */
{
{
ut_ad
(
mutex_own
(
&
trx_sys
->
mutex
));
ut_a
(
trx_state_eq
(
trx
,
TRX_STATE_PREPARED
));
ut_a
(
trx_state_eq
(
trx
,
TRX_STATE_PREPARED
));
ut_a
(
trx
->
magic_n
==
TRX_MAGIC_N
);
ut_a
(
trx
->
magic_n
==
TRX_MAGIC_N
);
mutex_exit
(
&
trx_sys
->
mutex
);
lock_trx_release_locks
(
trx
);
mutex_enter
(
&
trx_sys
->
mutex
);
trx_undo_free_prepared
(
trx
);
trx_undo_free_prepared
(
trx
);
assert_trx_in_rw_list
(
trx
);
assert_trx_in_rw_list
(
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