mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Merge 10.3 into 10.4
This commit is contained in:
commit
392ee571c1
32 changed files with 253 additions and 225 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright (C) 2009 MySQL AB
|
||||
Copyright (c) 2019, 2020, MariaDB Corporation.
|
||||
Copyright (c) 2019, 2022, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -2525,7 +2525,6 @@ int collect_statistics_for_index(THD *thd, TABLE *table, uint index)
|
|||
{
|
||||
int rc= 0;
|
||||
KEY *key_info= &table->key_info[index];
|
||||
ha_rows rows= 0;
|
||||
|
||||
DBUG_ENTER("collect_statistics_for_index");
|
||||
|
||||
|
|
@ -2560,7 +2559,6 @@ int collect_statistics_for_index(THD *thd, TABLE *table, uint index)
|
|||
|
||||
if (rc)
|
||||
break;
|
||||
rows++;
|
||||
index_prefix_calc.add();
|
||||
rc= table->file->ha_index_next(table->record[0]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue