summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2005-03-30 17:43:52 +0200
committerunknown <pem@mysql.comhem.se>2005-03-30 17:43:52 +0200
commit66b71ca3785fe9f3dd93c2debeafb5cb19e34bdf (patch)
tree60e2dfa1271b73f59fda7362c9be680275cbe247 /sql/sp_head.cc
parent3a44dcd1a3b8b9e23200c3527bb43850ffdb8ece (diff)
downloadmariadb-git-66b71ca3785fe9f3dd93c2debeafb5cb19e34bdf.tar.gz
Fixed BUG#6600: Stored procedure crash after repeated calls with check table.
Sedond attempt: Simply disallow CHECK in SPs, since it can't work. mysql-test/r/sp-error.result: New test cast for BUG#6600 mysql-test/r/sp.result: Removed old test case for BUG#6600 mysql-test/t/sp-error.test: New test cast for BUG#6600 mysql-test/t/sp.test: Removed old test case for BUG#6600 sql/share/errmsg.txt: Made the SP bad statement error message more general. sql/sp_head.cc: CHECK is not possible in stored procedures. sql/sql_parse.cc: Undid attempt to fix CHECK in stored procedures, it didn't work. sql/sql_yacc.yy: CHECK is not possible in stored procedures. (And updated error messages for LOCK/UNLOCK.)
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 037ef0b70ca..89c4b2dbaac 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -58,7 +58,6 @@ sp_multi_results_command(enum enum_sql_command cmd)
{
switch (cmd) {
case SQLCOM_ANALYZE:
- case SQLCOM_CHECK:
case SQLCOM_CHECKSUM:
case SQLCOM_HA_READ:
case SQLCOM_SHOW_BINLOGS: