• unknown's avatar
    Various syntax fixes in sql/sql_yacc.yy for stored procedures: · ebbe5e39
    unknown authored
      - No RESTICT|CASCADE in DROP SP (since it's not implemented)
      - Added optional "noise" to FETCH: [[NEXT] FROM]
      - At least one statement required in all block constructs except BEGIN-END
        (where zero is allowed)
    
    
    mysql-test/r/sp.result:
      Modified test cases for optional [[NEXT] FROM] in FETCH.
    mysql-test/t/sp.test:
      Modified test cases for optional [[NEXT] FROM] in FETCH.
    sql/sql_yacc.yy:
      Various syntax fixes for stored procedures:
        - No RESTICT|CASCADE in DROP SP (since it's not implemented)
        - Added optional "noise" to FETCH: [[NEXT] FROM]
        - At least one statement required in all block constructs except BEGIN-END
          (where zero is allowed)
    ebbe5e39
sp.test 44.3 KB