• evgen@moonbone.local's avatar
    Fix bug #12812 create view calling a function works without execute right on function · de4e941e
    evgen@moonbone.local authored
    Execution rigths on function was checked just before function execution,
    thus it was unknown on prepare stage whether user have right to execute 
    particular function.
    
    Added access rights checking function which is called right after fixing
    Item_func_sp.
    This have additional effect that if user don't have rights for execution
    query will fail on earlier stage and will not waste resources on optimizing
    with failing on execution stage.
    de4e941e
sp.result 70.8 KB