1. 29 Jun, 2007 1 commit
  2. 25 Jun, 2007 1 commit
    • unknown's avatar
      Bug #29247 Double free in libmysqlclient_r when mysql restarted. · 57444944
      unknown authored
      If one sets MYSQL_READ_DEFAULTS_FILE and MYSQL_READ_DEFAULT_GROUP options
      after mysql_real_connect() called with that MYSQL instance,
      these options will affect next mysql_reconnect then.
      As we use a copy of the original MYSQL object inside mysql_reconnect,
      and mysql_real_connect frees options.my_cnf_file and _group strings,
      we will free these twice when we execute mysql_reconnect with the
      same MYSQL for the second time.
      
      I don't think we should ever read defaults files handling mysql_reconnect.
      So i just set them to 0 for the temporary MYSQL object there/
      
      
      sql-common/client.c:
        Bug #29247 Double free in libmysqlclient_r when mysql restarted.
        
        we don't need mysql_real_connect to reread defaults file in this
        case, so set related parameters to zero
      57444944
  3. 22 Jun, 2007 3 commits
  4. 21 Jun, 2007 4 commits
  5. 20 Jun, 2007 5 commits
    • unknown's avatar
      fixed a (merge?) problem running the tests: · fbf0af06
      unknown authored
      now the cluster related commands have 'use db'
      in the binlog.
      
      
      fbf0af06
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · e83ee8ce
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/failed_rpl_test-5.1-opt
      
      
      e83ee8ce
    • unknown's avatar
      Merge mysql.com:/home/hf/work/28839/my50-28839 · e49e9d57
      unknown authored
      into  mysql.com:/home/hf/work/28839/my51-28839
      
      
      mysql-test/r/rpl_skip_error.result:
        Auto merged
      mysql-test/t/rpl_skip_error.test:
        Auto merged
      sql/log_event.cc:
        merging
      e49e9d57
    • unknown's avatar
      Bug #28839 Errors in strict mode silently stop SQL thread if --slave-skip-errors exists. · d5cc204e
      unknown authored
      slave_sql thread calls thd->clear_error() to force error to be ignored,
      though this method didn't clear thd->killed state, what causes
      slave_sql thread to stop.
      
      clear thd->killed state if we ignore an error
      
      
      mysql-test/r/rpl_skip_error.result:
        Bug #28839 Errors in strict mode silently stop SQL thread if --slave-skip-errors exists.
        
        test result
      mysql-test/t/rpl_skip_error.test:
        Bug #28839 Errors in strict mode silently stop SQL thread if --slave-skip-errors exists.
        
        test case
      sql/log_event.cc:
        Bug #28839 Errors in strict mode silently stop SQL thread if --slave-skip-errors exists.
        
        clear thd->killed state if we ignore the error
      d5cc204e
    • unknown's avatar
      removed undeterministic tests introduced by the fix for bug 26418 · fe3bd78e
      unknown authored
      
      mysql-test/r/rpl_innodb.result:
        removed undeterministic tests
      mysql-test/t/rpl_innodb.test:
        removed undeterministic tests
      fe3bd78e
  6. 19 Jun, 2007 10 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-opt · dc22a429
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B26418-5.1-opt
      
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      dc22a429
    • unknown's avatar
      Bug #26418: Slave out of sync after · fe593bf1
      unknown authored
       CREATE/DROP TEMPORARY TABLE + ROLLBACK on master
      
      The transaction ability of the storage engines of
      the tables on the replication master and the replication
      slave must generally be the same.
      When the storage engine type of the slave is 
      non-transactional then transactions on the master that 
      mix update of transactional and non-transactional tables
      should be avoided because they will cause inconsistency of
      the data between the master's transactional table and the
      slave's non-transactional table.
      
      The effect described by this bug is actually expected.
      A detailed test case is added (to be merged later to
      the updated rpl_ddl.test), as there was no coverage 
      by the existing tests. 
      Some code cleanup is also added by this change.
      
      
      mysql-test/r/rpl_innodb.result:
        Bug #26418: test case
      mysql-test/t/rpl_innodb.test:
        Bug #26418: test case
      sql/events.cc:
        Bug #26418: replace repeating code with a function call
      sql/sp.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_acl.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_class.cc:
        Bug #26418: remove dead code
      sql/sql_class.h:
        Bug #26418: remove dead code
      sql/sql_delete.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_parse.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_rename.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_tablespace.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_trigger.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_udf.cc:
        Bug #26418: replace repeating code with a function call
      sql/sql_view.cc:
        Bug #26418: replace repeating code with a function call
      fe593bf1
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0 · 7d16183b
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
      
      
      configure.in:
        Auto merged
      7d16183b
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1 · f6ae8e76
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
      
      
      configure.in:
        Auto merged
      f6ae8e76
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8f24e822
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0
      
      
      configure.in:
        Auto merged
      8f24e822
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0 · 37d6aba9
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
      
      
      37d6aba9
    • unknown's avatar
      try again. · 32b6fbe5
      unknown authored
      
      configure.in:
        Raise version number after cloning 5.0.44
      32b6fbe5
    • unknown's avatar
      Merge mysql.com:/home/hf/work/29117/my50-29117 · d616511e
      unknown authored
      into  mysql.com:/home/hf/work/29117/my51-29117
      
      
      sql/net_serv.cc:
        Auto merged
      d616511e
    • unknown's avatar
      Merge mysql.com:/home/hf/work/29117/my41-29117 · fcacd0b2
      unknown authored
      into  mysql.com:/home/hf/work/29117/my50-29117
      
      
      sql/net_serv.cc:
        Auto merged
      fcacd0b2
    • unknown's avatar
      Bug #29117 (init_file test crashes with embedded server) · c1cf6e61
      unknown authored
      we use net->vio in my_net_local_init, but in the my_net_init
      implementation we set it after the call, so work with unspecified
      net->vio value
      
      
      sql/net_serv.cc:
        Bug #29117 (init_file test crashes with embedded server)
        
        as we started using net->vio in my_net_local_init, we should set
        it before the call
      c1cf6e61
  7. 18 Jun, 2007 10 commits
  8. 17 Jun, 2007 6 commits