• unknown's avatar
    Fixed some basic error handling for SP functions in mysql_execute_command(). · fa46b6a8
    unknown authored
    
    include/mysqld_error.h:
      Added error codes for SPs
    sql/mysql_priv.h:
      Changed return value of mysql_execute_command() from void to int; need to be able
      to detect if executions of substatements in SPs failed.
    sql/share/czech/errmsg.txt:
      Added error messages for SPs.
    sql/share/danish/errmsg.txt:
      Added error messages for SPs.
    sql/share/dutch/errmsg.txt:
      Added error messages for SPs.
    sql/share/english/errmsg.txt:
      Added error messages for SPs.
    sql/share/estonian/errmsg.txt:
      Added error messages for SPs.
    sql/share/french/errmsg.txt:
      Added error messages for SPs.
    sql/share/german/errmsg.txt:
      Added error messages for SPs.
    sql/share/greek/errmsg.txt:
      Added error messages for SPs.
    sql/share/hungarian/errmsg.txt:
      Added error messages for SPs.
    sql/share/italian/errmsg.txt:
      Added error messages for SPs.
    sql/share/japanese/errmsg.txt:
      Added error messages for SPs.
    sql/share/korean/errmsg.txt:
      Added error messages for SPs.
    sql/share/norwegian-ny/errmsg.txt:
      Added error messages for SPs.
    sql/share/norwegian/errmsg.txt:
      Added error messages for SPs.
    sql/share/polish/errmsg.txt:
      Added error messages for SPs.
    sql/share/portuguese/errmsg.txt:
      Added error messages for SPs.
    sql/share/romanian/errmsg.txt:
      Added error messages for SPs.
    sql/share/russian/errmsg.txt:
      Added error messages for SPs.
    sql/share/serbian/errmsg.txt:
      Added error messages for SPs.
    sql/share/slovak/errmsg.txt:
      Added error messages for SPs.
    sql/share/spanish/errmsg.txt:
      Added error messages for SPs.
    sql/share/swedish/errmsg.txt:
      Added error messages for SPs.
    sql/share/ukrainian/errmsg.txt:
      Added error messages for SPs.
    sql/sp_head.cc:
      Moved net.no_send_ok fiddling to sql_parse.cc.
      Check if mysql_execute_command() failed.
    sql/sql_parse.cc:
      Changed return value of mysql_execute_command() from void to int; need to be able
      to detect if executions of substatements in SPs failed. Fixed all returns
      accordingly.
      Added error checks for SQLCOM_CREATE_PROCEDURE, CALL, ALTER_PROCEDURE, and
      DROP_PROCEDURE.
    fa46b6a8
errmsg.txt 14.1 KB