• unknown's avatar
    Bug #26598: Create variable to allow turning off of statistic gathering on metadata commands · 3602e293
    unknown authored
    Add innodb_stats_on_metadata option, which enables gathering
    index statistics when processing metadata commands such as
    SHOW TABLE STATUS.  Default behavior of the server does not
    change (this option is enabled by default).
    
    
    sql/mysqld.cc:
      Add innodb_stats_on_metadata option, which enables gathering
      index statistics when processing metadata commands such as
      SHOW TABLE STATUS.  Default behavior of the server does not
      change (this option is enabled by default).
    sql/set_var.cc:
      Add innodb_stats_on_metadata option, which enables gathering
      index statistics when processing metadata commands such as
      SHOW TABLE STATUS.  Default behavior of the server does not
      change (this option is enabled by default).
    storage/innobase/handler/ha_innodb.cc:
      Add innodb_stats_on_metadata option, which enables gathering
      index statistics when processing metadata commands such as
      SHOW TABLE STATUS.  Default behavior of the server does not
      change (this option is enabled by default).
    storage/innobase/handler/ha_innodb.h:
      Add innodb_stats_on_metadata option, which enables gathering
      index statistics when processing metadata commands such as
      SHOW TABLE STATUS.  Default behavior of the server does not
      change (this option is enabled by default).
    storage/innobase/include/srv0srv.h:
      Add innodb_stats_on_metadata option, which enables gathering
      index statistics when processing metadata commands such as
      SHOW TABLE STATUS.  Default behavior of the server does not
      change (this option is enabled by default).
    storage/innobase/srv/srv0srv.c:
      Add innodb_stats_on_metadata option, which enables gathering
      index statistics when processing metadata commands such as
      SHOW TABLE STATUS.  Default behavior of the server does not
      change (this option is enabled by default).
    3602e293
srv0srv.c 73.3 KB