mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 02:35:29 +02:00
BUG#11878104: FIXES OF BUG 11752963 - 44312 TO BACKPORT TO MYSQL-5.1
Background: Backporting fix for BUG 11752963 to Mysql5.1 branch. Problem: Fix of bug 11752963 was only available for trunk and 5.5 branch. Partial fix has been pushed to 5.1 branch as well. Fix: backporting the fixes of bug 11752963 to 5.1 branch. 1. Made all major changes to make 5.1 branch in line with 5.5 and the trunk. 2. skipped the partial patch that was already applied to the 5.1 branch. sql/rpl_rli.h: Made inited Volatile (find inline comments) sql/slave.cc: backported all changes from the fix of BUG#11752963.
This commit is contained in:
parent
9fb4a47ef4
commit
e46b3453bf
2 changed files with 13 additions and 6 deletions
|
|
@ -221,7 +221,13 @@ public:
|
|||
#endif
|
||||
|
||||
/* if not set, the value of other members of the structure are undefined */
|
||||
bool inited;
|
||||
/*
|
||||
inited changes its value within LOCK_active_mi-guarded critical
|
||||
sections at times of start_slave_threads() (0->1) and end_slave() (1->0).
|
||||
Readers may not acquire the mutex while they realize potential concurrency
|
||||
issue.
|
||||
*/
|
||||
volatile bool inited;
|
||||
volatile bool abort_slave;
|
||||
volatile uint slave_running;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue