• unknown's avatar
    Bug #28702: VIEWs defined with USE/FORCE KEY ignore that request · ca448acc
    unknown authored
    When storing the VIEW the CREATE VIEW command is reconstructed 
    from the parse tree. While constructing the command string
    the index hints specified should also be printed.
    Fixed by adding code to print the index hints when printing a 
    table in the FROM clause.
    
    
    mysql-test/r/view.result:
      Bug #28702: test case
    mysql-test/t/view.test:
      Bug #28702: test case
    sql/sql_select.cc:
      Bug #28702: preserve index hints in a VIEW definition.
    sql/table.h:
      Bug #28702: preserve index hints in a VIEW definition.
    ca448acc
view.test 87.2 KB