------------------------------------------------------------
revno: 2820
committer: Hery Ramilison <hery.ramilison@sun.com>
branch nick: mysql-5.0.87-release
timestamp: Thu 2009-10-15 00:40:40 +0200
message:
  Added make targets 'test-bt-fast' and 'test-bt-debug-fast'
  Put variable declaration at the beginning of a block
------------------------------------------------------------
revno: 2819
tags: clone-5.0.87-build
committer: Georgi Kodinov <joro@sun.com>
branch nick: merge-5.0-bugteam
timestamp: Tue 2009-10-06 10:32:02 +0300
message:
  version update
------------------------------------------------------------
revno: 2818
committer: Frazer Clement <frazer@mysql.com>
branch nick: mysql-5.0-bugteam
timestamp: Mon 2009-10-05 13:57:00 +0100
message:
  Bug#39663 mysqltest: --enable_info, affected_rows and ps-protocol broken
------------------------------------------------------------
revno: 2817
committer: Georgi Kodinov <joro@sun.com>
branch nick: merge-5.0-bugteam
timestamp: Sun 2009-10-04 12:00:27 +0300
message:
  automerge
    ------------------------------------------------------------
    revno: 2800.5.1
    committer: Joerg Bruehe <joerg@mysql.com>
    branch nick: push-5.0
    timestamp: Mon 2009-09-28 10:43:26 +0200
    message:
      Merge the fix for bug#47137 into 5.0-build
         Solaris binary packages should be compiled with '-g0', not '-g'
    ------------------------------------------------------------
    revno: 2800.4.1
    committer: Joerg Bruehe <joerg@mysql.com>
    branch nick: bug47137-5.0
    timestamp: Thu 2009-09-17 21:50:54 +0200
    message:
      Fix bug#47137
          Solaris binary packages should be compiled with '-g0', not '-g'
      
      The main fix for this is done in the build tools,
      but in the sources it affects "configure.in"
      which sets "DEBUG_CXXFLAGS" to be used in all debug builds.
------------------------------------------------------------
revno: 2816
committer: Jonathan Perkin <jperkin@sun.com>
branch nick: mysql-5.0-bugteam
timestamp: Fri 2009-10-02 13:54:38 +0100
message:
  Merge to mysql-5.0-bugteam
    ------------------------------------------------------------
    revno: 2808.1.11
    committer: Jonathan Perkin <jperkin@sun.com>
    branch nick: mysql-bug27693
    timestamp: Wed 2009-09-30 15:46:51 +0100
    message:
      bug#27693: Windows compilation from bk fails using WITH_BERKELEY_STORAGE_ENGINE
      
      Make configure.js bail with an error if trying to build bdb from a bzr
      tree.
------------------------------------------------------------
revno: 2815
committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
branch nick: 47525-5.0
timestamp: Wed 2009-09-30 19:59:30 -0300
message:
  Post-merge cleanup: Reorganize code for better comprehensibility.
                      Removes the need of a hack (the jump to label).
------------------------------------------------------------
revno: 2814
committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
branch nick: 47525-5.0
timestamp: Wed 2009-09-30 19:14:55 -0300
message:
  Post-merge fix: DBUG macros are wrapped inside a loop.
------------------------------------------------------------
revno: 2813
committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
branch nick: 47525-5.0
timestamp: Wed 2009-09-30 18:38:02 -0300
message:
  Bug#47525: MySQL crashed (Federated)
  
  On Mac OS X or Windows, sending a SIGHUP to the server or a
  asynchronous flush (triggered by flush_time), would cause the
  server to crash.
  
  The problem was that a hook used to detach client API handles
  wasn't prepared to handle cases where the thread does not have
  a associated session.
  
  The solution is to verify whether the thread has a associated
  session before trying to detach a handle.
------------------------------------------------------------
revno: 2812
committer: Kristofer Pettersson <kristofer.pettersson@sun.com>
branch nick: mysql-5.0-bugteam
timestamp: Wed 2009-09-30 14:50:25 +0200
message:
  Bug#34895 'show procedure status' or 'show function status' +
            'flush tables' crashes
  
  The server crashes when 'show procedure status' and 'flush tables' are
  run concurrently.
  
  This is caused by the way mysql.proc table is added twice to the list
  of table to lock although the requirements on the current locking API
  assumes differently.
  
  No test case is submitted because of the nature of the crash which is 
  currently difficult to reproduce in a deterministic way.
  
  This is a backport from 5.1
------------------------------------------------------------
revno: 2811
committer: <Dao-Gang.Qu@sun.com>
branch nick: mysql-5.0-bugteam
timestamp: Wed 2009-09-30 10:01:52 +0800
message:
  Bug #46998  mysqlbinlog can't output BEGIN even if the database is included in a transaction
  
  The 'BEGIN/COMMIT/ROLLBACK' log event could be filtered out if the
  database is not selected by --database option of mysqlbinlog command.
  This can result in problem if there are some statements in the
  transaction are not filtered out.
  
  To fix the problem, mysqlbinlog will output 'BEGIN/ROLLBACK/COMMIT' 
  in regardless of the database filtering rules.
------------------------------------------------------------
revno: 2810
committer: Kristofer Pettersson <kristofer.pettersson@sun.com>
branch nick: mysql-5.0-bugteam
timestamp: Tue 2009-09-29 17:18:55 +0200
message:
  autocommit
    ------------------------------------------------------------
    revno: 2808.1.10
    committer: Jonathan Perkin <jperkin@sun.com>
    branch nick: mysql-5.0-bugteam
    timestamp: Mon 2009-09-28 15:24:52 +0100
    message:
      Merge to mysql-5.0-bugteam
        ------------------------------------------------------------
        revno: 2800.3.1
        committer: Jonathan Perkin <jperkin@sun.com>
        branch nick: mysql-5.0-30954
        timestamp: Mon 2009-09-28 15:14:33 +0100
        message:
          bug#30954: "configure" script in binary distributions considered harmfull
          
          Add --help option.
    ------------------------------------------------------------
    revno: 2808.1.9
    committer: Georgi Kodinov <joro@sun.com>
    branch nick: B47106-5.0-bugteam
    timestamp: Fri 2009-09-18 12:34:08 +0300
    message:
      Bug #47106: Crash / segfault on adding EXPLAIN to a non-crashing
       query
            
      The fix for bug 46749 removed the check for OUTER_REF_TABLE_BIT 
      and substituted it for a check on the presence of 
      Item_ident::depended_from.
      Removing it altogether was wrong : OUTER_REF_TABLE_BIT should 
      still be checked in addition to depended_from (because it's not 
      set in all cases and doesn't contradict to the check of depended_from).
      Fixed by returning the old condition back as a compliment to the 
      new one.
    ------------------------------------------------------------
    revno: 2808.1.8
    committer: Magnus Bludd <magnus.blaudd@sun.com>
    branch nick: 5.0-bugteam
    timestamp: Mon 2009-09-28 14:40:20 +0200
    message:
      Merge bug#42850 to 5.0
        ------------------------------------------------------------
        revno: 2800.1.5
        committer: Magnus Bludd <magnus.blaudd@sun.com>
        branch nick: 5.0-bug42850
        timestamp: Thu 2009-09-24 08:30:31 +0200
        message:
          Bug#42850 race condition in my_thr_init.c
           - Create the "dummy" thread joinable and wait for it to
             exit before continuing in 'my_thread_global_init'
           - This way we know that the pthread library is initialized
             by one thread only
        ------------------------------------------------------------
        revno: 2800.1.4
        author: hery.ramilison@sun.com
        committer: MySQL Build Team <build@mysql.com>
        branch nick: mysql-5.0
        timestamp: Mon 2009-09-21 22:54:39 +0200
        message:
          Merge from mysql-5.0.86-release
        ------------------------------------------------------------
        revno: 2800.2.1
        tags: mysql-5.0.86
        committer: hery <hery.ramilison@sun.com>
        branch nick: mysql-5.0.86-release
        timestamp: Wed 2009-09-09 20:52:17 +0200
        message:
          change c++ comment to c comment
    ------------------------------------------------------------
    revno: 2808.1.7
    committer: Georgi Kodinov <joro@sun.com>
    branch nick: B45159-5.0-bugteam
    timestamp: Fri 2009-09-11 15:52:08 +0300
    message:
      Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA)
            
      Initialize correctly client flags for the embedded client
      Test cases in jp updated to work correctly with embedded server.
    ------------------------------------------------------------
    revno: 2808.1.6
    committer: Georgi Kodinov <joro@sun.com>
    branch nick: fix-5.0-bugteam
    timestamp: Thu 2009-09-24 16:21:46 +0300
    message:
      fixed compilation warnings
    ------------------------------------------------------------
    revno: 2808.1.5
    committer: Georgi Kodinov <joro@sun.com>
    branch nick: merge-5.0-bugteam
    timestamp: Fri 2009-09-18 16:33:07 +0300
    message:
      automerge
        ------------------------------------------------------------
        revno: 2800.1.3
        author: hery.ramilison@sun.com
        committer: MySQL Build Team <build@mysql.com>
        branch nick: mysql-5.0
        timestamp: Tue 2009-09-08 22:56:00 +0200
        message:
          Raise version number after cloning 5.0.86
    ------------------------------------------------------------
    revno: 2808.1.4
    committer: Georgi Kodinov <joro@sun.com>
    branch nick: B46917-5.0-bugteam
    timestamp: Thu 2009-09-17 14:25:07 +0300
    message:
      Bug #46917: mysqd-nt installs wrong
      
      When parsing the service installation parameter in 
      default_service_handling() make sure the value of the
      optional parameter doesn't overwrite it's name.
    ------------------------------------------------------------
    revno: 2808.1.3
    committer: Staale Smedseng <staale.smedseng@sun.com>
    branch nick: 43414-50
    timestamp: Thu 2009-09-17 17:10:30 +0200
    message:
      Bug #43414 Parenthesis (and other) warnings compiling MySQL
      with gcc 4.3.2
            
      This is the fifth patch cleaning up more GCC warnings about
      variables used before initialized using the new macro
      UNINIT_VAR().
    ------------------------------------------------------------
    revno: 2808.1.2
    committer: Ingo Struewing <ingo.struewing@sun.com>
    branch nick: mysql-5.0-bug17332-7
    timestamp: Wed 2009-09-16 12:07:57 +0200
    message:
      Pull from mysql-5.0-bugteam
        ------------------------------------------------------------
        revno: 2808.2.3
        committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
        branch nick: mysql-5.0-bugteam
        timestamp: Thu 2009-09-10 15:24:07 +0500
        message:
          Bug#46815 CONCAT_WS returning wrong data
          The problem is that argument buffer can be used as result buffer
          and it leads to argument value change.
          The fix is to use 'old buffer' as result buffer only
          if first argument is not constant item.
        ------------------------------------------------------------
        revno: 2808.2.2
        committer: Georgi Kodinov <joro@sun.com>
        branch nick: B45159-5.0-bugteam
        timestamp: Wed 2009-09-09 12:06:15 +0300
        message:
          Bug #45159 Part 1 : rejuvenate the jp test suite using normal run.
          
          Updates the results of all the out-dated test suites and adds 
          the special mysqltest command to enable innodb for the tests that need it.
        ------------------------------------------------------------
        revno: 2808.2.1
        committer: Georgi Kodinov <joro@sun.com>
        branch nick: B46791-5.0-bugteam
        timestamp: Thu 2009-09-03 18:03:46 +0300
        message:
          Bug #46791: Assertion failed:(table->key_read==0),function unknown
            function,file sql_base.cc
          
          When uncacheable queries are written to a temp table the optimizer must 
          preserve the original JOIN structure, because it is re-using the JOIN 
          structure to read from the resulting temporary table.
          This was done only for uncacheable sub-queries. 
          But top level queries can also benefit from this mechanism, specially if 
          they're using index access and need a reset.
          Fixed by not limiting the saving of JOIN structure to subqueries
          exclusively.
          Added a new test file to extend the existing (large) subquery.test.
    ------------------------------------------------------------
    revno: 2808.1.1
    committer: Ingo Struewing <ingo.struewing@sun.com>
    branch nick: mysql-5.0-bug17332-7
    timestamp: Mon 2009-09-07 18:35:37 +0200
    message:
      Bug#17332 - changing key_buffer_size on a running server
                  can crash under load
      
      Backport from 5.1.
      Does also include key cache fixes from:
      Bug 44068 (RESTORE can disable the MyISAM Key Cache)
      Bug 40944 (Backup: crash after myisampack)
