• unknown's avatar
    Bug #28702: VIEWs defined with USE/FORCE KEY ignore that request · 6c3aa88e
    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.
    6c3aa88e
sql_select.cc 494 KB