An error occurred fetching the project authors.
  1. 03 Nov, 2006 5 commits
  2. 02 Nov, 2006 2 commits
  3. 01 Nov, 2006 5 commits
    • unknown's avatar
      Changes to the code are necessary to compile on Windows. Typecasts are needed... · 70111f50
      unknown authored
      Changes to the code are necessary to compile on Windows. Typecasts are needed in several DBUG_DUMP statements. CAB 01 Nov 2006
      
      
      sql/log_event.cc:
        The changes are so that the code will compile on Windows. Typecasts are needed on the DBUG_DUMP statements to cast a byte * to a char *.
      sql/sql_class.cc:
        The changes are necessary to get the code to compile on Windows. The DBUG_DUMP statements need a typecast.
      70111f50
    • unknown's avatar
      BUG#23735 Test rpl_row_mysqlbinlog fails on Windows. The errors report a file... · f0041180
      unknown authored
      BUG#23735 Test rpl_row_mysqlbinlog fails on Windows. The errors report a file discrepency on reading a binlog from the command line.
      
      
      client/mysqlbinlog.cc:
        BUG#23735 Test rpl_row_mysqlbinlog fails on Windows.
      f0041180
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0.b18908 · bfdc9c12
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-rpl
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/r/ctype_recoding.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/strict_autoinc_1myisam.result:
        Auto merged
      mysql-test/r/strict_autoinc_2innodb.result:
        Auto merged
      mysql-test/r/strict_autoinc_3heap.result:
        Auto merged
      mysql-test/r/strict_autoinc_4bdb.result:
        Auto merged
      mysql-test/r/strict_autoinc_5ndb.result:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      sql/field.cc:
        SCCS merged
      bfdc9c12
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · fff7e919
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b22877
      
      
      BitKeeper/etc/collapsed:
        auto-union
      sql/sql_parse.cc:
        Auto merged
      fff7e919
    • unknown's avatar
      Bug#22877 replication character sets get out of · c755a7a1
      unknown authored
      sync using replicate-wild-ignore-table
      Problem: changes in character set variables
      before an action on an replication-ignored table
      makes slave to forget new variable values.
      Fix: initialize one_shot variables only when
      4.1 -> 5.x replication is running.
      
      
      mysql-test/r/rpl_ignore_table.result:
        Adding test case
      mysql-test/t/rpl_ignore_table-slave.opt:
        Don't replicate tables with names starting with "tmptbl"
      mysql-test/t/rpl_ignore_table.test:
        Adding test case
      sql/sql_parse.cc:
        Reset one_shot variables only if we do 4.1->5.x replication.
        In other cases we cannot do that: resetting thd->variables out of sync with
        st_relay_log_info::cached_charset, which makes
        st_relay_log_info::cached_charset_compare() not to notice
        character set related variables changes afterwards.
      c755a7a1
  4. 31 Oct, 2006 3 commits
    • unknown's avatar
      Refactoring: Moved master info functionality into rpl_mi.cc to · 82e8dfd5
      unknown authored
      make code easier to maintain.
      
      
      sql/CMakeLists.txt:
        New file
      sql/Makefile.am:
        New file
      sql/rpl_rli.h:
        Changed master_info into a class
      sql/slave.cc:
        Moved master info functionality into rpl_mi.cc
      sql/slave.h:
        Moved master info functionality into rpl_mi.cc
      sql/rpl_mi.cc:
        Moved master info functionality into rpl_mi.cc
      sql/rpl_mi.h:
        Moved master info functionality into rpl_mi.cc
      82e8dfd5
    • unknown's avatar
      Added new file · a78bdf82
      unknown authored
      a78bdf82
    • unknown's avatar
      Refactoring: Moved rli code to new file rpl_rli.cc. The idea being that rli · 69d92fb1
      unknown authored
      should be a separate module (i.e. a class) to make it easier to maintain the 
      code, e.g. by having checks within the rli checking sanity of data and making 
      member variables private.  This will also ease implementation of multi-source 
      and, at least in my fantasies :), make it possible in some future to have 
      separate replication servers.
      
      
      sql/Makefile.am:
        Added file rpl_rli.cc
      sql/repl_failsafe.cc:
        Move function
      sql/rpl_rli.h:
        moved functions
      sql/slave.cc:
        Moved rli code into rpl_rli.cc
      sql/sql_repl.cc:
        Changed function to be member function
      sql/rpl_rli.cc:
        Code for rli
      69d92fb1
  5. 30 Oct, 2006 5 commits
    • unknown's avatar
      BUG#20697 slave fails to rollback replicated transaction hang over innodb_lock_wait_timeou · b7d43470
      unknown authored
      post-merge fixes in test/result
      
      
      mysql-test/extra/rpl_tests/rpl_deadlock.test:
        recalculating BEGIN's event position.
      mysql-test/r/rpl_deadlock_innodb.result:
        results changed
      b7d43470
    • unknown's avatar
      Merge dsl-hkigw8-feaef900-46.dhcp.inet.fi:/home/elkin/MySQL/TEAM/BARE/5.0-merge · 9fdc9acb
      unknown authored
      into  dsl-hkigw8-feaef900-46.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/merge_50
      
      
      mysql-test/r/rpl_deadlock_innodb.result:
        results changed
      mysql-test/extra/rpl_tests/rpl_deadlock.test:
        taking a fix for testing timed-out behaviour.
      sql/slave.cc:
        just comments are fixed due to changes in behavior of timed-out msta.
      9fdc9acb
    • unknown's avatar
      Bug#20404: SHOW CREATE TABLE fails with Turkish I · e463ee94
      unknown authored
        
        Problem: SHOW CREATE TABLE printed garbage in table
        name for tables having TURKISH I
        (i.e. LATIN CAPITABLE LETTER I WITH DOT ABOVE)
        when lower-case-table-name=1.
        
        Reason: In some cases during lower/upper conversion in utf8,
        the result string can be shorter the original string
        (including the above letter). Old implementation of caseup_str()
        and casedn_str() didn't handle the result length properly,
        assuming that length cannot change.
        
        This fix changes the result type of cs->cset->casedn_str()
        and cs->cset->caseup_str() from VOID to UINT, to return
        the result length, as well as put '\0' terminator on a 
        proper place.
        
        Also, my_caseup_str_utf8() and my_casedn_str_utf8() were 
        rewritten not to use strlen() for performance purposes.
        It was done with help of adding of new functions - my_utf8_uni_no_range()
        and my_uni_utf8_no_range() - for null terminated strings.
      
      
      
      include/m_ctype.h:
        Changeing return type from void to int for caseup_str() and casedn_str()
      mysql-test/r/lowercase_table.result:
        Adding test case
      mysql-test/t/lowercase_table.test:
        Adding test case
      sql/sql_parse.cc:
        Set table->table.length to result of my_casedn_str().
      strings/ctype-bin.c:
        Changeing return type from void to int for caseup_str() and casedn_str()
      strings/ctype-mb.c:
        Changeing return type from void to int for caseup_str() and casedn_str()
      strings/ctype-simple.c:
        Changeing return type from void to int for caseup_str() and casedn_str()
      strings/ctype-ucs2.c:
        Changeing return type from void to int for caseup_str() and casedn_str()
      strings/ctype-utf8.c:
        Changeing return type from void to int for caseup_str() and casedn_str().
            Optimization, to get rid of strlen():
            Adding my_utf8_uni_no_range() and my_uni_utf8_no_range() - for null
            terninated strings.
      e463ee94
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 4453dc48
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b18908
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/r/ctype_utf8.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      4453dc48
    • unknown's avatar
      Bug#18908: ERROR 1406 (22001): Data too long for column :: using utf8 · 00c1c19e
      unknown authored
      Problem: Too confusing error message when cannot convert
      between string and column character sets on INSERT and UPDATE.
      Fix: producing a better error message, instead of "Data too long"
      in such cases
      Additional changes: Adding "DROP TABLE IF EXISTS" into several
      tests to be safe against failures in previous tests. 
      
      
      mysql-test/include/strict_autoinc.inc:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/ctype_recoding.result:
        Fixing test results
      mysql-test/r/ctype_utf8.result:
        Fixing test results
      mysql-test/r/fulltext.result:
        Fixing test results
      mysql-test/r/strict_autoinc_1myisam.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_2innodb.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_3heap.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_4bdb.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_5ndb.result:
        Adding DROP TABLE to be safe against previous tests failure.
      sql/field.cc:
        - producing better error messages than
          "DATA TRUNCATED" or "DATA TOO LONG" (in strict mode)
          in case of "not well formed source" and
          "cannot convert to field character set"
        - Performance improvements: copying directly to
          the target, instead of using an intermediate
          String.
        - Moving duplicate code into report_data_too_long() function.
      sql/sql_string.cc:
        Adding a new function to convert strings between character sets,
        but not more than "nchar" characters - a helper function for
        Field_string::store(), Field_varstring::store() and Field_blob::store().
      sql/sql_string.h:
        Adding new function prototype.
      00c1c19e
  6. 25 Oct, 2006 4 commits
  7. 23 Oct, 2006 4 commits
    • unknown's avatar
      Bug #22027 CREATE TABLE IF NOT EXISTS SELECT logged improperly with row-based binlog · a76c3814
      unknown authored
      results of binlog_stm_binlog in sync
      
      
      mysql-test/r/binlog_stm_binlog.result:
        results changed
      a76c3814
    • unknown's avatar
      Bug #22762 create talbe if not exists like a-temp-table binlogged w/o "if not exists" · 5f858aad
      unknown authored
      Bug #22027 CREATE TABLE IF NOT EXISTS SELECT logged improperly with row-based binlog
          
      post-merge fix, also making results free from server's version number.
      
      
      mysql-test/extra/binlog_tests/binlog.test:
        eliminating format-description line in show binlog events.
      mysql-test/r/binlog_row_binlog.result:
        results changed
      5f858aad
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 5438ab9c
      unknown authored
      into  dsl-hkigw8-febefb00-148.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/bug22027_create_select_exists
      
      
      sql/sql_show.cc:
        Auto merged
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        SCCS merged
      5438ab9c
    • unknown's avatar
      Bug#22823 gt and lt operators appear to be reversed in ExtractValue() command · 7595cb06
      unknown authored
      Problem: "greater than" and "less than" XPath operators appeared to have been implemented in reverse.
      Fix: swap arguments to eq_func() and eq_func_reverse() to provide correct operation result.
      
      
      mysql-test/r/xml.result:
        Adding test case
      mysql-test/t/xml.test:
        Adding test case
      sql/item_xmlfunc.cc:
        Pass argumemtns to eq_func() and eq_func_reverse() in correct order:
        nodeset argument first, then scalar argument.
        Also, fixing eq_func_reverse() to do correct conversion, e.g:
        "scalar > nodeset" into "nodeset < scalar" instead of wrong "nodeset <= scalar"
        "scalar >= nodeset" into "nodeset <= scalar" instead of wrong "nodeset < scalar".
      7595cb06
  8. 20 Oct, 2006 6 commits
  9. 19 Oct, 2006 6 commits
    • unknown's avatar
      After merge fix. · 94f337bb
      unknown authored
      94f337bb
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/engines/mysql-5.0-engines · 9a77a540
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/engines/mysql-5.1-engines
      
      
      mysql-test/t/repair.test:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      mysql-test/r/repair.result:
        Manual merge.
      9a77a540
    • unknown's avatar
      Merge dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.0-opt · fcbf1509
      unknown authored
      into  dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.1-opt
      
      
      BitKeeper/deleted/.del-bdb.result:
        Auto merged
      mysql-test/r/func_gconcat.result:
        Auto merged
      mysql-test/r/group_min_max.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/olap.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/type_decimal.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/func_gconcat.test:
        Auto merged
      mysql-test/t/group_min_max.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      include/my_base.h:
        SCCS merged
      mysql-test/include/mix1.inc:
        SCCS merged
      mysql-test/r/group_by.result:
        SCCS merged
      mysql-test/r/innodb_mysql.result:
        SCCS merged
      mysql-test/t/group_by.test:
        SCCS merged
      sql/sql_select.cc:
        SCCS merged
      fcbf1509
    • unknown's avatar
      Merge dl145s.mysql.com:/data/bk/team_tree_merge/mysql-5.1 · f4f15b54
      unknown authored
      into  dl145s.mysql.com:/data/bk/team_tree_merge/MERGE/mysql-5.1-opt
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/table.cc:
        Auto merged
      f4f15b54
    • unknown's avatar
      After merge fix. · 3ad2baa1
      unknown authored
      3ad2baa1
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/engines/mysql-4.1-engines · baacb8a1
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/engines/mysql-5.0-engines
      
      
      myisam/sort.c:
        Auto merged
      mysql-test/r/repair.result:
        Auto merged
      mysql-test/t/repair.test:
        Auto merged
      sql/sql_base.cc:
        Use local.
      baacb8a1