diff options
author | He Zhenxing <zhenxing.he@sun.com> | 2009-10-02 13:59:42 +0800 |
---|---|---|
committer | He Zhenxing <zhenxing.he@sun.com> | 2009-10-02 13:59:42 +0800 |
commit | ebca60c1ff07ecb57cd2852052534640322ca576 (patch) | |
tree | 3daa6750467ce113f607820f425cf3304b89461e /sql/slave.cc | |
parent | 737910fb11e0fe8d2628bf8091c3a7b0de194db2 (diff) | |
download | mariadb-git-ebca60c1ff07ecb57cd2852052534640322ca576.tar.gz |
Backport BUG#41013 main.bootstrap coredumps in 6.0-rpl
When a storage engine failed to initialize before allocated slot number,
the slot number would be 0, and when later finalizing this plugin, it would
accidentally unplug the storage engine currently uses slot 0.
This patch fixed this problem by add a new macro value HA_SLOT_UNDEF to
distinguish undefined slot number from slot 0.
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions