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:
@ -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;
|
||||
|
Reference in New Issue
Block a user