------------------------------------------------------------
revno: 2809
committer: Kristofer Pettersson <kristofer.pettersson@sun.com>
branch nick: 50-bug42108
timestamp: Tue 2009-09-29 17:06:51 +0200
message:
  Bug#42108 Wrong locking for UPDATE with subqueries leads to broken statement
            replication
                
  MySQL server uses wrong lock type (always TL_READ instead of
  TL_READ_NO_INSERT when appropriate) for tables used in
  subqueries of UPDATE statement. This leads in some cases to
  a broken replication as statements are written in the wrong
  order to the binlog.
------------------------------------------------------------
revno: 2808
committer: Sergey Glukhov <Sergey.Glukhov@sun.com>
branch nick: mysql-5.0-bugteam
timestamp: Fri 2009-09-04 12:20:53 +0500
message:
  Bug#45989 memory leak after explain encounters an error in the query
  Memory allocated in TMP_TABLE_PARAM::copy_field is not cleaned up.
  The fix is to clean up TMP_TABLE_PARAM::copy_field array in JOIN::destroy.
------------------------------------------------------------
revno: 2807
committer: Satya B <satya.bn@sun.com>
branch nick: mysql-5.0-bugteam-46384
timestamp: Fri 2009-09-04 12:21:54 +0530
message:
  Fix for BUG#46384 - mysqld segfault when trying to create table with same 
                      name as existing view
  
  When trying to create a table with the same name as existing view with
  join, mysql server crashes.
  
  The problem is when create table is issued with the same name as view, while
  verifying with the existing tables, we assume that base table object is 
  created always.
  
  In this case, since it is a view over multiple tables, we don't have the 
  mysql derived table object.
  
  Fixed the logic which checks if there is an existing table to not to assume
  that table object is created when the base table is view over multiple 
  tables.
------------------------------------------------------------
revno: 2806
committer: Satya B <satya.bn@sun.com>
branch nick: mysql-5.0-bugteam-46591
timestamp: Fri 2009-09-04 11:19:44 +0530
message:
  Addition to Fix for BUG#46591 - .frm file isn't sync'd with sync_frm enabled
                                  for CREATE TABLE...LIKE...
  
  Add my_sync.c to mysqltest sources list in CMakeLists.txt
------------------------------------------------------------
revno: 2805
committer: Satya B <satya.bn@sun.com>
branch nick: mysql-5.0-bugteam-33785
timestamp: Thu 2009-09-03 23:34:42 +0530
message:
  Fix for Bug#33785 - myisamchk show warning message
  
  myisamchk tool generates warnings when run on an myisam files (.MYI or .MYD)
  This is because of the conversion of max_value for certain options in myisamchk 
  from singed long to unsigned long
  
  The max value for the options key_buffer_size, read_buffer_size, write_buffer
  _size and sort_buffer_size is given as (long) ~0L which becomes -1  when casted
  from signed long to longlong and then casted to ulonglong. When (ulonglong) -1 
  is compared with maximal value for GET_ULONG data type, we adjust it to 
  (ulonglong) ULONG_MAX and throw the warning.
  
  Fixed by using the right max size.
  
  Max values for the variables (from mysqld.cc)
  ----------------------------
  1. key_buffer_size
     5.0: ULONG_MAX
     5.1: SIZE_T_MAX
     6.0: SIZE_T_MAX
  
  2. read_buffer_size and write_buffer_size
     5.0: INT_MAX32
     5.1: INT_MAX32
     6.0: INT_MAX32
  
  3. sort_buffer_size (aka myisam_sort_buffer_size)
     5.0: UINT_MAX32
     5.1: ULONG_MAX
     6.0: ULONG_MAX
  
  Note: testcase not attached
------------------------------------------------------------
revno: 2804
committer: Satya B <satya.bn@sun.com>
branch nick: mysql-5.0-bugteam-46591
timestamp: Thu 2009-09-03 16:02:03 +0530
message:
  Fix for BUG#46591 - .frm file isn't sync'd with sync_frm enabled for 
                      CREATE TABLE...LIKE...
        
  The mysql server option 'sync_frm' is ignored when table is created with 
  syntax CREATE TABLE .. LIKE.. 
        
  Fixed by adding the MY_SYNC flag and calling my_sync() from my_copy() when
  the flag is set.
  
  In mysql_create_table(), when the 'sync_frm' is set, MY_SYNC flag is passed 
  to my_copy(). 
        
  Note: TestCase is not attached and can be tested manually using debugger.
------------------------------------------------------------
revno: 2803
committer: Georgi Kodinov <joro@sun.com>
branch nick: merge-5.0-bugteam
timestamp: Wed 2009-09-02 16:36:52 +0300
message:
  Backported the --parallel=str option from mtr2 for backward compatibility
  with the newer pb2 testing environments
------------------------------------------------------------
revno: 2802
committer: Georgi Kodinov <joro@sun.com>
branch nick: merge-5.0-bugteam
timestamp: Wed 2009-09-02 16:07:52 +0300
message:
  merge
