• unknown's avatar
    WL#1622 "SQL Syntax for Prepared Statements": Post-review fixes (1 of 2) · cbb05d26
    unknown authored
    
    mysql-test/r/ps.result:
      Added tests for PREPARE stmt1 FROM @var syntax
    mysql-test/t/ps.test:
      Added tests for PREPARE stmt1 FROM @var syntax
    mysys/my_error.c:
      Added support for "%.*s" format
    sql/item.cc:
      Removed one redundant Item_param::set_value function
    sql/item.h:
      Removed one redundant Item_param::set_value function
    sql/mysqld.cc:
      Reformmated the code
    sql/share/czech/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/dutch/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/english/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/estonian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/french/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/german/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/greek/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/hungarian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/italian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/japanese/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/korean/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/norwegian-ny/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/norwegian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/polish/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/portuguese/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/romanian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/russian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/slovak/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/spanish/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/swedish/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/share/ukrainian/errmsg.txt:
      Changed ER_UNKNOWN_STMT_HANDLER format string
    sql/sql_class.h:
      SQL Prepared statements now can't be used by binary protocol commands
    sql/sql_lex.h:
      Added support for PREPARE stmt1 FROM @var syntax.
    sql/sql_parse.cc:
      Added support for PREPARE stmt1 FROM @var syntax.
    sql/sql_prepare.cc:
      Code cleanup
    sql/sql_yacc.yy:
      Added support for PREPARE stmt1 FROM @var syntax.
    cbb05d26
sql_yacc.yy 147 KB