• unknown's avatar
    new error for unsupported command in PS · 9802b134
    unknown authored
    fixed IN subselect with basic constant left expression
    SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406)
    fixed multiupdate privelege check (BUG#3408)
    fixed multiupdate tables check (BUG#3411)
    unchecked commands now is rejected by PS protocol to avoid serever crash
    fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
    
    
    include/mysqld_error.h:
      new error for unsupported command in PS
    mysql-test/r/multi_update.result:
      test sutes (BUG#3408, BUG#3411)
    mysql-test/t/multi_update.test:
      test sutes (BUG#3408, BUG#3411)
    sql/item_cmpfunc.cc:
      fixed IN subselect with basic constant left expression
    sql/mysql_priv.h:
      some function frop sql_parse.h become public
    sql/set_var.cc:
      check for SET command via PS
    sql/set_var.h:
      check for SET command via PS
    sql/share/czech/errmsg.txt:
      new error for unsupported command in PS
    sql/share/danish/errmsg.txt:
      new error for unsupported command in PS
    sql/share/dutch/errmsg.txt:
      new error for unsupported command in PS
    sql/share/english/errmsg.txt:
      new error for unsupported command in PS
    sql/share/estonian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/french/errmsg.txt:
      new error for unsupported command in PS
    sql/share/german/errmsg.txt:
      new error for unsupported command in PS
    sql/share/greek/errmsg.txt:
      new error for unsupported command in PS
    sql/share/hungarian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/italian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/japanese/errmsg.txt:
      new error for unsupported command in PS
    sql/share/korean/errmsg.txt:
      new error for unsupported command in PS
    sql/share/norwegian-ny/errmsg.txt:
      new error for unsupported command in PS
    sql/share/norwegian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/polish/errmsg.txt:
      new error for unsupported command in PS
    sql/share/portuguese/errmsg.txt:
      new error for unsupported command in PS
    sql/share/romanian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/russian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/serbian/errmsg.txt:
      new error for unsupported command in PS
    sql/share/slovak/errmsg.txt:
      new error for unsupported command in PS
    sql/share/spanish/errmsg.txt:
      new error for unsupported command in PS
    sql/share/swedish/errmsg.txt:
      new error for unsupported command in PS
    sql/share/ukrainian/errmsg.txt:
      new error for unsupported command in PS
    sql/sql_lex.cc:
      first table unlincking procedures for CREATE command
    sql/sql_lex.h:
      first table unlincking procedures for CREATE command
    sql/sql_parse.cc:
      used function to exclude first table from list
      SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406)
      fixed multiupdate privelege check (BUG#3408)
      fixed multiupdate tables check (BUG#3411)
    sql/sql_prepare.cc:
      fixed a lot of commands to be compatible with PS
      unchecked commands now is rejected to avoid serever crash
    sql/sql_select.cc:
      allow empty result for PS preparing
    sql/sql_union.cc:
      fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
    sql/sql_update.cc:
      fixed update to use correct tables lists (BUG#3408)
    sql/table.h:
      flag to support multi update tables check (BUG#3408)
    tests/client_test.c:
      removed unsupported tables
      fixed show table test
      added new tests
    9802b134
multi_update.test 13.1 KB