mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
fixed parameter to avoid accessing unallocated memory
This commit is contained in:
parent
9819df20c9
commit
157af12f36
1 changed files with 1 additions and 1 deletions
|
@ -1418,7 +1418,7 @@ JOIN::exec()
|
|||
WHERE clause for any tables after the sorted one.
|
||||
*/
|
||||
JOIN_TAB *curr_table= &curr_join->join_tab[curr_join->const_tables+1];
|
||||
JOIN_TAB *end_table= &curr_join->join_tab[tables];
|
||||
JOIN_TAB *end_table= &curr_join->join_tab[curr_join->tables];
|
||||
for (; curr_table < end_table ; curr_table++)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue