1. 09 Feb, 2011 10 commits
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · 4d48df70
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3507.1.26
      > revision-id: mattias.jonsson@oracle.com-20101201112046-2ugtweya0dltcrys
      > parent: nirbhay.choubey@sun.com-20101201065531-w2f0j3g5yzok8z9x
      > committer: Mattias Jonsson <mattias.jonsson@oracle.com>
      > branch nick: b56380-51-bt
      > timestamp: Wed 2010-12-01 12:20:46 +0100
      > message:
      >   Bug#56380: valgrind memory leak warning from partition tests
      >   
      >   There could be memory leaks if ALTER ... PARTITION command fails.
      >   
      >   Problem was that the list of items to free was not set in
      >   the partition info structure when fix_partition_func call failed
      >   during ALTER ... PARTITION.
      >   
      >   Solved by always setting the list in the partition info struct.
      4d48df70
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · 6b2f2d64
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3504
      > revision-id: svoj@oracle.com-20101111100317-3bjzbj6c2ihfzb9t
      > parent: dmitry.shulga@oracle.com-20101111045251-jl1spfh3xjti1sll
      > committer: Sergey Vojtovich <svoj@oracle.com>
      > branch nick: mysql-5.1-bugteam-bug58079
      > timestamp: Thu 2010-11-11 13:03:17 +0300
      > message:
      >   BUG#58079 - Remove the IBM DB2 storage engine
      6b2f2d64
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · 4040138e
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3496.1.39
      > revision-id: jon.hauglid@oracle.com-20101019081957-zf2ohl7wgnhvnnb0
      > parent: tor.didriksen@oracle.com-20101019070648-jhi9ezq3b5qk4wcm
      > committer: Jon Olav Hauglid <jon.hauglid@oracle.com>
      > branch nick: mysql-5.1-bugteam-bug57274
      > timestamp: Tue 2010-10-19 10:19:57 +0200
      > message:
      >   Bug #57274 SET GLOBAL debug crashes on Solaris in embedded server mode
      >              (variables_debug fails)
      >   
      >   The problem was that "SET GLOBAL debug" could cause a crash on Solaris.
      >   The crash happened if the server failed to open the trace file given in 
      >   the "SET GLOBAL debug" statement. This caused an error message to be
      >   printed to stderr containing the process name. However, printing to
      >   stderr crashed the server since the pointer to the process name had
      >   not been initialized.
      >   
      >   This patch fixes the problem by initializing the process name 
      >   properly when doing "SET GLOBAL debug".
      >   
      >   No test case added as this bug was repeatable with existing test
      >   coverage in variables_debug.test.
      4040138e
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · 623a2254
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3452.17.1
      > revision-id: mattias.jonsson@oracle.com-20101005125751-ds92svhhb13ds8ri
      > parent: sergey.glukhov@sun.com-20101004085126-ia6veky4w6j87i43
      > committer: Mattias Jonsson <mattias.jonsson@oracle.com>
      > branch nick: b55091-51-security
      > timestamp: Tue 2010-10-05 14:57:51 +0200
      > message:
      >   Bug#55091: Server crashes on ADD PARTITION after a failed attempt
      >   
      >   In case of failure in ALTER ... PARTITION under LOCK TABLE
      >   the server could crash, due to it had modified the locked
      >   table object, which was not reverted in case of failure,
      >   resulting in a bad table definition used after the failed
      >   command.
      >   
      >   Solved by always closing the LOCKED TABLE, even in case
      >   of error.
      >   
      >   Note: this is a 5.1-only fix, bug#56172 fixed it in 5.5+
      623a2254
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · 13d4da72
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3452.13.54
      > revision-id: oystein.grovlen@oracle.com-20110112093715-tc076voaxwblqk8v
      > parent: georgi.kodinov@oracle.com-20110110130833-1c9q21mr7zoq07vg
      > committer: Oystein Grovlen <oystein.grovlen@oracle.com>
      > branch nick: mysql-5.1-security
      > timestamp: Wed 2011-01-12 10:37:15 +0100
      > message:
      >   Bug#59211: Select Returns Different Value for min(year) Function
      >   
      >   get_year_value() contains code to convert 2-digits year to
      >   4-digits.  The fix for Bug#49910 added a check on the size of
      >   the underlying field so that this conversion is not done for
      >   YEAR(4) values. (Since otherwise one would convert invalid
      >   YEAR(4) values to valid ones.)
      >   
      >   The existing check does not work when Item_cache is used, since
      >   it is not detected when the cache is based on a Field.  The
      >   reported change in behavior is due to Bug#58030 which added
      >   extra cached items in min/max computations.
      >   
      >   The elegant solution would be to implement
      >   Item_cache::real_item() to return the underlying Item.
      >   However, some side effects are observed (change in explain
      >   output) that indicates that such a change is not straight-
      >   forward, and definitely not appropriate for an MRU.
      >   
      >   Instead, a Item_cache::field() method has been added in order
      >   to get access to the underlying field.  (This field() method
      >   eliminates the need for Item_cache::eq_def() used in
      >   test_if_ref(), but in order to limit the scope of this fix,
      >   that code has been left as is.)
      13d4da72
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · dc976fa7
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3452.13.4 [merge]
      > revision-id: mmakela@bk-internal.mysql.com-20101011192851-u3bdt7erjkrgn90t
      > parent: marko.makela@oracle.com-20101011081800-sby6kmb8n1mnryfq
      > parent: jimmy.yang@oracle.com-20101011123613-guz1qgdktywmel1g
      > committer: Marko Makela <mmakela@bk-internal.mysql.com>
      > branch nick: mysql-5.1-security
      > timestamp: Mon 2010-10-11 21:28:51 +0200
      > message:
      >   Merge Bug #57345, Bug #56982, Bug#53307 test from mysql-5.1-innodb
      > ------------------------------------------------------------
      > Use --include-merges or -n0 to see merged revisions.
      dc976fa7
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · ea0b00ec
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 3351.14.280
      > revision-id: inaam.rana@oracle.com-20101026205418-aq835zpvxdskdf4c
      > parent: jimmy.yang@oracle.com-20101025055121-j319j363abfgdh6n
      > committer: Inaam Rana <inaam.rana@oracle.com>
      > branch nick: mysql-5.1-innodb
      > timestamp: Tue 2010-10-26 16:54:18 -0400
      > message:
      >   Bug #57611	ibdata file and continuous growing undo logs
      >   rb://498
      >   
      >   Fix handling of update_undo_logs at trx commit. Previously, when
      >   rseg->update_undo_list grows beyond 500 the update_undo_logs were
      >   marked with state TRX_UNDO_TO_FREE which should have been
      >   TRX_UNDO_TO_PURGE.
      >   
      >   Approved by: Sunny Bains
      ea0b00ec
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · d6a81c3e
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 1810.3987.44
      > revision-id: alexander.nozdrin@oracle.com-20101124095339-oatpqq684jpbbso2
      > parent: alexander.nozdrin@oracle.com-20101122132749-tl6m39zsfgvzi2mf
      > committer: Alexander Nozdrin <alexander.nozdrin@oracle.com>
      > branch nick: mysql-5.0-bugteam
      > timestamp: Wed 2010-11-24 12:53:39 +0300
      > message:
      >   A follow-up for Bug#58340 (Remove Server GPL EXCEPTIONS-CLIENT file) -- remove all
      >   EXCEPTIONS-CLIENT from all the places.
      d6a81c3e
    • MySQL Build Team's avatar
      Backport into build-201102032246-5.1.52sp1 · 08c03d7a
      MySQL Build Team authored
      > ------------------------------------------------------------
      > revno: 1810.3987.43
      > revision-id: alexander.nozdrin@oracle.com-20101122132749-tl6m39zsfgvzi2mf
      > parent: alexander.nozdrin@oracle.com-20101122132550-hcu608iuq5un9k0q
      > committer: Alexander Nozdrin <alexander.nozdrin@oracle.com>
      > branch nick: mysql-5.0-bugteam
      > timestamp: Mon 2010-11-22 16:27:49 +0300
      > message:
      >   Patch for Bug#58340 (Remove Server GPL EXCEPTIONS-CLIENT file).
      08c03d7a
    • unknown's avatar
      Set version number for mysql-5.1.52sp1 release · b47cb3f2
      unknown authored
      b47cb3f2
  2. 11 Oct, 2010 1 commit
  3. 06 Oct, 2010 2 commits
  4. 05 Oct, 2010 8 commits
  5. 04 Oct, 2010 5 commits
  6. 03 Oct, 2010 2 commits
  7. 01 Oct, 2010 8 commits
  8. 30 Sep, 2010 4 commits
    • Mattias Jonsson's avatar
      Bug#55458: Partitioned MyISAM table gets crashed by multi-table update · 381ac868
      Mattias Jonsson authored
      Bug#57113: ha_partition::extra(ha_extra_function):
                  Assertion `m_extra_cache' failed
      
      Fix for bug#55458 included DBUG_ASSERTS causing
      debug builds of the server to crash on
      another multi-table update.
      
      Removed the asserts since they where wrong.
      (updated after testing the patch in 5.5).
      
      mysql-test/r/partition.result:
        updated result
      mysql-test/t/partition.test:
        Added test for bug#57113
      sql/ha_partition.cc:
        Removed the assert for m_extra_cache when
        ::extra(HA_PREPARE_FOR_UPDATE) was called.
      381ac868
    • Vasil Dimov's avatar
      Fix Bug#56340 innodb updates index stats too frequently after non-index updates · 67ede32e
      Vasil Dimov authored
      This is a simple optimization issue. All stats are related to only indexed
      columns, index size or number of rows in the whole table. UPDATEs that touch
      only non-indexed columns cannot affect stats and we can avoid calling the
      function row_update_statistics_if_needed() which may result in unnecessary I/O.
      
      Approved by:	Marko (rb://466)
      67ede32e
    • Bjorn Munch's avatar
      Bug #52828 Tests that use perl fail when perl is not in path · a09aadc7
      Bjorn Munch authored
      Trying to run perl fails, just like it does when perl is started but fails
      Trap the case that perl was not found/could not be started, and skip test
      Also force a restart of servers since test may already have done something
      mtr now also appends path of current perl to PATH to aid mysqltest
      a09aadc7
    • Vasil Dimov's avatar
      Fix a potential bug when using __sync_lock_test_and_set() · e6eeaa87
      Vasil Dimov authored
      TYPE __sync_lock_test_and_set (TYPE *ptr, TYPE value, ...)
      
      it is not documented what happens if the two arguments are of different
      type like it was before: the first one was lock_word_t (byte) and the
      second one was 1 or 0 (int).
      
      Approved by:	Marko (via IRC)
      e6eeaa87