• unknown's avatar
    this has nothing to do with the bug#13012. · da8b9967
    unknown authored
    it's about mysql_admin_commands not being reexecution-safe
    (and CHECK still isn't)
    
    
    mysql-test/r/sp-error.result:
      optimize is now allowed in SP
    mysql-test/r/sp.result:
      test repair/optimize/analyze in SP
    mysql-test/t/backup.test:
      clean up after itself
    mysql-test/t/sp-error.test:
      optimize is now allowed in SP
    mysql-test/t/sp.test:
      test repair/optimize/analyze in SP
    sql/sp_head.cc:
      all mysql_admin commands return result set
    sql/sql_parse.cc:
      all mysql_admin commands modify table list and we should restore it for SP
    sql/sql_table.cc:
      optimization - don't execute views when no view is expected/allowed
    sql/sql_yacc.yy:
      optimize is now allowed in SP
    da8b9967
sp-error.result 32.9 KB