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)

This commit is contained in:
monty@mysql.com
2003-11-28 15:45:34 +02:00
parent feb7857d1d
commit 4f42a47408
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;