1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00

Fixed typos

- Removed duplicate words, like "the the" and "to to"
- Removed duplicate lines (one double sort line found in mysql.cc)
- Fixed some typos found while searching for duplicate words.

Command used to find duplicate words:
egrep -rI "\s([a-zA-Z]+)\s+\1\s" | grep -v param

Thanks to Artjoms Rimdjonoks for the command and pointing out the
spelling errors.
This commit is contained in:
Monty
2025-08-31 17:04:19 +03:00
parent 25077539d7
commit 882f6fa3aa
86 changed files with 169 additions and 172 deletions

View File

@@ -439,7 +439,7 @@ public:
statistical data is to be read. E.g. if the index idx consists of 3
components (p1,p2,p3) the table index_stats usually will contain 3 rows for
this index: the first - for the prefix (p1), the second - for the prefix
(p1,p2), and the third - for the the prefix (p1,p2,p3). After the key fields
(p1,p2), and the third - for the prefix (p1,p2,p3). After the key fields
has been set a call of get_stat_value looks for a row by the set key value.
If the row is found and the value of the avg_frequency column is not null
then this value is assigned to key_info->read_stat.avg_frequency[k].
@@ -3308,7 +3308,7 @@ read_statistics_for_tables(THD *thd, TABLE_LIST *tables, bool force_reload)
/*
Do not read statistics for any query that explicity involves
statistical tables, failure to to do so we may end up
statistical tables, failure to do so we may end up
in a deadlock.
*/
if (found_stat_table || !statistics_for_tables_is_needed)
@@ -3345,7 +3345,7 @@ read_statistics_for_tables(THD *thd, TABLE_LIST *tables, bool force_reload)
/*
The following lock is here to ensure that if a lot of threads are
accessing the table at the same time after a ANALYZE TABLE,
only one thread is loading the data from the the stats tables
only one thread is loading the data from the stats tables
and the others threads are reusing the loaded data.
*/
mysql_mutex_lock(&table_share->LOCK_statistics);