mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 07:15:33 +02:00
Merge XtraDB 6 into MariaDB.
This commit is contained in:
commit
cb6a28aaf9
53 changed files with 2532 additions and 540 deletions
|
|
@ -854,6 +854,9 @@ row_update_statistics_if_needed(
|
|||
|
||||
table->stat_modified_counter = counter + 1;
|
||||
|
||||
if (!srv_stats_auto_update)
|
||||
return;
|
||||
|
||||
/* Calculate new statistics if 1 / 16 of table has been modified
|
||||
since the last time a statistics batch was run, or if
|
||||
stat_modified_counter > 2 000 000 000 (to avoid wrap-around).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue