1. 18 Mar, 2009 15 commits
    • Sergey Petrunia's avatar
      Merge · 2c0e137f
      Sergey Petrunia authored
      2c0e137f
    • Horst Hunger's avatar
      due to merge (pull) · 02057cae
      Horst Hunger authored
      02057cae
    • Horst Hunger's avatar
    • Tatiana A. Nurnberg's avatar
      auto-merge · 21dfa5bf
      Tatiana A. Nurnberg authored
      21dfa5bf
    • Vladislav Vaintroub's avatar
      merge · faa30579
      Vladislav Vaintroub authored
      faa30579
    • Georgi Kodinov's avatar
      56944f03
    • Georgi Kodinov's avatar
      merged 5.1-main -> 5.1-bugteam · c3be25a2
      Georgi Kodinov authored
      c3be25a2
    • Guangbao Ni's avatar
      Auto-merged from 5.1-bugteam · d7dd989b
      Guangbao Ni authored
      d7dd989b
    • Guangbao Ni's avatar
      Auto-merge from 5.1-bugteam · 18b284ff
      Guangbao Ni authored
      18b284ff
    • Guangbao Ni's avatar
      Bug #42217 mysql.procs_priv does not get replicated · 15a0b9ee
      Guangbao Ni authored
      mysql.procs_priv table itself does not get replicated.
      Inserting routine privilege record into mysql.procs_priv table
      is triggered by creating function/procedure statements
      according to current user's privileges.
      Because the current user of SQL thread has GLOBAL_ACL,
      which doesn't need any check mysql.procs_priv privilege
      when create/alter/execute routines.
      Corresponding GLOBAL_ACL privilege user
      doesn't insert routine privilege record into
      mysql.procs_priv when creating a routine.
      
      Fixed by switching the current user of SQL thread to definer user if
      the definer user exists on slave.
      That populates procs_priv, otherwise to keep the SQL thread
      user and procs_priv remains unchanged.
      
      
      mysql-test/suite/rpl/r/rpl_do_grant.result:
        Test case result for routine privilege when definer user exist or not on slave
      mysql-test/suite/rpl/t/rpl_do_grant.test:
        Test case result for routine privilege when definer user exist or not on slave
      sql/sql_parse.cc:
        Switch current user of SQL thread to definer user if the definer user
        existes on slave when checking whether the routine privilege is
        needed to insert mysql.procs_priv table or not.
      15a0b9ee
    • Tatiana A. Nurnberg's avatar
      auto-merge · e8681ccb
      Tatiana A. Nurnberg authored
      e8681ccb
    • Sergey Petrunia's avatar
      Merge · 623c6584
      Sergey Petrunia authored
      623c6584
    • Satya B's avatar
      merge to 5.1-bugteam branch · 59c717e2
      Satya B authored
      59c717e2
    • Satya B's avatar
      Fix for BUG#32880 - Repairing Archive table fails with internal error 144 · 96562421
      Satya B authored
      Any statement reading corrupt archive data file
      (CHECK/REPAIR/SELECT/UPDATE/DELETE) may cause assertion
      failure in debug builds. This assertion has been removed
      and an error is returned instead.
      
      Also fixed that CHECK/REPAIR returns vague error message
      when it mets corruption in archive data file. This is
      fixed by returning proper error code.
      
      mysql-test/r/archive.result:
        A test case for BUG#32880
      mysql-test/std_data/bug32880.ARN:
        corrupted archive table to test check and repair table operation
      mysql-test/std_data/bug32880.ARZ:
        corrupted archive table to test check and repair table operation
      mysql-test/std_data/bug32880.frm:
        corrupted archive table to test check and repair table operation
      mysql-test/t/archive.test:
        A test case for BUG#32880
      storage/archive/ha_archive.cc:
        Fixed unpack_row() to return the error instead of throwing assertion 
        and also fixed repair() to throw better error when repair table
        operation fails on corrupted archive table
      96562421
    • Leonard Zhou's avatar
      Merge · 5c51eb52
      Leonard Zhou authored
      5c51eb52
  2. 17 Mar, 2009 10 commits
  3. 16 Mar, 2009 10 commits
  4. 15 Mar, 2009 2 commits
  5. 14 Mar, 2009 2 commits
  6. 13 Mar, 2009 1 commit