1. 16 Jan, 2012 2 commits
  2. 12 Jan, 2012 4 commits
  3. 11 Jan, 2012 4 commits
  4. 10 Jan, 2012 5 commits
  5. 06 Jan, 2012 4 commits
  6. 05 Jan, 2012 1 commit
  7. 04 Jan, 2012 1 commit
  8. 03 Jan, 2012 1 commit
  9. 02 Jan, 2012 2 commits
  10. 29 Dec, 2011 5 commits
  11. 28 Dec, 2011 2 commits
    • Marko Mäkelä's avatar
      Merge mysql-5.1 to mysql-5.5. · c1f5243e
      Marko Mäkelä authored
      c1f5243e
    • Marko Mäkelä's avatar
      Bug#13418934 REMOVE HAVE_PURIFY DEPENDENCES FROM INNODB · a290a844
      Marko Mäkelä authored
      InnoDB: Remove HAVE_purify, UNIV_INIT_MEM_TO_ZERO, UNIV_SET_MEM_TO_ZERO.
      
      The compile-time setting HAVE_purify can mask potential bugs.
      It is being set in PB2 Valgrind runs. We should simply get rid of it,
      and replace it with UNIV_MEM_INVALID() to declare uninitialized memory
      as such in Valgrind-instrumented binaries.
      
      os_mem_alloc_large(), ut_malloc_low(): Remove the parameter set_to_zero.
      
      ut_malloc(): Define as a macro that invokes ut_malloc_low().
      
      buf_pool_init(): Never initialize the buffer pool frames. All pages
      must be initialized before flushing them to disk.
      
      mem_heap_alloc(): Never initialize the allocated memory block.
      
      os_mem_alloc_nocache(), ut_test_malloc(): Unused function, remove.
      
      rb:813 approved by Jimmy Yang
      a290a844
  12. 26 Dec, 2011 1 commit
  13. 24 Dec, 2011 1 commit
  14. 23 Dec, 2011 5 commits
    • Nirbhay Choubey's avatar
      Bug#12809202 61854: MYSQLDUMP --SINGLE-TRANSACTION · a4343d56
      Nirbhay Choubey authored
                   --FLUSH-LOG BREAKS CONSISTENCY
      
      The transaction started by mysqldump gets committed
      implicitly when flush-log is specified along with
      single-transaction option, and hence can break
      consistency.
      
      This is because, COM_REFRESH is executed in order
      to flush logs and starting from 5.5 this command
      performs an implicit commit.
      
      Fixed by making sure that COM_REFRESH is executed
      before the transaction has started and not after it.
      
      Note : This patch triggers following behavioral
             changes in mysqldump :
      
      1) After this patch we no longer flush logs before
         dumping each database if --single-transaction
         option is given like it was done before (in the
         absence of --lock-all-tables and --master-data
         options).
      
      2) Also, after this patch, we start acquiring
         FTWRL before flushing logs in cases when only
         --single-transaction and --flush-logs are given.
         It becomes safe to use mysqldump with these two
         options and without --master-data parameter for
         backups.
      a4343d56
    • Ramil Kalimullin's avatar
      Auto-merge from mysql-5.1. · 74a8331c
      Ramil Kalimullin authored
      74a8331c
    • Ramil Kalimullin's avatar
      Fix for bug#11758931 - 51196: SLAVE SQL: GOT AN ERROR WRITING · 5e6ff79a
      Ramil Kalimullin authored
      COMMUNICATION PACKETS, ERROR_CODE: 1160
      
      Addendum: for some queries table->in_use might be NULL -
      check it.
      5e6ff79a
    • Ramil Kalimullin's avatar
      Auto-merge from mysq-5.1. · 4b0eb436
      Ramil Kalimullin authored
      4b0eb436
    • Ramil Kalimullin's avatar
      Fix for bug#11758931 - 51196: SLAVE SQL: GOT AN ERROR WRITING · 2a21a662
      Ramil Kalimullin authored
      COMMUNICATION PACKETS, ERROR_CODE: 1160
      
      If idle FEDERATED table is evicted from the table cache when 
      a connection to remote server is lost, query that initiated 
      eviction may fail.
      If this query is executed by slave SQL thread it may fail as well.
      
      An error of close was stored in diagnostics area, which was later
      attributed to the statement that caused eviction.
      
      With this patch FEDERATED clears an error of close.
      2a21a662
  15. 22 Dec, 2011 2 commits