1. 01 Feb, 2006 18 commits
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.1/wl1359 · f21f0870
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/tmp_merge
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      f21f0870
    • unknown's avatar
      some fixes from review of WL1359. · 62dab7cf
      unknown authored
      fix up test cases.
      
      
      mysql-test/r/information_schema.result:
        update result for INFORMATION_SCHEMA.FILES
      mysql-test/r/information_schema_db.result:
        update result for INFORMATION_SCHEMA.FILES
      sql/ha_ndbcluster.cc:
        in fill_files_table, use my_snprintf instead of snprintf
      sql/sql_show.cc:
        correct DBUG_ENTER for fill_schema_files
      sql/table.h:
        add SCH_FILES to information schema enum
      62dab7cf
    • unknown's avatar
      d3df53b8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9096cf32
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql51
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      9096cf32
    • unknown's avatar
      another attempt to make testcase predictable :) · 386bbb42
      unknown authored
      386bbb42
    • unknown's avatar
      655e7a93
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 96ac9659
      unknown authored
      into  mysql.com:/mnt/hda4/home/alik/MySQL/devel/5.1-bug9412-latest
      
      96ac9659
    • unknown's avatar
      Fix for BUG#9412: Triggers: should have trigger privilege. · 159d445a
      unknown authored
      Implement table-level TRIGGER privilege to control access to triggers.
      Before this path global SUPER privilege was used for this purpose, that
      was the big security problem.
      
      In details, before this patch SUPER privilege was required:
        - for the user at CREATE TRIGGER time to create a new trigger;
        - for the user at DROP TRIGGER time to drop the existing trigger;
        - for the definer at trigger activation time to execute the trigger (if the
          definer loses SUPER privilege, all its triggers become unavailable);
      
      This patch changes the behaviour in the following way:
        - TRIGGER privilege on the subject table for trigger is required:
          - for the user at CREATE TRIGGER time to create a new trigger;
          - for the user at DROP TRIGGER time to drop the existing trigger;
          - for the definer at trigger activation time to execute the trigger
            (if the definer loses TRIGGER privilege on the subject table, all its
            triggers on this table become unavailable).
        - SUPER privilege is still required:
          - for the user at CREATE TRIGGER time to explicitly set the trigger
            definer to the user other than CURRENT_USER().
      
      When the server works with database of the previous version (w/o TRIGGER
      privilege), or if the database is being upgraded from the previous versions,
      TRIGGER privilege is granted to whose users, who have CREATE privilege.
      
      
      mysql-test/r/grant.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/r/information_schema.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/r/lowercase_table_grant.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/r/ps.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/r/sp.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/r/trigger-compat.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/r/trigger-grant.result:
        Updated the result file after adding TRIGGER privilege.
      mysql-test/t/trigger-compat.test:
        Grant table-level TRIGGER privilege instead of global SUPER one.
      mysql-test/t/trigger-grant.test:
        1. Grant table-level TRIGGER privilege instead of global SUPER one.
        2. Updated the test case to check that SUPER is required to specify
        the user other than the current as a definer.
      scripts/mysql_create_system_tables.sh:
        Added TRIGGER privilege.
      scripts/mysql_fix_privilege_tables.sql:
        Added TRIGGER privilege.
      sql/sql_acl.cc:
        Added TRIGGER privilege.
      sql/sql_acl.h:
        Added TRIGGER privilege.
      sql/sql_show.cc:
        Added TRIGGER privilege.
      sql/sql_trigger.cc:
        Check TRIGGER privilege instead of SUPER.
      sql/sql_yacc.yy:
        Added TRIGGER privilege.
      159d445a
    • unknown's avatar
      Wrapped get/set_ndb_share_state with mutex lock · fdc46f9f
      unknown authored
      fdc46f9f
    • unknown's avatar
    • unknown's avatar
      adjust test to give predictable output · adb9a38b
      unknown authored
      adb9a38b
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.1/new · 4228d966
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/wl1359
      
      
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/sql_show.cc:
        SCCS merged
      4228d966
    • unknown's avatar
      ensure repeatability of test case · b26a9325
      unknown authored
      b26a9325
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · bf74f346
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql51
      
      bf74f346
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 282f21fd
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql51
      
      282f21fd
    • unknown's avatar
      wl2325, distribution of schema operations between mysql servers · 012ca489
      unknown authored
      
      mysql-test/r/ndb_binlog_ddl_multi.result:
        New BitKeeper file ``mysql-test/r/ndb_binlog_ddl_multi.result''
      mysql-test/t/ndb_binlog_ddl_multi.test:
        New BitKeeper file ``mysql-test/t/ndb_binlog_ddl_multi.test''
      012ca489
  2. 31 Jan, 2006 22 commits