MySQL bug in share updates + extra debug info