• Vasil Dimov's avatar
    Fix Bug#57252 disabling innobase_stats_on_metadata disables ANALYZE · 902b13fa
    Vasil Dimov authored
    In order to fix this bug we need to distinguish whether ha_innobase::info()
    has been called from ::analyze() or not. Rename ::info() to ::info_low()
    and add a boolean parameter that tells whether the call is from ::analyze()
    or not. Create a new simple ::info() that just calls
    ::info_low(false => not called from analyze). From ::analyze() instead of
    ::info() call ::info_low(true => called from analyze).
    
    Approved by:	Jimmy (rb://487)
    902b13fa
innodb_bug57252.test 1.25 KB