1. 19 Jan, 2010 1 commit
    • Alexander Nozdrin's avatar
      Manual merge from mysql-trunk-merge. · a6667f85
      Alexander Nozdrin authored
      Conflicts:
        - configure.in
        - include/m_string.h
        - mysql-test/extra/rpl_tests/rpl_row_func003.test
        - mysql-test/r/mysqlbinlog.result
        - mysql-test/r/union.result
        - mysql-test/suite/binlog/r/binlog_killed_simulate.result
        - mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result
        - mysql-test/suite/binlog/r/binlog_unsafe.result
        - mysql-test/suite/binlog/t/binlog_unsafe.test
        - mysql-test/suite/rpl/r/rpl_loaddata_fatal.result
        - mysql-test/suite/rpl/r/rpl_loaddata_map.result
        - mysql-test/suite/rpl/r/rpl_stm_loaddata_concurrent.result
        - mysql-test/suite/rpl/r/rpl_stm_log.result
        - mysql-test/suite/rpl/t/rpl_optimize.test
        - mysql-test/t/mysqlbinlog.test
        - mysql-test/t/union.test
        - sql/rpl_utility.h
        - sql/sql_union.cc
        - strings/Makefile.am
      a6667f85
  2. 18 Jan, 2010 4 commits
  3. 15 Jan, 2010 5 commits
    • Alexey Kopytov's avatar
      Manual merge from mysql-5.1-bugteam into mysql-trunk-merge. · 0a5b406f
      Alexey Kopytov authored
      Conflicts:
      
      Text conflict in .bzr-mysql/default.conf
      Text conflict in mysql-test/suite/rpl/r/rpl_loaddata_fatal.result
      Text conflict in mysql-test/suite/rpl/r/rpl_stm_log.result
      Text conflict in mysql-test/t/mysqlbinlog.test
      Text conflict in sql/sql_acl.cc
      Text conflict in sql/sql_servers.cc
      Text conflict in sql/sql_update.cc
      Text conflict in support-files/mysql.spec.sh
      0a5b406f
    • Georgi Kodinov's avatar
      merge · 0305aea8
      Georgi Kodinov authored
      0305aea8
    • Georgi Kodinov's avatar
      merge of version change. · a07ca237
      Georgi Kodinov authored
      Added not_embedded to the new dbug_sync test file.
      a07ca237
    • unknown's avatar
      Fix for perfschema.binlog_stmt failure: · 5d279205
      unknown authored
              
      Problem: The test case failed because: (i) warning text in 
               result file differed from the warning output by the 
               server, and (ii) binlog contents in result file did
               not show the statements logged wrapped in BEGIN/COMMIT
               as it is the case after WL 2687.
            
      Solution: We update the result file, but first we change the
                unsafe warning text to also refer to performance_schema
                table(s). This required changing the result files for
                existing test cases that provide output for warnings 
                related to ER_BINLOG_UNSAFE_SYSTEM_TABLE. "Grepping" in
                result files, shows that only binlog_unsafe contained
                reference to such a warning.
            
                We also update the result file with the missing 
                BEGIN/COMMIT statements.
      5d279205
    • MySQL Build Team's avatar
  4. 14 Jan, 2010 11 commits
  5. 13 Jan, 2010 19 commits
    • Luis Soares's avatar
      Disabled binlog_unsafe due to BUG#50312. · 18a8f3c8
      Luis Soares authored
      18a8f3c8
    • Kristofer Pettersson's avatar
      automerge · a0fe99a8
      Kristofer Pettersson authored
      a0fe99a8
    • Alfranio Correia's avatar
    • Mats Kindahl's avatar
      Merging with mysql-5.1-rep+2-delivery1 · 9b4470ec
      Mats Kindahl authored
      9b4470ec
    • Mats Kindahl's avatar
      Replacing error variable that was lost. · cf40bc3f
      Mats Kindahl authored
      cf40bc3f
    • Mats Kindahl's avatar
      Merging with mysql-5.1-rep+2-delivery1 · 4abdd9f1
      Mats Kindahl authored
      4abdd9f1
    • Alfranio Correia's avatar
      merge mysql-next-mr --> mysql-5.1-rpl-merge · 40949a31
      Alfranio Correia authored
      Conflicts:
        Text conflict in sql/log.cc
        Text conflict in sql/slave.cc
        Text conflict in sql/sql_base.cc
      40949a31
    • Mats Kindahl's avatar
      WL#5151: Conversion between different types when · a561e539
      Mats Kindahl authored
               replicating
      
      Replace c_ptr() calls with c_ptr_safe() calls to
      avoid valgrind warnings.
      
      Adding code to to handle the case that no metadata
      was present in the table map for the column.
      
      Allow first parameter to unpack_row() to be NULL,
      in which case no source tables is used and hence
      no checks nor conversions are done.
      
      Clarifying some comments and fixing documentation
      for unpack_row().
      a561e539
    • Kristofer Pettersson's avatar
      Bug#33982 debug assertion and crash reloading grant tables after sighup or kill · b3dd4d94
      Kristofer Pettersson authored
      In certain rare cases when a process was interrupted
      during a FLUSH PRIVILEGES operation the diagnostic
      area would be set to an error state but the function
      responsible for the operation would still signal
      success. This would lead to a debug assertion error
      later on when the server would attempt to reset the
      DA before sending the error message.
      
      This patch fixes the issue by assuring that
      reload_acl_and_cache() always fails if an error
      condition is raised.
      
      The second issue was that a KILL could cause
      a console error message which referred to a DA
      state without first making sure that such a
      state existed.
      
      This patch fixes this issue in two different
      palces by first checking DA state before
      fetching the error message.
      
       
      
      sql/sql_acl.cc:
        * Make sure that there is an error to print before attempting to do so.
        * Minor style change: change 1 to TRUE for clarity.
      sql/sql_parse.cc:
        * Always fail reload_acl_and_cache() if the query was killed.
      sql/sql_servers.cc:
        * Make sure that there is an error to print before attempting to do so.
      b3dd4d94
    • Martin Hansson's avatar
      Merge of fix for Bug#48157. · 34e5c675
      Martin Hansson authored
      34e5c675
    • Ramil Kalimullin's avatar
      Auto-merge. · 200f083c
      Ramil Kalimullin authored
      200f083c
    • Ramil Kalimullin's avatar
      Auto-merge. · 08dfd4ad
      Ramil Kalimullin authored
      08dfd4ad
    • Georgi Kodinov's avatar
      merge · 90274e37
      Georgi Kodinov authored
      90274e37
    • Georgi Kodinov's avatar
      version change · c4ec2de7
      Georgi Kodinov authored
      c4ec2de7
    • Joerg Bruehe's avatar
      Automerge from parent - no conflicts. · 1b2826e7
      Joerg Bruehe authored
      1b2826e7
    • Georgi Kodinov's avatar
      merge 5.1-main to 5.1-bugteam · 6e72f417
      Georgi Kodinov authored
      6e72f417
    • Ramil Kalimullin's avatar
      Auto-merge. · 7fe31548
      Ramil Kalimullin authored
      7fe31548
    • Sven Sandberg's avatar
      BUG#49222: Mark RAND() as unsafe · 4dc7be62
      Sven Sandberg authored
      Problem: When RAND() is binlogged in statement mode, the seed is
      binlogged too, so the replication slave generates the same
      sequence of random numbers. This makes replication work in many
      cases, but not in all cases: the order of rows is not guaranteed
      for, e.g., UPDATE or INSERT...SELECT statements, so the row data
      will be different if master and slave retrieve the rows in
      different orders.
      Fix: Mark RAND() as unsafe. It will generate a warning if
      binlog_format=STATEMENT and switch to row-logging if
      binlog_format=ROW.
      
      
      mysql-test/extra/rpl_tests/rpl_row_func003.test:
        updated test case to ignore new warnings
      mysql-test/suite/binlog/r/binlog_unsafe.result:
        updated result file
      mysql-test/suite/binlog/t/binlog_unsafe.test:
        Added test for RAND().
        Also clarified some old comments.
      mysql-test/suite/rpl/r/rpl_misc_functions.result:
        updated result file
      mysql-test/suite/rpl/r/rpl_nondeterministic_functions.result:
        updated test case to ignore new warnings
      mysql-test/suite/rpl/r/rpl_optimize.result:
        updated result file
      mysql-test/suite/rpl/r/rpl_row_func003.result:
        updated result file
      mysql-test/suite/rpl/t/rpl_misc_functions.test:
        updated test case to ignore new warnings
      mysql-test/suite/rpl/t/rpl_nondeterministic_functions.test:
        updated test case to ignore new warnings
      mysql-test/suite/rpl/t/rpl_optimize.test:
        updated test case to ignore new warnings
      mysql-test/suite/rpl/t/rpl_trigger.test:
        updated test case to ignore new warnings
      mysql-test/suite/rpl_ndb/r/rpl_ndb_func003.result:
        updated result file
      sql/item_create.cc:
        Mark RAND() unsafe.
      4dc7be62
    • Luis Soares's avatar
      Makes slave_type_conversions_basic to be skipped in embedded · 26b12adb
      Luis Soares authored
      run in PB2 as it ought to be. Otherwise test will fail because
      variable is no recognized:
      
      1193: Unknown system variable 'slave_type_conversions'
      26b12adb