1. 13 Sep, 2011 3 commits
    • Joerg Bruehe's avatar
      Bug #58241 · c0678369
      Joerg Bruehe authored
      Please exclude make_binary_distribution from the distribution
      
      With cmake (5.5 and up), "make package" will do it,
      or cpack.
      The (generated) "scripts/make_binary_distribution" is just
      a wrapper around a "cpack" call,
      with path names set at build time.
      
      Similar, "make_win_bin_dist" is not needed any more.
      
      scripts/CMakeLists.txt:
        Cleanup:
        Append a trailing newline when generating "make_binary_distribution"
        (which is just a wrapper around a "cpack" call).
      support-files/mysql.spec.sh:
        "make_win_bin_dist" is removed from the sources,
        so its man page is gone,
        and it need not be removed when creating the RPMs.
      c0678369
    • Marko Mäkelä's avatar
      Merge mysql-5.1 to mysql-5.5. · ccd3bc06
      Marko Mäkelä authored
      ccd3bc06
    • Marko Mäkelä's avatar
      Hopefully final fix of Bug#11766591 59733: Possible deadlock · f15147b6
      Marko Mäkelä authored
      when buffered changes are to be discarded
      
      ibuf_add_free_page(): Lower the latching order of the newly allocated page
      to SYNC_IBUF_TREE_NODE_NEW after latching the insert buffer tree root.
      
      This bug always was bogus UNIV_SYNC_DEBUG alarm. The function
      buf_block_dbg_add_level() is a no-op unless UNIV_SYNC_DEBUG is defined.
      f15147b6
  2. 12 Sep, 2011 4 commits
    • Jonathan Perkin's avatar
      Fix typos in last. · 19e3fe75
      Jonathan Perkin authored
      19e3fe75
    • Jonathan Perkin's avatar
      Add support for RHEL6 and OL6. · d121203c
      Jonathan Perkin authored
      d121203c
    • Marko Mäkelä's avatar
      Merge mysql-5.1 to mysql-5.5. · 5c2ad740
      Marko Mäkelä authored
      5c2ad740
    • Marko Mäkelä's avatar
      Bug#12601439 CONSISTENT READ FAILURE IN COLUMN PREFIX INDEX · ae68af40
      Marko Mäkelä authored
      When there is a secondary index on a column prefix of an externally
      stored column and an entry in the secondary index is shorter than the
      reserved prefix length, it should mean that the secondary index entry
      is holding the complete column value. When comparing this secondary
      index column value to the column in the clustered index row, we must
      compare the entire prefix that was fetched from the clustered
      index. The bug was that we would just compare that the column in the
      clustered index starts with the value found in the secondary index
      column.
      
      This bug affects only the InnoDB Barracuda formats (ROW_FORMAT=DYNAMIC
      and ROW_FORMAT=COMPRESSED), in which columns that are stored off-page
      in the clustered index do not contain any prefix in the clustered
      index record.
      
      row_sel_sec_rec_is_for_blob(): Add the parameter prefix_len, for
      ifield->prefix_len. Add some assertions.
      
      Sorry, I did not manage to produce a test case. This patch does
      produce correct results on the data set that Michael isolated on our
      test machine. That was with the purge and background rollback
      suspended, because they would make the bug go away.
      
      rb:760 approved by Sunny Bains
      ae68af40
  3. 09 Sep, 2011 2 commits
  4. 08 Sep, 2011 5 commits
  5. 07 Sep, 2011 2 commits
  6. 06 Sep, 2011 10 commits
  7. 05 Sep, 2011 1 commit
  8. 02 Sep, 2011 1 commit
    • Nirbhay Choubey's avatar
      BUG#11878394 - MYSQLD_SAFE TEST FOR ALREADY RUNNING PROCESS · f2d1dce5
      Nirbhay Choubey authored
                     FAILS, CAUSING CLOBBERED SOCKET
      
      A check for running mysqld instances was failing in mysqld_safe
      because of an incorrect shell command generated by cmake. The
      problem is that cmake retains the '\' of escaped double-quote,
      so the generated mysqld_safe script's command contained \" in
      the shell command, and hence the failure. 
      
      Fixed the command in scripts\CMakeLists.txt.
      
      
      scripts/CMakeLists.txt:
        BUG#1878394 - MYSQLD_SAFE TEST FOR ALREADY RUNNING PROCESS
                      FAILS, CAUSING CLOBBERED SOCKET
        
        Removed the escaped quotes and grep for 'grep process' from
        the shell commands.
      f2d1dce5
  9. 01 Sep, 2011 1 commit
    • Marko Mäkelä's avatar
      Bug#12547647 UPDATE LOGGING COULD EXCEED LOG PAGE SIZE · 0b622343
      Marko Mäkelä authored
      This fix was accidentally pushed to mysql-5.1 after the 5.1.59 clone-off in
      bzr revision id marko.makela@oracle.com-20110829081642-z0w992a0mrc62s6w
      with the fix of Bug#12704861 Corruption after a crash during BLOB update
      but not merged to mysql-5.5 and upwards.
      
      In the Barracuda formats, the clustered index record no longer
      contains a prefix of off-page columns. Because of this, the undo log
      must contain these prefixes, so that purge and multi-versioning will
      continue to work. However, this also means that an undo log record can
      become too big to fit in an undo log page. (It is a limitation of the
      undo log that undo records cannot span across multiple pages.)
      
      In case the checks for undo log size fail when CREATE TABLE or CREATE
      INDEX is executed, we need a fallback that blocks a modification
      operation when the undo log record would exceed the maximum size.
      
      trx_undo_free_last_page_func(): Renamed from trx_undo_free_page_in_rollback().
      Define the trx_t parameter only in debug builds.
      
      trx_undo_free_last_page(): Wrapper for trx_undo_free_last_page_func().
      Pass the trx_t parameter only in debug builds.
      
      trx_undo_truncate_end_func(): Renamed from trx_undo_truncate_end().
      Define the trx_t parameter only in debug builds. Rewrite a for(;;) loop
      as a while loop for clarity.
      
      trx_undo_truncate_end(): Wrapper for from trx_undo_truncate_end_func().
      Pass the trx_t parameter only in debug builds.
      
      trx_undo_erase_page_end(): Return TRUE if the page was non-empty
      to begin with. Refuse to erase empty pages.
      
      trx_undo_report_row_operation(): If the page for which the undo log
      was too big was empty, free the undo page and return DB_TOO_BIG_RECORD.
      
      rb:749 approved by Inaam Rana
      0b622343
  10. 31 Aug, 2011 1 commit
  11. 30 Aug, 2011 10 commits