1. 15 Aug, 2007 2 commits
    • unknown's avatar
      Merge linux-st28.site:/home/martin/mysql/src/bug28570/my50-bug28570 · eea647b5
      unknown authored
      into  linux-st28.site:/home/martin/mysql/src/bug28570/my51-bug28570
      
      
      sql/opt_range.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Bug#28570: Hand merged test case
      mysql-test/r/innodb_mysql.result:
        Bug#28570: Hand merged test result
      sql/handler.cc:
        Bug#28570: Hand merged file
      eea647b5
    • unknown's avatar
      bug#28570: handler::index_read() is called with different find_flag when · 01f8130a
      unknown authored
      ORDER BY is used
      
      The range analysis module did not correctly signal to the 
      handler that a range represents a ref (EQ_RANGE flag). This causes 
      non-range queries like 
      SELECT ... FROM ... WHERE keypart_1=const, ..., keypart_n=const 
      ORDER BY ... FOR UPDATE
      to wait for a lock unneccesarily if another running transaction uses
      SELECT ... FOR UPDATE on the same table.
      
      Fixed by setting EQ_RANGE for all range accesses that represent 
      an equality predicate. 
      
      
      mysql-test/r/innodb_mysql.result:
        bug#28570: Test Result
      mysql-test/t/innodb_mysql.test:
        bug#28570: Test Case
      sql/handler.cc:
        bug#28570: Updated comment
      sql/opt_range.cc:
        bug#28570: Removed the criterion that key has to be unique (HA_NOSAME) in 
        order for the EQ_RANGE flag to be set. It is sufficient that the range 
        represent a ref access.
      01f8130a
  2. 06 Aug, 2007 8 commits
  3. 05 Aug, 2007 7 commits
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · e106b09a
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug30219
      
      
      e106b09a
    • unknown's avatar
      Fix bug #30219. · 4e6e1220
      unknown authored
      This bug manifested itself for queries with grouping by columns of
      the BIT type. It led to wrong comparisons of bit-field values and
      wrong result sets.
      Bit-field values never cannot be compared as binary values. Yet
      the class Field_bit had an implementation of the cmp method that
      compared bit-fields values as binary values. 
      Also the get_image and set_image methods of the base class Field 
      cannot be used for objects of the Field_bit class. 
      Now these methods are declared as virtual and specific implementations
      of the methods are provided for the class Field_bit.
      
      
      mysql-test/r/type_bit.result:
        Added a test case for bug #30219.
      mysql-test/t/type_bit.test:
        Added a test case for bug #30219.
      sql/field.h:
        Fix bug #30219.
        This bug manifested itself for queries with grouping by columns of
        the BIT type. It led to wrong comparisons of bit-field values and
        wrong result sets.
        Bit-field values never cannot be compared as binary values. Yet
        the class Field_bit had an implementation of the cmp method that
        compared bit-fields values as binary values.
        Also the get_image and set_image methods of the base class Field
        cannot be used for objects of the Field_bit class. 
        Now these methods are declared as virtual and specific implementations
        of these methods are provided for the class Field_bit.
      4e6e1220
    • unknown's avatar
      rpl_row_tabledefs_2myisam.result: · 5807eb18
      unknown authored
         merged 5.1-main to 5.1-opt : error numbers changed.
      Many files:
         merged 5.1-main to 5.1-opt : error numbers changed
      rpl_extraCol_innodb.result:
        merged 5.1-main to 5.1-opt : error numbers changed
      
      
      mysql-test/suite/rpl/r/rpl_extraCol_innodb.result:
        merged 5.1-main to 5.1-opt : error numbers changed
      mysql-test/suite/rpl/r/rpl_extraCol_myisam.result:
         merged 5.1-main to 5.1-opt : error numbers changed
      mysql-test/suite/rpl/r/rpl_incident.result:
         merged 5.1-main to 5.1-opt : error numbers changed
      mysql-test/suite/rpl/r/rpl_loaddata_fatal.result:
         merged 5.1-main to 5.1-opt : error numbers changed
      mysql-test/suite/rpl/r/rpl_row_tabledefs_2myisam.result:
         merged 5.1-main to 5.1-opt : error numbers changed.
      mysql-test/suite/rpl/r/rpl_row_tabledefs_3innodb.result:
         merged 5.1-main to 5.1-opt : error numbers changed
      mysql-test/suite/rpl_ndb/r/rpl_ndb_extraCol.result:
         merged 5.1-main to 5.1-opt : error numbers changed
      5807eb18
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.1 · 03e379d3
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.1-opt-merge
      
      
      mysql-test/include/read_many_rows.inc:
        Auto merged
      mysql-test/r/events_bugs.result:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/read_many_rows_innodb.result:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_rcontext.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_class.h:
        Manual merge.
      storage/innobase/handler/ha_innodb.cc:
        Manual merge.
      03e379d3
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0 · 983cda8d
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-merge
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      983cda8d
    • unknown's avatar
      Removed warnings after fix for bug 28404. · 35249143
      unknown authored
      35249143
    • unknown's avatar
      4c33942f
  4. 04 Aug, 2007 4 commits
  5. 03 Aug, 2007 19 commits
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-2team · 78a52138
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-2team
      
      
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      strings/conf_to_src.c:
        Auto merged
      strings/ctype-extra.c:
        Auto merged
      78a52138
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 6c1edb11
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.0-2team
      
      
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      6c1edb11
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-2team · 7986b103
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-2team
      
      
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      7986b103
    • unknown's avatar
      .del-readme.txt-grumble-grumble: · 712d7fa2
      unknown authored
        Rename: BitKeeper/deleted/.del-readme.txt -> BitKeeper/deleted/.del-readme.txt-grumble-grumble
      
      
      BitKeeper/deleted/.del-readme.txt-grumble-grumble:
        Rename: BitKeeper/deleted/.del-readme.txt -> BitKeeper/deleted/.del-readme.txt-grumble-grumble
      712d7fa2
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.1-opt · 4b8ecfce
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.1-opt-bug28404
      
      
      mysql-test/r/group_by.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      4b8ecfce
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · 556f5003
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
      
      
      556f5003
    • unknown's avatar
      Fixes to eliminate valgrind warnings. · a04dff19
      unknown authored
      
      sql/rpl_record.cc:
        Factoring out expression and putting it in an auto variable.
      sql/rpl_utility.cc:
        Removing a check that causes compile warnings.
      sql/rpl_utility.h:
        Ensuring that there is enough memory for the metadata, to avoid reads
        from uninitialized memory. Initializing the memory to keep valgrind
        quiet.
      a04dff19
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B25228-5.0-opt · d6bef8a5
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B25228-5.1-opt
      
      
      mysql-test/suite/rpl/t/rpl_relayspace.test:
        Auto merged
      d6bef8a5
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/mysql-5.0-opt · 5b508802
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B25228-5.1-opt
      
      
      5b508802
    • unknown's avatar
      Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b28875 · bcee4501
      unknown authored
      into  mysql.com:/home/bar/mysql-work/mysql-5.1.b28875
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysys/charset.c:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      strings/conf_to_src.c:
        Auto merged
      strings/ctype-extra.c:
        Auto merged
      strings/ctype.c:
        Auto merged
      include/m_ctype.h:
        After merge fix
      mysql-test/r/ctype_ucs.result:
        After merge fix
      mysql-test/r/func_time.result:
        After merge fix
      mysql-test/t/ctype_ucs.test:
        After merge fix
      mysql-test/t/func_time.test:
        After merge fix
      sql/sql_lex.cc:
        After merge fix
      sql/sql_lex.h:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
      bcee4501
    • unknown's avatar
      Bug #25228: rpl_relayspace.test fails on powermacg5, vm-win2003-32-a · 71c3c0cf
      unknown authored
      A test case was waiting for a fixed number of seconds for a specific 
      state of the slave IO thread to take place.
      Fixed by waiting in a loop for that specific thread state instead 
      (or timeout).
      
      
      mysql-test/t/rpl_relayspace.test:
        Bug #25228: fixed test case
      71c3c0cf
    • unknown's avatar
      After merge fix · be04bf55
      unknown authored
      be04bf55
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1-opt · acc138af
      unknown authored
      into  bk-internal.mysql.com:/users/gshchepa/5.1-opt
      
      
      acc138af
    • unknown's avatar
      Many files: · 8a2384d5
      unknown authored
        Post-merge fix.
      
      
      mysql-test/suite/rpl/r/rpl_udf.result:
        Post-merge fix.
      mysql-test/suite/ndb/r/ndb_dd_basic.result:
        Post-merge fix.
      mysql-test/suite/ndb/r/ndb_dd_ddl.result:
        Post-merge fix.
      mysql-test/suite/ndb/r/ndb_gis.result:
        Post-merge fix.
      mysql-test/suite/ndb/r/ndb_row_format.result:
        Post-merge fix.
      mysql-test/suite/ndb/r/ndb_single_user.result:
        Post-merge fix.
      8a2384d5
    • unknown's avatar
      Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b28875 · 0d1972aa
      unknown authored
      into  mysql.com:/home/bar/mysql-work/mysql-5.0-rpl
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      strings/conf_to_src.c:
        Auto merged
      strings/ctype-extra.c:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        After merge fix
      mysql-test/t/ctype_ucs.test:
        After merge fix
      0d1972aa
    • unknown's avatar
      Bug#28875 Conversion between ASCII and LATIN1 charsets does not function · 53df09a9
      unknown authored
      (Regression, caused by a patch for the bug 22646).
      Problem: when result type of date_format() was changed from
      binary string to character string, mixing date_format()
      with a ascii column in CONCAT() stopped to work.
      Fix:
      - adding "repertoire" flag into DTCollation class,
      to mark items which can return only pure ASCII strings.
      - allow character set conversion from pure ASCII to other character sets.
      
      
      include/m_ctype.h:
        Defining new flags.
        Adding new function prototypes.
      mysql-test/r/ctype_ucs.result:
        Adding tests.
      mysql-test/r/ctype_utf8.result:
        Adding tests.
      mysql-test/r/func_time.result:
        Adding tests.
      mysql-test/t/ctype_ucs.test:
        Adding tests.
      mysql-test/t/ctype_utf8.test:
        Adding tests.
      mysql-test/t/func_time.test:
        Adding test.
      mysys/charset.c:
        Adding pure ASCII detection when loading a dynamic character set.
      sql/item.cc:
        - Moving detection of a Unicode superset into function.
        - Adding detection of a ASCII subset.
        - Adding creation of to-ASCII character set convertor when
          safe_charset_converter() failed and when the argument.
          repertoire is know to be pure ASCII.
      sql/item.h:
        - Adding "repertoire" member into DTCollation class.
        - Adding "repertoire" argument to constructors.
        - Adding new methods:
          set_repertoire_from_charset()
          set_repertoire_from_value()
      sql/item_func.cc:
        Adding "repertoire" argument.
      sql/item_strfunc.cc:
        Adding "repertoire" argument.
      sql/item_timefunc.cc:
        Initializing the result repertoire taking into account the "is_ascii"
        flag of the current locale.
      sql/sql_lex.cc:
        Detect 7bit strings, return in Lex->text_string_is_7bit.
      sql/sql_lex.h:
        Adding new member into LEX structure.
        Adding new member into Lex_input_stream
      sql/sql_string.cc:
        Allow simple copy from pure ASCII to a ASCII-based character set.
      sql/sql_yacc.yy:
        Depening on Lex->text_string_is_7bit and character set features,
        create Item_string with MY_REPERTOIRE_ASCII when it is possible.
      strings/conf_to_src.c:
        - Adding printing of the "MY_CS_PUREASCII" flag
        - Adding printing of copyright
      strings/ctype-extra.c:
        Recreating ctype-extra.c: ascii_general_ci and ascii_bin
        are now marked with MY_CS_PUREASCII flag.
      strings/ctype.c:
        Adding new functions.
      53df09a9
    • unknown's avatar
      Many files: · 6930e7de
      unknown authored
        Post-merge fix.
      
      
      mysql-test/r/binlog_unsafe.result:
        Post-merge fix.
      mysql-test/r/events_bugs.result:
        Post-merge fix.
      mysql-test/r/events_trans.result:
        Post-merge fix.
      mysql-test/r/sp.result:
        Post-merge fix.
      mysql-test/r/sp_gis.result:
        Post-merge fix.
      mysql-test/r/xml.result:
        Post-merge fix.
      6930e7de
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · d17cc9e7
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B30193-5.0-opt
      
      
      d17cc9e7
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B30193-5.0-opt · acb23132
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B30193-5.1-opt
      
      
      sql/sql_table.cc:
        null merge of a 5.1 fix backport
      acb23132