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

Fixed some minor issues, revealed by compiler warnings when using

BUILD/compile-pentium-debug-max
This commit is contained in:
jani@linux.local
2003-12-17 19:18:01 +00:00
parent 7a1fddaa1f
commit ecf54df991
4 changed files with 15 additions and 3 deletions

View File

@ -1014,6 +1014,7 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
SEL_IMERGE *min_imerge= NULL;
double min_imerge_cost= DBL_MAX;
ha_rows min_imerge_records;
LINT_INIT(min_imerge_records); // Protected by min_imerge
List_iterator_fast<SEL_IMERGE> it(tree->merges);
while ((imerge= it++))