• unknown's avatar
    Fixed bug #19573. · f5edaf09
    unknown authored
    The select statement that specified a view could be
    slightly changed when the view was saved in a frm file.
    In particular references to an alias name in the HAVING
    clause could be substituted for the expression named by
    this alias.
    This could result in an error message for a query of
    the form SELECT * FROM <view>. Yet no such message
    appeared when executing the query specifying the view.
    
    
    mysql-test/r/having.result:
      Adjusted results after fixing bug #19573.
    mysql-test/r/view.result:
      Added a test case for bug #19573.
    mysql-test/t/view.test:
      Added a test case for bug #19573.
    f5edaf09
view.result 79.5 KB