• unknown's avatar
    Fixed BUG#14256: definer in view definition is not fully qualified · 25d1e014
    unknown authored
      Changed the parser test for wildcards in hostname to checking for empty
      strings instead (analogous with the test in default_view_definer()),
      since wildcards do appear in the definer's host-part sometimes.
    
    
    mysql-test/r/view.result:
      Updated result.
    mysql-test/r/view_grant.result:
      Added test for BUG#14256.
    mysql-test/t/view.test:
      Changed test for explicit definer; wildcards in host are ok, empty host-part is not.
    mysql-test/t/view_grant.test:
      Added test for BUG#14256.
    sql/sql_yacc.yy:
      Changed test for wildcards in hostpart of explicit view definer to test for empty
      host part instead. (Analogous with sql_parse.cc:default_view_definer().)
    25d1e014
view.test 57.4 KB