Commit 2b39abc
Libing Song
bug#14798275 GLOBAL GTID VARIABLES RELEASED TO EARLY DURING SHUTDOWN
Problem: NDB engine encounters an error when embedded server shutdown,
if binlog is opened. It happens because binlog related things are closed
before NDB engine is closed, but the things(e.g GTID) may need when NDB
engine is closing.
Fix: Handler provides a hook ha_binlog_end which tells engines to finish
binlog related works before server closes binlog. But it was not compiled
in embedded server. In this patch it is compiled in embedded server, just
like a common mysql server.
No way to test the patch on mysql server without NDB. But there is a test
ndb_basic can verify this patch on ndb branches.1 parent f79b418 commit 2b39abc
2 files changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5245 | 5245 | | |
5246 | 5246 | | |
5247 | 5247 | | |
5248 | | - | |
5249 | 5248 | | |
5250 | 5249 | | |
5251 | 5250 | | |
| |||
5300 | 5299 | | |
5301 | 5300 | | |
5302 | 5301 | | |
| 5302 | + | |
| 5303 | + | |
5303 | 5304 | | |
5304 | 5305 | | |
5305 | 5306 | | |
| |||
5319 | 5320 | | |
5320 | 5321 | | |
5321 | 5322 | | |
5322 | | - | |
5323 | | - | |
5324 | | - | |
5325 | | - | |
5326 | | - | |
5327 | | - | |
5328 | | - | |
5329 | 5323 | | |
5330 | 5324 | | |
5331 | 5325 | | |
| |||
5383 | 5377 | | |
5384 | 5378 | | |
5385 | 5379 | | |
| 5380 | + | |
| 5381 | + | |
| 5382 | + | |
| 5383 | + | |
| 5384 | + | |
| 5385 | + | |
| 5386 | + | |
5386 | 5387 | | |
5387 | 5388 | | |
5388 | 5389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3413 | 3413 | | |
3414 | 3414 | | |
3415 | 3415 | | |
3416 | | - | |
3417 | 3416 | | |
3418 | 3417 | | |
3419 | 3418 | | |
3420 | 3419 | | |
3421 | 3420 | | |
3422 | 3421 | | |
3423 | | - | |
3424 | 3422 | | |
3425 | 3423 | | |
| 3424 | + | |
| 3425 | + | |
| 3426 | + | |
3426 | 3427 | | |
3427 | 3428 | | |
3428 | 3429 | | |
| |||
0 commit comments