1. 04 Aug, 2009 3 commits
    • marko's avatar
      7aead512
    • vasil's avatar
      branches/zip: · 6411d47d
      vasil authored
      Revert the dummy change from c5625.
      6411d47d
    • vasil's avatar
      branches/zip: Merge 5518:5622 from branches/5.1, resolving conflict in r5622 · 9f4ddc4f
      vasil authored
      (after resolving the conflict Makefile.am was not changed so I have made
      a dummy change so I can commit and thus record that branches/5.1 has been
      merged in branches/zip up to 5622):
      
        ------------------------------------------------------------------------
        r5622 | vasil | 2009-08-03 15:27:00 +0300 (Mon, 03 Aug 2009) | 20 lines
        Changed paths:
           M /branches/5.1/Makefile.am
        
        branches/5.1:
        
        Merge a change from MySQL:
        
          ------------------------------------------------------------
          revno: 2988
          committer: Satya B <satya.bn@sun.com>
          branch nick: mysql-5.1-bugteam
          timestamp: Wed 2009-07-01 11:06:05 +0530
          message:
            Fix build failure after applying Innodb snapshot 5.1-ss5282
            
            After applying Innodb snapshot 5.1-ss5282, build was broken
            because of missing header file. 
            
            Adding the header file to Makefile.am after informing the 
            innodb developers.
          modified:
            storage/innobase/Makefile.am
        
        ------------------------------------------------------------------------
      9f4ddc4f
  2. 31 Jul, 2009 1 commit
    • vasil's avatar
      branches/zip: · dd318eea
      vasil authored
      Add fsp0types.h to the list of noinst_HEADERS
      
      Suggested by:	Sergey Vojtovich <svoj@sun.com>
      dd318eea
  3. 21 Jul, 2009 2 commits
    • vasil's avatar
      branches/zip: · e0ea9e3f
      vasil authored
      Add a test program to check whether the PAUSE instruction is available.
      e0ea9e3f
    • vasil's avatar
      branches/zip: · b33535ef
      vasil authored
      Fixups in ChangeLog: sort filenames alphabetically and wrap to 78 chars per
      line.
      b33535ef
  4. 20 Jul, 2009 8 commits
    • sunny's avatar
    • calvin's avatar
      branches/zip: add ChangeLog entry for r5524. · e51056a8
      calvin authored
      e51056a8
    • inaam's avatar
      branches/zip · c34ab748
      inaam authored
      Change the read ahead parameter name to innodb_read_ahead_threshold.
      Change the meaning of this parameter to signify the number of pages
      that must be sequentially accessed for InnoDB to trigger a readahead
      request.
      
      Suggested by: Ken
      c34ab748
    • vasil's avatar
      branches/zip: · 17c8f392
      vasil authored
      Add ChangeLog entries for r5498 and r5519.
      17c8f392
    • vasil's avatar
      branches/zip: Merge r5497:5518 from branches/5.1: · 667afaf1
      vasil authored
        ------------------------------------------------------------------------
        r5518 | vasil | 2009-07-20 11:29:47 +0300 (Mon, 20 Jul 2009) | 22 lines
        Changed paths:
           M /branches/5.1/handler/ha_innodb.cc
        
        branches/5.1:
        
        Merge a change from MySQL:
        
          ------------------------------------------------------------
          revno: 2874.2.1
          committer: Anurag Shekhar <anurag.shekhar@sun.com>
          branch nick: mysql-5.1-bugteam-windows-warning
          timestamp: Wed 2009-05-13 15:41:24 +0530
          message:
            Bug #39802 On Windows, 32-bit time_t should be enforced
            
            This patch fixes compilation warning, "conversion from 'time_t' to 'ulong', 
            possible loss of data". 
            The fix is to typecast time_t to ulong before assigning it to ulong. 
            Backported this from 6.0-bugteam tree.
          modified:
            storage/archive/ha_archive.cc
            storage/federated/ha_federated.cc
            storage/innobase/handler/ha_innodb.cc
            storage/myisam/ha_myisam.cc
        
        ------------------------------------------------------------------------
      667afaf1
    • sunny's avatar
      Add /* UNIV_HOTBACK */ · 3c0b7614
      sunny authored
      3c0b7614
    • sunny's avatar
      branches/zip: Make this file usable from within HotBackup. A new file has · 64b5315e
      sunny authored
      been introduced called hb_univ.i. This file should have all the HotBackup
      specific configuration.
      64b5315e
    • sunny's avatar
  5. 19 Jul, 2009 3 commits
  6. 16 Jul, 2009 2 commits
  7. 15 Jul, 2009 1 commit
  8. 14 Jul, 2009 6 commits
    • vasil's avatar
      branches/zip: · 863103c5
      vasil authored
      Non-functional change:
      put files in noinst_HEADERS and libinnobase_a_SOURCES one per line and sort
      alphabetically, so it is easier to find if a file is there or not and
      also diffs show exactly the added or removed file instead of surrounding
      lines too.
      863103c5
    • vasil's avatar
      branches/zip: · 6b06e74a
      vasil authored
      Add include/ut0auxconf.h to noinst_HEADERS
      6b06e74a
    • vasil's avatar
      branches/zip: · 456efb03
      vasil authored
      Add @ZLIB_INCLUDES@ so that the InnoDB Plugin picks up the same zlib.h
      header file that is eventually used by mysqld.
      456efb03
    • calvin's avatar
      branches/zip: minor change · b8f488a2
      calvin authored
      Remove an extra "with".
      b8f488a2
    • calvin's avatar
      branches/zip: add a missing file in Makefile.am · add833a5
      calvin authored
      This change was suggested by MySQL.
      add833a5
    • vasil's avatar
      branches/zip: Merge r5341:5497 from branches/5.1, skipping: · 8d57fae2
      vasil authored
      c5419 because it is merge from branches/zip into branches/5.1
      c5466 because the source code has been adjusted to match the MySQL
        behavior and the innodb-autoinc test does not fail in branches/zip,
        if c5466 is merged, then innodb-autoinc starts failing, Sunny suggested
        not to merge c5466.
      and resolving conflicts in c5410, c5440, c5488:
      
        ------------------------------------------------------------------------
        r5410 | marko | 2009-06-24 22:26:34 +0300 (Wed, 24 Jun 2009) | 2 lines
        Changed paths:
           M /branches/5.1/include/trx0sys.ic
           M /branches/5.1/trx/trx0purge.c
           M /branches/5.1/trx/trx0sys.c
           M /branches/5.1/trx/trx0undo.c
        
        branches/5.1: Add missing #include "mtr0log.h" to avoid warnings
        when compiling with -DUNIV_MUST_NOT_INLINE.
        ------------------------------------------------------------------------
        r5419 | marko | 2009-06-25 16:11:57 +0300 (Thu, 25 Jun 2009) | 18 lines
        Changed paths:
           M /branches/5.1/handler/ha_innodb.cc
           M /branches/5.1/mysql-test/innodb_bug42101-nonzero.result
           M /branches/5.1/mysql-test/innodb_bug42101-nonzero.test
           M /branches/5.1/mysql-test/innodb_bug42101.result
           M /branches/5.1/mysql-test/innodb_bug42101.test
        
        branches/5.1: Merge r5418 from branches/zip:
        
          ------------------------------------------------------------------------
          r5418 | marko | 2009-06-25 15:55:52 +0300 (Thu, 25 Jun 2009) | 5 lines
          Changed paths:
             M /branches/zip/ChangeLog
             M /branches/zip/handler/ha_innodb.cc
             M /branches/zip/mysql-test/innodb_bug42101-nonzero.result
             M /branches/zip/mysql-test/innodb_bug42101-nonzero.test
             M /branches/zip/mysql-test/innodb_bug42101.result
             M /branches/zip/mysql-test/innodb_bug42101.test
          
          branches/zip: Fix a race condition caused by
          SET GLOBAL innodb_commit_concurrency=DEFAULT. (Bug #45749)
          When innodb_commit_concurrency is initially set nonzero,
          DEFAULT would change it back to 0, triggering Bug #42101.
          rb://139 approved by Heikki Tuuri.
          ------------------------------------------------------------------------
        ------------------------------------------------------------------------
        r5440 | vasil | 2009-06-30 13:04:29 +0300 (Tue, 30 Jun 2009) | 8 lines
        Changed paths:
           M /branches/5.1/fil/fil0fil.c
        
        branches/5.1:
        
        Fix Bug#45814 URL reference in InnoDB server errors needs adjusting to match documentation
        
        by changing the URL from
        http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html to
        http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting-datadict.html
        
        ------------------------------------------------------------------------
        r5466 | vasil | 2009-07-02 10:46:45 +0300 (Thu, 02 Jul 2009) | 6 lines
        Changed paths:
           M /branches/5.1/mysql-test/innodb-autoinc.result
           M /branches/5.1/mysql-test/innodb-autoinc.test
        
        branches/5.1:
        
        Adjust the failing innodb-autoinc test to conform to the latest behavior
        of the MySQL code. The idea and the comment in innodb-autoinc.test come
        from Sunny.
        
        ------------------------------------------------------------------------
        r5488 | vasil | 2009-07-09 19:16:44 +0300 (Thu, 09 Jul 2009) | 13 lines
        Changed paths:
           M /branches/5.1/handler/ha_innodb.cc
           A /branches/5.1/mysql-test/innodb_bug21704.result
           A /branches/5.1/mysql-test/innodb_bug21704.test
        
        branches/5.1:
        
        Fix Bug#21704 Renaming column does not update FK definition
        
        by checking whether a column that participates in a FK definition is being
        renamed and denying the ALTER in this case.
        
        The patch was originally developed by Davi Arnaut <Davi.Arnaut@Sun.COM>:
        http://lists.mysql.com/commits/77714
        and was later adjusted to conform to InnoDB coding style by me (Vasil),
        I also added some more comments and moved the bug specific mysql-test to
        a separate file to make it more manageable and flexible.
        
        ------------------------------------------------------------------------
      8d57fae2
  9. 13 Jul, 2009 4 commits
    • calvin's avatar
      branches/zip: fix run-time symbols clash on Solaris. · 0e71cfd9
      calvin authored
      This patch is from Sergey Vojtovich of Sun Microsystems,
      to fix run-time symbols clash on Solaris with older C++
      compiler:
      - when finding out a way to hide symbols, make decision basing
        on compiler, not operating system.
      - Sun Studio supports __hidden declaration specifier for this
        purpose.
      0e71cfd9
    • inaam's avatar
      branches/zip · 9af090cb
      inaam authored
      Fixed warnings on windows where ulint != ib_uint64_t
      9af090cb
    • inaam's avatar
      branches/zip rb://138 (REVERT) · ec40f5cd
      inaam authored
      Revert the flush neighbors patch as it shows regression in
      the benchmarks run by Michael.
      ec40f5cd
    • vasil's avatar
      branches/zip: · f1f529dd
      vasil authored
      Restore the original value of innodb_sync_spin_loops at the end, previously
      the test assumed that setting it to 20 will do this, but now the default is
      30 and MTR's internal check failed.
      f1f529dd
  10. 10 Jul, 2009 4 commits
  11. 08 Jul, 2009 2 commits
    • calvin's avatar
      branches/zip: fix PAUSE instruction patch on Windows · c09f41f6
      calvin authored
      The original PAUSE instruction patch (r5470) does not
      compile on Windows. Also, there is an elegant way of
      doing it on Windows - YieldProcessor().
      
      Approved by: Heikki (on IM)
      c09f41f6
    • inaam's avatar
      branches/zip rb://133 · 43fceb74
      inaam authored
      This patch introduces heuristics based flushing rate of dirty pages to
      avoid IO bursts at checkpoint.
      
      1) log_capacity / log_generated per second gives us number of seconds
      in which ALL dirty pages need to be flushed. Based on this rough
      assumption we can say that
      n_dirty_pages / (log_capacity / log_generation_rate) = desired_flush_rate
      
      2) We use weighted averages (hard coded to 20 seconds) of
      log_generation_rate to avoid resonance.
      
      3) From the desired_flush_rate we subtract the number of pages that have
      been flushed due to LRU flushing. That gives us pages that we should
      flush as part of flush_list cleanup. And that is the number (capped by
      maximum io_capacity) that we try to flush from the master thread.
      
      Knobs:
      ======
      
      innodb_adaptive_flushing: boolean, global, dynamic, default TRUE.
      Since this heuristic is very experimental and has the potential to
      dramatically change the IO pattern I think it is a good idea to leave a
      knob to turn it off.
      
      Approved by: Heikki
      43fceb74
  12. 07 Jul, 2009 3 commits
    • inaam's avatar
      branches/zip rb://138 · 449e6af3
      inaam authored
      The current implementation is to try to flush the neighbors of every
      page that we flush. This patch makes the following distinction:
      
      1) If the flush is from flush_list AND
      2) If the flush is intended to move the oldest_modification LSN ahead
      (this happens when a user thread sees little space in the log file and
      attempts to flush pages from the buffer pool so that a checkpoint can
      be made)
      
      THEN
      
      Do not try to flush the neighbors. Just focus on flushing dirty pages at
      the end of flush_list
      
      Approved by: Heikki
      449e6af3
    • inaam's avatar
      branches/zip rb://126 · 46211114
      inaam authored
      Based on contribution from Google Inc.
      This patch introduces a new parameter innodb_io_capacity to control the
      rate at which master threads performs various tasks. The default value
      is 200 and higher values imply more aggressive flushing and ibuf merges
      from within the master thread.
      This patch also changes the ibuf merge from synchronous to asynchronous.
      Another minor change is not to force the master thread to wait for a
      log flush to complete every second.
      
      Approved by: Heikki
      46211114
    • calvin's avatar
      branches/zip: add IB_HAVE_PAUSE_INSTRUCTION to CMake. · b495b79f
      calvin authored
      Windows will support PAUSE instruction by default.
      b495b79f
  13. 06 Jul, 2009 1 commit