• He Zhenxing's avatar
    Backport BUG#41013 main.bootstrap coredumps in 6.0-rpl · c1e2b147
    He Zhenxing authored
    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.
    c1e2b147
handler.h 74.1 KB