1. 10 Feb, 2006 1 commit
  2. 09 Feb, 2006 1 commit
    • unknown's avatar
      Makefile.am: · e653fbc3
      unknown authored
        Link with CLIENT_EXTRA_LDFLAGS, enable us to
        pass on libtool flags '-full-static' and '-static'
        using '--with-client-ldflags' to configure.
      mysql.spec.sh:
        Pass '-static' to libtool, link static with our
        own libraries, dynamic with system libraries.
        Link with the bundled zlib.
      
      
      support-files/mysql.spec.sh:
        Pass '-static' to libtool, link static with our
        own libraries, dynamic with system libraries.
        Link with the bundled zlib.
      server-tools/instance-manager/Makefile.am:
        Link with CLIENT_EXTRA_LDFLAGS, enable us to
        pass on libtool flags '-full-static' and '-static'
        using '--with-client-ldflags' to configure.
      e653fbc3
  3. 08 Feb, 2006 4 commits
  4. 07 Feb, 2006 8 commits
  5. 06 Feb, 2006 4 commits
  6. 02 Feb, 2006 5 commits
    • unknown's avatar
      Copied patch for BUG#15588 (BUG#16621) from 5.0 into 5.1-release. · 733b1c40
      unknown authored
      
      sql/field.cc:
        Use memmove() instead of memcpy() -- after implementation of WL#2984
        (Make stored routine variables work according to the standard) it is
        possible to store in the field the value from this field. For instance,
        this can happen for the following statement:
          SET sp_var = SUBSTR(sp_var, 1, 3);
      sql/sp_head.cc:
        Work correctly with String:
        - String length has to be be reset before use;
        - qs_append() does not allocate memory, so the memory should
          be reserved beforehand.
      733b1c40
    • unknown's avatar
      storage/example/ha_example.cc · 16a849f2
      unknown authored
          Copied from the general tree, to solve a build problem:
          ChangeSet 1.2121.1.5 2006/02/02 11:02:09 stewart@mysql.com
            build fix when building with example storage engine.
      
      
      storage/example/ha_example.cc:
        Copied from the general tree, to solve a build problem:
        ChangeSet 1.2121.1.5 2006/02/02 11:02:09 stewart@mysql.com
          build fix when building with example storage engine.
      16a849f2
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release/ · a5295c9b
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.1-bfix
      
      
      a5295c9b
    • unknown's avatar
      Yet another addition to the fix for BUG#9412 "Triggers: should have trigger · c20d9474
      unknown authored
      privilege".
      
      Corrected addition of TRIGGER privilege by "mysql_fix_privilege_tables" script.
      Problem with it should have been caught by system_mysql_db/system_mysql_db_fix
      tests but they were disabled. Enabled them back.
      
      
      mysql-test/r/system_mysql_db.result:
        Updated test results after addition of TRIGGER privilege.
      mysql-test/t/disabled.def:
        Enabled back test system_mysql_db/system_mysql_db_fix tests.
      scripts/mysql_fix_privilege_tables.sql:
        Corrected addition of TRIGGER privilege.
      c20d9474
    • unknown's avatar
  7. 01 Feb, 2006 17 commits
    • unknown's avatar
      Bug #16753 DD: mysqldump does not support Cluster Disk Data backups · e319fb89
      unknown authored
      
      mysql-test/r/ndb_dd_dump.result:
        New BitKeeper file ``mysql-test/r/ndb_dd_dump.result''
      mysql-test/t/ndb_dd_dump.test:
        New BitKeeper file ``mysql-test/t/ndb_dd_dump.test''
      e319fb89
    • unknown's avatar
      66581f5d
    • unknown's avatar
      d8acfecb
    • unknown's avatar
    • unknown's avatar
      Addition to the fix for BUG#9412 "Triggers: should have trigger privilege". · 02296b58
      unknown authored
      When we add new privilege we should update mysql-test/lib/init_db.sql
      accordingly.
      
      
      mysql-test/lib/init_db.sql:
        Added TRIGGER privilege.
      sql/sql_acl.h:
        Updated comment describing process of addition of new privileges - added yet
        another script place which should be modified when new privilege is added.
      02296b58
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.1-release · 60ce9b7c
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.1/tmp_merge
      
      
      60ce9b7c
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.1/wl1359 · c59e5f82
      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
      c59e5f82
    • unknown's avatar
      some fixes from review of WL1359. · 9be61bbc
      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
      9be61bbc
    • unknown's avatar
      Change 5.1.6 from alpha to beta release · 41849b9c
      unknown authored
      41849b9c
    • unknown's avatar
      590ca269
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 1fd551ad
      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
      1fd551ad
    • unknown's avatar
      another attempt to make testcase predictable :) · bd9bb91a
      unknown authored
      bd9bb91a
    • unknown's avatar
      7c55e7d2
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 0b88ef9d
      unknown authored
      into  mysql.com:/mnt/hda4/home/alik/MySQL/devel/5.1-bug9412-latest
      
      
      0b88ef9d
    • unknown's avatar
      Fix for BUG#9412: Triggers: should have trigger privilege. · 6aaed733
      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.
      6aaed733