mirror of
https://github.com/MariaDB/server.git
synced 2025-09-03 20:43:11 +03:00
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
This commit is contained in:
@@ -689,7 +689,7 @@ void ha_myisam::deactivate_non_unique_index(ha_rows rows)
|
|||||||
we don't want to update the key statistics based of only a few rows.
|
we don't want to update the key statistics based of only a few rows.
|
||||||
*/
|
*/
|
||||||
if (file->state->records == 0 &&
|
if (file->state->records == 0 &&
|
||||||
rows >= MI_MIN_ROWS_TO_USE_BULK_INSERT)
|
(!rows || rows >= MI_MIN_ROWS_TO_USE_BULK_INSERT))
|
||||||
mi_disable_non_unique_index(file,rows);
|
mi_disable_non_unique_index(file,rows);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user