mirror of
https://github.com/MariaDB/server.git
synced 2025-11-24 06:01:25 +03:00
5.5 merge
This commit is contained in:
@@ -1296,7 +1296,7 @@ public:
|
||||
if (tree->elements == 0)
|
||||
return (ulonglong) tree->elements_in_tree();
|
||||
count= 0;
|
||||
tree->walk(count_distinct_walk, (void*) &count);
|
||||
tree->walk(table_field->table, count_distinct_walk, (void*) &count);
|
||||
return count;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user