diff options
Diffstat (limited to 'sql/sql_tvc.cc')
-rw-r--r-- | sql/sql_tvc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_tvc.cc b/sql/sql_tvc.cc index eea14d7dfc2..f4a99392149 100644 --- a/sql/sql_tvc.cc +++ b/sql/sql_tvc.cc @@ -386,7 +386,7 @@ bool table_value_constr::exec(SELECT_LEX *sl) while ((elem= li++)) { - if (send_records >= sl->master_unit()->select_limit_cnt) + if (send_records >= sl->master_unit()->lim.get_select_limit()) break; int rc= result->send_data(*elem); if (!rc) |