summaryrefslogtreecommitdiff
path: root/sql/sp.cc
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-08-03 03:33:51 -0700
committerunknown <konstantin@mysql.com>2004-08-03 03:33:51 -0700
commita5debaea43e5164c55b899fdd7f7b20c3ef99d2d (patch)
tree1f890f453c5684d24a0e9457e58bcab87cda60f2 /sql/sp.cc
parentefec129351986ac882f2ef9935fc21eebebba89f (diff)
parenteaf34dd8e3383b92f3d6e2600fc6f6f9365c63fc (diff)
downloadmariadb-git-a5debaea43e5164c55b899fdd7f7b20c3ef99d2d.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/kostja/mysql/mysql-5.0-sap-new sql/sp.cc: Auto merged sql/sp_head.cc: Auto merged
Diffstat (limited to 'sql/sp.cc')
-rw-r--r--sql/sp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc
index 9d574c81545..238b28edfe3 100644
--- a/sql/sp.cc
+++ b/sql/sp.cc
@@ -564,7 +564,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;