1. 29 Jun, 2006 36 commits
  2. 28 Jun, 2006 4 commits
    • kroki@mysql.com's avatar
      Merge mysql.com:/home/tomash/src/mysql_ab/mysql-5.0 · 9c3805c9
      kroki@mysql.com authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.0-bug10946
      9c3805c9
    • kroki@mysql.com's avatar
      Bug#10946: Confusing error messeges in the case of duplicate trigger definition · 3e2e20ec
      kroki@mysql.com authored
      It was hard to distinguish case, when one was unable to create trigger
      on the table because trigger with same action time and event already
      existed for this table, from the case, when one tried to create trigger
      with name which was already occupied by some other trigger, since in
      both these cases we emitted ER_TRG_ALREADY_EXISTS error and message.
      Now we emit ER_NOT_SUPPORTED_YET error with appropriate additional
      message in the first case. There is no sense in introducing separate
      error for this situation since we plan to get rid of this limitation
      eventually.
      3e2e20ec
    • konstantin@mysql.com's avatar
      A fix for Bug#19022 "Memory bug when switching db during trigger execution". · 55d148c5
      konstantin@mysql.com authored
      No test case as the bug is in an existing test case (rpl_trigger.test
      when it is run under valgrind).
      The warning was caused by memory corruption in replication slave: thd->db
      was pointing at a stack address that was previously used by 
      sp_head::execute()::old_db. This happened because mysql_change_db
      behaved differently in replication slave and did not make a copy of the 
      argument to assign to thd->db. 
      The solution is to always free the old value of thd->db and allocate a new
      copy, regardless whether we're running in a replication slave or not.
      55d148c5
    • patg@govinda.patg.net's avatar
      BUG #19773 · 18d264a1
      patg@govinda.patg.net authored
      Pushbuild fixes to result file, test, and header file for federated.
      18d264a1