1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed range optimzier bug (Bug #1828)

mysql-test/r/range.result:
  test for range optimzier bug
mysql-test/t/range.test:
  test for range optimzier bug
This commit is contained in:
unknown
2003-11-28 15:45:34 +02:00
parent e56d603a09
commit e5cc604eab
3 changed files with 23 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public:
{}
inline bool is_same(SEL_ARG *arg)
{
if (type != arg->type)
if (type != arg->type || part != arg->part)
return 0;
if (type != KEY_RANGE)
return 1;