diff options
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index 4164a27ca5f..83ed95c7c4c 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -563,7 +563,8 @@ db_show_routine_status(THD *thd, int type, const char *wild) } } /* Print header */ - if (thd->protocol->send_fields(&field_list,1)) + if (thd->protocol->send_fields(&field_list, Protocol::SEND_NUM_ROWS | + Protocol::SEND_EOF)) { res= SP_INTERNAL_ERROR; goto err_case; |