1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/mysql-test/t
unknown 03e74b8c5e Bug#29223 declare cursor c for SHOW .....
"DECLARE CURSOR FOR SHOW ..." is a syntax that currently appears to work,
but is untested for some SHOW commands and does not work for other SHOW
commands.

Since this is an un-intended feature that leaked as a result of a coding bug
(in the parser grammar), the correct fix is to fix the grammar to not accept
this construct.

In other words, "DECLARE CURSOR FOR SHOW <other commands that don't work>"
is not considered a bug, and we will not implement other features to make all
the SHOW commands usable inside a cursor just because someone exploited a bug.


mysql-test/r/sp-error.result:
  Only allow declaring cursors for SELECT statements to avoid
  possible further confusion/problems.
mysql-test/t/information_schema.test:
  Only SELECT statements are allowed in cursors.
mysql-test/t/sp-error.test:
  Add test case for Bug#29223. Non-SELECT statements in cursors now
  yields a parser error.
sql/sql_yacc.yy:
  Rework DECLARE CURSOR statement to not allow non-SELECT statements.
2007-10-11 17:38:40 -03:00
..
2007-07-30 21:05:56 +05:00
2007-05-23 15:26:16 +04:00
2007-08-08 16:39:13 +02:00
2007-08-07 05:35:20 -04:00
2007-07-05 19:20:14 +02:00
2007-09-11 02:41:42 +04:00
2007-08-02 12:45:56 -07:00
2007-05-26 16:36:38 +02:00
2007-05-26 16:36:38 +02:00
2007-05-26 16:36:38 +02:00
2007-05-26 16:36:38 +02:00
2007-05-26 16:36:38 +02:00
2007-05-26 16:36:38 +02:00
2007-07-23 23:35:43 -07:00
2007-06-28 16:03:01 -07:00
2007-06-28 16:03:01 -07:00
2007-07-06 11:35:10 -07:00
2007-07-11 18:45:35 -07:00
2007-08-01 16:48:14 +04:00
2007-06-20 14:21:48 +05:00
2007-08-31 16:59:07 +05:00
2007-08-31 16:59:07 +05:00
2007-09-05 11:35:29 +05:00
2007-08-13 15:46:11 +02:00
2007-06-13 17:28:59 +02:00
2007-06-13 17:28:59 +02:00
2007-06-13 17:28:59 +02:00
2007-06-01 17:49:01 +04:00
2007-06-06 18:55:21 +05:00
2007-07-05 19:20:14 +02:00
2007-07-14 01:34:46 +05:00
2007-07-15 21:51:36 +04:00
2007-06-03 14:46:09 +04:00