• unknown's avatar
    Fix for bug#9897: Views: 'Check Table' crashes MySQL, with a view and a table in the statement · e4c24674
    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
    e4c24674
check.result 427 Bytes