1. 02 Jun, 2007 1 commit
  2. 01 Jun, 2007 5 commits
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 4bdbc339
      unknown authored
      into  dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.0/bug27716-multi_upd_no_binlog
      
      
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      4bdbc339
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 075346ac
      unknown authored
      into  mysql.com:/home/bar/mysql-work/mysql-5.1.b28600
      
      
      075346ac
    • unknown's avatar
      Bug #27716 multi-update did partially and has not binlogged · 6b94fc57
      unknown authored
      Implementation of mysql_multi_update did not call multi_update::send_error method in some cases 
      (see the test reported on bug page and test cases in changeset).
      
      Fixed with deploying the method, ::send_error() is refined to get binlogging code which works whenever 
      there is modified non-transactional table.
      thd->no_trans_update.stmt flag is set in to TRUE to ease testing though being the beginning of relative 
      bug#27417 fix (addresses a part of those issues).
      Eliminating two minor issues (small bugs) in multi_update methods.
      This patch for multi-update also addresses a part of the issues reported in bug#13270,bug#23333.
      
      
      mysql-test/r/innodb.result:
        result changed
      mysql-test/r/multi_update.result:
        results changed
      mysql-test/t/innodb.test:
        regression test for the bug combining transactional and non-transaction tables
      mysql-test/t/multi_update.test:
        regression tests added - erred query must be binlogged
      sql/sql_update.cc:
        making a call to multi_update::send_error when mysql_select return an error;
        deploying binlogging inside of ::send_error;
        refining multi_update::send_eof() to mark binlogging work done when its call to ::do_updates() errs
        and the query is binlogged with the error. ::send_error() will be called after all but
        do not do anything;
        thd->no_trans_update.stmt is corrected to be set to TRUE according to the existed code pattern. 
        Although this part relates to another bugs (bug#27417 etc) it is needed here for testing;
        Eliminating a separate issue in multi_update::do_updates where                
        either one of the class members trans_safe, transactional_tables was          
        set after the per-table loop whereas both should be calculated during         
        looping. 
        Eliminating a separate issue in ::send_eof() where thd->no_trans_update.all won't be set TRUE when
        amoung others there'd be at least one modified transactional table.
        Binlogging is done to satisfy to general character bug#13270,bug#23333 so that those won't have
        fixes specific for multi-update.
      6b94fc57
    • unknown's avatar
      Fixing test case binlog_unsafe. · e319a049
      unknown authored
      
      mysql-test/r/binlog_unsafe.result:
        Result change.
      mysql-test/t/binlog_unsafe.test:
        Dropping used tables.
      e319a049
    • unknown's avatar
      WL#3339 (Issue warnings when statement-based replication may fail): · 1217839e
      unknown authored
      Adding missing test files. Result change in test rpl_udf.
      
      
      mysql-test/r/rpl_udf.result:
        Result change
      mysql-test/r/rpl_slave_skip.result:
        New BitKeeper file ``mysql-test/r/rpl_slave_skip.result''
      mysql-test/t/rpl_slave_skip.test:
        New BitKeeper file ``mysql-test/t/rpl_slave_skip.test''
      1217839e
  3. 31 May, 2007 9 commits
  4. 30 May, 2007 25 commits
    • unknown's avatar
      Build warning cleanup · 0e78deec
      unknown authored
      0e78deec
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · fec3d7c6
      unknown authored
      into  dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/tmp/merge_5.0
      
      
      mysql-test/t/binlog_killed.test:
        manual merge bug#22725 test
      fec3d7c6
    • unknown's avatar
      bug#22725 · dd190b0e
      unknown authored
      refining the test because of Bug #28786 'reset master' does not reset binlogging on embeded server
      
      
      mysql-test/t/binlog_killed.test:
        the test can not pass on embedded server. Setting the include-guard.
      dd190b0e
    • unknown's avatar
      Merge kpettersson@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · a4c62560
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      a4c62560
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug24988/my51-bug24988 · e1dec83b
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      e1dec83b
    • unknown's avatar
      a10cc718
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl · 44f2d02d
      unknown authored
      into  mysql.com:/nfsdisk1/lars/bk/mysql-5.1-new-rpl
      
      
      44f2d02d
    • unknown's avatar
      Masking out error that is not generated by the test (rpl_ndb_basic.test) itself · 647923f9
      unknown authored
      
      mysql-test/r/rpl_ndb_basic.result:
        Masking out error that is not generated by the test itself
      mysql-test/t/rpl_ndb_basic.test:
        Masking out error that is not generated by the test itself
      647923f9
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 9b13368d
      unknown authored
      into  dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/home/elkin/MySQL/TEAM/BARE/mysql-5.1-new-rpl
      
      
      9b13368d
    • unknown's avatar
      bug#22725 · 45a6e67f
      unknown authored
      the test is not supposed for row format. the include-guard is set.
      
      
      mysql-test/t/binlog_killed.test:
        the test does not apply to rbr
      45a6e67f
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · c963c256
      unknown authored
      into  dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/home/elkin/MySQL/TEAM/BARE/mysql-5.1-new-rpl
      
      
      c963c256
    • unknown's avatar
      CMakeLists.txt: · 3c6a4bc5
      unknown authored
        Adding strnlen.c into the list of source files.
      
      
      strings/CMakeLists.txt:
        Adding strnlen.c into the list of source files.
      3c6a4bc5
    • unknown's avatar
      1. Fix memory leak. · 9e25cfba
      unknown authored
      2. Use multibyte-safe constant.
      
      
      sql/sp.cc:
        Fix memory leak.
      sql/sp_head.cc:
        Use multibyte-safe constant.
      9e25cfba
    • unknown's avatar
      bug#17654 --read-from-remote-server causes core · db8df69c
      unknown authored
      fixing FD event issue that showed up on pb.
      
      
      client/mysqlbinlog.cc:
        resetting temp_buf specially for FD event to avoid double-freeing
      db8df69c
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · d08ec272
      unknown authored
      into  mysql.com:/home/bar/mysql-5.1.b28558
      
      
      d08ec272
    • unknown's avatar
      Define HAVE_STRNLEN correctly. · 2eba9378
      unknown authored
      
      include/config-win.h:
        strnlen() presents in the build in library only starting from
        Visual Studio 2005, identified by _MSC_VER 1400.
        Previous versions of Visual Studio didn't have this
        function, so they need the MySQL replacement function to be compiled.
      2eba9378
    • unknown's avatar
      Added extra parenthesis to remove compiler warning · d57f3bbb
      unknown authored
      Fixed test case rpl_incident.test (synchronize drop table, masked IO thread behaviour)
      
      
      mysql-test/r/rpl_incident.result:
        Masking master_log_file since IO thread is not synchronized in rpl_incident.test
      mysql-test/t/rpl_incident.test:
        Masking master_log_file since IO thread is not synchronized in rpl_incident.test
        Correcting drop of table so it is synchronized
      sql/log_event.cc:
        Added extra parenthesis to remove compiler warning
      d57f3bbb
    • unknown's avatar
      Fixing wrong memory read problem detected by Valgrind in "xml" test. · 42eab5a2
      unknown authored
      The source of the problem was in my_vsnprintf() implementation.
      
      
      strings/my_vsnprintf.c:
        Fixing a problem in vsnprintf('%.*s', len, ptr)
        When processing the above format, it's incorrect
        to use strlen() because the string is not necessarily
        a null terminated string.
        Changing strlen() followed by set_if_smaller()
        to strnlen() - which covers both cases - limiting
        by '\0' and by "len".
      42eab5a2
    • unknown's avatar
      Merge... · b3949122
      unknown authored
      Merge dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/bug27044_slave_dup2unique
      into  dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/tmp/merge_5.0
      
      
      sql/log_event.cc:
        Auto merged
      b3949122
    • unknown's avatar
      bug#22725 · 73acdb35
      unknown authored
      merge 5.0 with 5.1
      
      
      mysql-test/t/binlog_killed.test:
        offset change in 5.1
      73acdb35
    • unknown's avatar
      Disable IM tests. · 9e600f43
      unknown authored
      9e600f43
    • unknown's avatar
      Merge dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/home/elkin/MySQL/TEAM/BARE/5.0 · 34f4dffd
      unknown authored
      into  dsl-hkibras1-ff5dc300-70.dhcp.inet.fi:/tmp/merge_5.0
      
      
      34f4dffd
    • unknown's avatar
      bug#22725 · e5c4d97c
      unknown authored
      test comments correction
      
      
      mysql-test/r/binlog_killed.result:
        changed
      mysql-test/t/binlog_killed.test:
        wrong comments (but important ones) left;
        little refinement in result calc
      e5c4d97c
    • unknown's avatar
      Disable IM-tests. · 9f15fe64
      unknown authored
      9f15fe64
    • unknown's avatar
      Bug#28600 Yen sign and overline ujis conversion change · c7dfc326
      unknown authored
      Problem: Unicode->UJIS followed incorrect conversion
      rules for U+00A5 YEN SIGN and U+203E OVERLINE,
      so these characters were converted to ujis 0x8E5C
      and 0x8E7E accordingly.
      
      This behaviour would be correct for a JIS-X-0201 based character set,
      but this is wrong for UJIS, which is documented as x-eucjp-unicode-0.9,
      and which is based on ASCII for the range U+0000..U+007F.
      
      Fix:
      removing JIS-X-0201 conversion rules, making UJIS ASCII compatible.
      YEN SIGN and OVERLINE do not have corresponding UJIS characters anymore
      and converted to 0x3F QUESTION MARK, throwing a warning in appropriative cases.
      
      This patch also includes a test covering full UJIS->Unicode->UJIS mapping.
      
      
      sql/field.cc:
        Nicer error message format:
        always use HEX notation when printing warnings about UCS2 values -
        this is more readable.
      strings/ctype-ujis.c:
        Removing incorrect Unicode->UJIS mapping.
        MySQL "UJIS" is x-eucjp-unicode-0.9.
      mysql-test/r/ctype_ujis_ucs2.result:
        New BitKeeper file ``mysql-test/r/ctype_ujis_ucs2.result''
      mysql-test/t/ctype_ujis_ucs2.test:
        New BitKeeper file ``mysql-test/t/ctype_ujis_ucs2.test''
      c7dfc326