• unknown's avatar
    ufter revview fix (BUG#2120) · 61f0e69c
    unknown authored
    
    mysql-test/r/derived.result:
      test of error handling in derived tables with UPDATE & DELETE
    mysql-test/t/derived.test:
      test of error handling in derived tables with UPDATE & DELETE
    sql/mysql_priv.h:
      opened tables counter added to avoid loop of tables calculating in lock_tables
    sql/sql_acl.cc:
      opened tables counter added to avoid loop of tables calculating in lock_tables, here it is just for compatibility
    sql/sql_base.cc:
      removed unneeded assignment
      opened tables counter added to avoid loop of tables calculating in lock_tables
      commentary fixed
    sql/sql_derived.cc:
      mysql_derived made static
      variable res moved in place where it used
      priveleges written in correct place
    sql/sql_handler.cc:
      opened tables counter added to avoid loop of tables calculating in lock_tables
    sql/sql_parse.cc:
      mistyping in commentary fixed
    61f0e69c
derived.result 14.1 KB