summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 2d652a194d6..4b76d9684df 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -3789,6 +3789,7 @@ void st_select_lex::print_limit(THD *thd,
{
str->append(STRING_WITH_LEN(" offset "));
limit_params.offset_limit->print(str, query_type);
+ str->append(STRING_WITH_LEN(" rows "));
}
str->append(STRING_WITH_LEN(" fetch first "));
limit_params.select_limit->print(str, query_type);