1. 20 Jan, 2010 1 commit
  2. 19 Jan, 2010 1 commit
    • Alexander Nozdrin's avatar
      Manual merge from mysql-trunk-merge. · 3fe38b84
      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
      3fe38b84
  3. 18 Jan, 2010 4 commits
  4. 15 Jan, 2010 5 commits
    • Alexey Kopytov's avatar
      Manual merge from mysql-5.1-bugteam into mysql-trunk-merge. · 54652a30
      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
      54652a30
    • Georgi Kodinov's avatar
      merge · 1091f4f9
      Georgi Kodinov authored
      1091f4f9
    • Georgi Kodinov's avatar
      merge of version change. · 545c8d50
      Georgi Kodinov authored
      Added not_embedded to the new dbug_sync test file.
      545c8d50
    • unknown's avatar
      Fix for perfschema.binlog_stmt failure: · 05943ddd
      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.
      05943ddd
    • MySQL Build Team's avatar
  5. 14 Jan, 2010 11 commits
  6. 13 Jan, 2010 18 commits
    • Luis Soares's avatar
      Disabled binlog_unsafe due to BUG#50312. · 77e58b25
      Luis Soares authored
      77e58b25
    • Kristofer Pettersson's avatar
      automerge · 024a625f
      Kristofer Pettersson authored
      024a625f
    • Alfranio Correia's avatar
    • Mats Kindahl's avatar
      Merging with mysql-5.1-rep+2-delivery1 · 4c7e0451
      Mats Kindahl authored
      4c7e0451
    • Mats Kindahl's avatar
      Replacing error variable that was lost. · 0b7cad00
      Mats Kindahl authored
      0b7cad00
    • Mats Kindahl's avatar
      Merging with mysql-5.1-rep+2-delivery1 · ad42dc75
      Mats Kindahl authored
      ad42dc75
    • Alfranio Correia's avatar
      merge mysql-next-mr --> mysql-5.1-rpl-merge · 58832485
      Alfranio Correia authored
      Conflicts:
        Text conflict in sql/log.cc
        Text conflict in sql/slave.cc
        Text conflict in sql/sql_base.cc
      58832485
    • Mats Kindahl's avatar
      WL#5151: Conversion between different types when · f457a887
      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().
      f457a887
    • Kristofer Pettersson's avatar
      Bug#33982 debug assertion and crash reloading grant tables after sighup or kill · 31f1566f
      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.
      31f1566f
    • Martin Hansson's avatar
      Merge of fix for Bug#48157. · c69695e6
      Martin Hansson authored
      c69695e6
    • Ramil Kalimullin's avatar
      Auto-merge. · fa7fe9f4
      Ramil Kalimullin authored
      fa7fe9f4
    • Ramil Kalimullin's avatar
      Auto-merge. · be82fa98
      Ramil Kalimullin authored
      be82fa98
    • Georgi Kodinov's avatar
      merge · 8482e17d
      Georgi Kodinov authored
      8482e17d
    • Georgi Kodinov's avatar
      version change · 72be191d
      Georgi Kodinov authored
      72be191d
    • Joerg Bruehe's avatar
      Automerge from parent - no conflicts. · 3e8dcd7c
      Joerg Bruehe authored
      3e8dcd7c
    • Georgi Kodinov's avatar
      merge 5.1-main to 5.1-bugteam · e8da3df0
      Georgi Kodinov authored
      e8da3df0
    • Ramil Kalimullin's avatar
      Auto-merge. · c95e80b7
      Ramil Kalimullin authored
      c95e80b7
    • Sven Sandberg's avatar
      BUG#49222: Mark RAND() as unsafe · 98d04814
      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.
      98d04814