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
ab71e2ac
Commit
ab71e2ac
authored
Apr 09, 2006
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/users/lthalmann/bk/mysql-5.0-release-bug18116
into mysql.com:/users/lthalmann/bk/mysql-5.0
parents
010a8a57
9a12ddcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sql/log.cc
sql/log.cc
+5
-1
No files found.
sql/log.cc
View file @
ab71e2ac
...
@@ -1882,7 +1882,11 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
...
@@ -1882,7 +1882,11 @@ bool MYSQL_LOG::write(THD *thd, IO_CACHE *cache, Log_event *commit_event)
rotate binlog, if necessary.
rotate binlog, if necessary.
*/
*/
if
(
commit_event
->
get_type_code
()
==
XID_EVENT
)
if
(
commit_event
->
get_type_code
()
==
XID_EVENT
)
thread_safe_increment
(
prepared_xids
,
&
LOCK_prep_xids
);
{
pthread_mutex_lock
(
&
LOCK_prep_xids
);
prepared_xids
++
;
pthread_mutex_unlock
(
&
LOCK_prep_xids
);
}
else
else
rotate_and_purge
(
RP_LOCK_LOG_IS_ALREADY_LOCKED
);
rotate_and_purge
(
RP_LOCK_LOG_IS_ALREADY_LOCKED
);
}
}
...
...
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