• unknown's avatar
    Fix for bug#9897: Views: 'Check Table' crashes MySQL, with a view and a table in the statement · 7fb76f01
    unknown authored
       thd->lex->derived_tables should be zero(it may be changed if we open a view)
    
    
    mysql-test/r/check.result:
      Fix for bug#9897: Views: 'Check Table' crashes MySQL, with a view and a table in the statement
    mysql-test/t/check.test:
      Fix for bug#9897: Views: 'Check Table' crashes MySQL, with a view and a table in the statement
    sql/sql_table.cc:
      Fix for bug#9897: Views: 'Check Table' crashes MySQL, with a view and a table in the statement
    7fb76f01
check.test 733 Bytes