• unknown's avatar
    Implemented SP CONDITIONs and HANDLERs, with the extension of handling · 4deedf62
    unknown authored
    MySQL error codes as well.
    (No UNDO HANDLERs yet, and no SIGNAL or RESIGNAL.)
    WL#850
    
    
    Docs/sp-imp-spec.txt:
      Spec of CONDITIONs and HANDLERs (and updated some old stuff too).
    Docs/sp-implemented.txt:
      Updated info about caching, CONDITIONs and HANDLERs.
    include/mysqld_error.h:
      New error for undeclared CONDITION.
    libmysqld/Makefile.am:
      New file: sp_rcontext.cc.
    mysql-test/r/sp-error.result:
      New tests for CONDITIONs and HANDLERs.
    mysql-test/r/sp.result:
      New tests for CONDITIONs and HANDLERs.
    mysql-test/t/sp-error.test:
      New tests for CONDITIONs and HANDLERs.
    mysql-test/t/sp.test:
      New tests for CONDITIONs and HANDLERs.
    sql/Makefile.am:
      New file: sp_rcontext.cc.
    sql/lex.h:
      New symbols for CONDITIONs, HANDLERs and CURSORs.
    sql/mysqld.cc:
      Catch error if we have a handler for it.
    sql/protocol.cc:
      Catch error if we have a handler for it.
    sql/share/czech/errmsg.txt:
      New error for undeclared CONDITION.
    sql/share/danish/err...
    4deedf62
lex.h 29.4 KB