1
0
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:
serg@serg.mylan
2003-11-13 17:39:41 +01:00
parent f4d7afd213
commit 501c337ac4

View File

@ -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);
}
/****************************************************************************