1. 19 Sep, 2005 1 commit
    • unknown's avatar
      Fix bug #12812 create view calling a function works without execute right on function · 43dd29df
      unknown 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.
      
      
      sql/item_func.h:
        Fix bug#12812 create view calling a function works without execute right on function
      sql/item_func.cc:
        Fix bug#12812 create view calling a function works without execute right on function
        Added function Item_func_sp::check_access() which checks access rights.
        Added function Item_func_sp::fix_field() which calls check_access() after fixing.
        Item_func_sp::execute() now calls to check_access() to check access rights.
      mysql-test/t/sp.test:
        Test case for bug#12812 create view calling a function works without execute right on function
      mysql-test/r/sp.result:
        Test case for bug#12812 create view calling a function works without execute right on function
      43dd29df
  2. 31 Aug, 2005 5 commits
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/4.1.b9613 · c00dd12c
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      sql/ha_blackhole.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      mysql-test/r/variables.result:
        merging
      mysql-test/t/variables.test:
        merging
      c00dd12c
    • unknown's avatar
      configure.in: · 44327dc4
      unknown authored
        Changed back to 5.0.13-beta
      
      
      configure.in:
        Changed back to 5.0.13-beta
      44327dc4
    • unknown's avatar
      mysql-test-run.pl: · d6f7c45c
      unknown authored
        Put back unused old manager dummy arguments, some scripts use them
      
      
      mysql-test/mysql-test-run.pl:
        Put back unused old manager dummy arguments, some scripts use them
      d6f7c45c
    • unknown's avatar
      Makefile.am: · f80b9638
      unknown authored
        Make dist copy of .imtest files not fail the make target, as there are no files yet
      
      
      mysql-test/Makefile.am:
        Make dist copy of .imtest files not fail the make target, as there are no files yet
      f80b9638
  3. 30 Aug, 2005 34 commits