mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
test a correct flag in Field::optimize_range
This commit is contained in:
@ -334,7 +334,7 @@ void Field::store_time(TIME *ltime,timestamp_type type)
|
||||
|
||||
bool Field::optimize_range(uint idx)
|
||||
{
|
||||
return test(table->file->index_flags(idx) & HA_READ_NEXT);
|
||||
return !test(table->file->index_flags(idx) & HA_WRONG_ASCII_ORDER);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Reference in New Issue
Block a user