• unknown's avatar
    Disabled the GOTO feature. (It's non-standard and undocumented.) · 1ff4a0eb
    unknown authored
    We want to have the defacto standard syntax for labels ("L:" instead of "label L;"),
    and fix some known bugs, before we enable this again.
    The code is left intact (#ifdef'ed SP_GOTO) and the test cases are kept in
    sp-goto.test, for the future...
    
    
    mysql-test/r/sp-error.result:
      Moved all goto tests to sp-goto.test.
    mysql-test/r/sp.result:
      Moved all goto tests to sp-goto.test.
    mysql-test/t/disabled.def:
      Disabled GOTO/LABEL (until the label syntax and some bugs can be fixed).
      We keep the tests in sp-goto.test for the future, but disable for now.
    mysql-test/t/sp-error.test:
      Moved all goto tests to sp-goto.test.
    mysql-test/t/sp.test:
      Moved all goto tests to sp-goto.test.
    sql/lex.h:
      Disabled GOTO/LABEL (until the label syntax and some bugs can be fixed).
    sql/sql_yacc.yy:
      Disabled GOTO/LABEL (until the label syntax and some bugs can be fixed).
    1ff4a0eb
lex.h 31.6 KB