MDEV-33148 A connection can control RAND() in following connection
initialize THD::rand in THD::init() not in THD::THD(), because the former is also called when a THD is reused - in COM_CHANGE_USER and in taking a THD from the cache. Also use current cycle timer for more unpreditability
Showing
Please register or sign in to comment