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
b17c1a79
Commit
b17c1a79
authored
Dec 04, 2009
by
He Zhenxing
Browse files
Options
Browse Files
Download
Plain Diff
Auto merge postfix of Bug#49020
parents
ab157a04
eaf517bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
plugin/semisync/semisync_master.cc
plugin/semisync/semisync_master.cc
+3
-2
No files found.
plugin/semisync/semisync_master.cc
View file @
b17c1a79
...
@@ -280,7 +280,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
...
@@ -280,7 +280,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
}
}
if
(
trace_level_
&
kTraceDetail
)
if
(
trace_level_
&
kTraceDetail
)
sql_print_information
(
"%s:
free all nodes back to free list
"
,
kWho
);
sql_print_information
(
"%s:
cleared all nodes
"
,
kWho
);
}
}
else
if
(
new_front
!=
trx_front_
)
else
if
(
new_front
!=
trx_front_
)
{
{
...
@@ -292,6 +292,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
...
@@ -292,6 +292,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
while
(
curr_node
!=
new_front
)
while
(
curr_node
!=
new_front
)
{
{
next_node
=
curr_node
->
next_
;
next_node
=
curr_node
->
next_
;
n_frees
++
;
/* Remove the node from the hash table. */
/* Remove the node from the hash table. */
unsigned
int
hash_val
=
get_hash_value
(
curr_node
->
log_name_
,
curr_node
->
log_pos_
);
unsigned
int
hash_val
=
get_hash_value
(
curr_node
->
log_name_
,
curr_node
->
log_pos_
);
...
@@ -312,7 +313,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
...
@@ -312,7 +313,7 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
trx_front_
=
new_front
;
trx_front_
=
new_front
;
if
(
trace_level_
&
kTraceDetail
)
if
(
trace_level_
&
kTraceDetail
)
sql_print_information
(
"%s:
free
%d nodes back until pos (%s, %lu)"
,
sql_print_information
(
"%s:
cleared
%d nodes back until pos (%s, %lu)"
,
kWho
,
n_frees
,
kWho
,
n_frees
,
trx_front_
->
log_name_
,
(
unsigned
long
)
trx_front_
->
log_pos_
);
trx_front_
->
log_name_
,
(
unsigned
long
)
trx_front_
->
log_pos_
);
}
}
...
...
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