• davi@moksha.com.br's avatar
    Bug#29223 declare cursor c for SHOW ..... · 2adf38c1
    davi@moksha.com.br authored
    "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.
    2adf38c1
sp-error.result 47.5 KB