1. 05 Aug, 2007 4 commits
    • unknown's avatar
      rpl_row_tabledefs_2myisam.result: · 5d434a72
      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
      5d434a72
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.1 · 6429a990
      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.
      6429a990
    • unknown's avatar
      Removed warnings after fix for bug 28404. · 6cf62f87
      unknown authored
      6cf62f87
    • unknown's avatar
      1efab5de
  2. 04 Aug, 2007 3 commits
  3. 03 Aug, 2007 19 commits
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-2team · 5997e3dd
      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
      5997e3dd
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · ccd663f6
      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
      ccd663f6
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-2team · 6a2165df
      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
      6a2165df
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.1-opt · beb395c2
      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
      beb395c2
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · 0aeb19c8
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
      
      0aeb19c8
    • unknown's avatar
      Fixes to eliminate valgrind warnings. · 12094daa
      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.
      12094daa
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B25228-5.0-opt · 5a14e40e
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B25228-5.1-opt
      
      
      mysql-test/suite/rpl/t/rpl_relayspace.test:
        Auto merged
      5a14e40e
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/mysql-5.0-opt · 2cd2af5f
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B25228-5.1-opt
      
      2cd2af5f
    • unknown's avatar
      Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b28875 · f016f639
      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
      f016f639
    • unknown's avatar
      Bug #25228: rpl_relayspace.test fails on powermacg5, vm-win2003-32-a · 11cf193b
      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
      11cf193b
    • unknown's avatar
      After merge fix · 8460fe17
      unknown authored
      8460fe17
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1-opt · 0257f140
      unknown authored
      into  bk-internal.mysql.com:/users/gshchepa/5.1-opt
      
      0257f140
    • unknown's avatar
      Many files: · 6c39b374
      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.
      6c39b374
    • unknown's avatar
      Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b28875 · 4bf40aba
      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
      4bf40aba
    • unknown's avatar
      Bug#28875 Conversion between ASCII and LATIN1 charsets does not function · a6430db2
      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.
      a6430db2
    • unknown's avatar
      Many files: · 8b7f6b8a
      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.
      8b7f6b8a
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 3ba7d3d1
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B30193-5.0-opt
      
      3ba7d3d1
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B30193-5.0-opt · 91ae1a24
      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
      91ae1a24
    • unknown's avatar
      WL#3228 (NDB) : RBR using different table defs on slave/master · 192a8a16
      unknown authored
        
      This patch removes a portion of the last patch to Field_blob::copy
      after problems found during testing of tests using distinct operations.
      
      
      sql/field.h:
        WL#3228 (NDB) : RBR using different table defs on slave/master
          
        This patch removes a portion of the last patch to Field_blob::copy
        after problems found during testing of tests using distinct operations.
        
        The code uses the old version of teh get_length() method.
      192a8a16
  4. 02 Aug, 2007 14 commits
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 2c18a405
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/unireg.h:
        Auto merged
      sql/share/errmsg.txt:
        Merge with 5.0-opt.
      2c18a405
    • unknown's avatar
      Merge gshchepa@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · e66a6d0a
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      e66a6d0a
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-27352 · 7750c7b7
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      sql/sql_parse.cc:
        Auto merged
      7750c7b7
    • unknown's avatar
      Fixed bug #27352. · 45b4a7e3
      unknown authored
      The SELECT query with more than 31 nested dependent SELECT queries returned
      wrong result.
      
      New error message has been added: ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT.
      It will be reported as: "Too high level of nesting for select".
      
      
      sql/sql_parse.cc:
        Fixed bug #27352.
        The Item_sum::register_sum_func method has been modified to return
        TRUE on exceeding of allowed level of SELECT nesting and to report
        corresponding error message.
      sql/unireg.h:
        Fixed bug #27352.
        Constant definition has been added: maximal allowed level of SELECT nesting.
      mysql-test/t/select.test:
        Updated test case for bug #27352.
      mysql-test/r/select.result:
        Updated test case for bug #27352.
      sql/share/errmsg.txt:
        Fixed bug #27352.
        New error message has been added: ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT.
      45b4a7e3
    • unknown's avatar
      WL#3228 (NDB) : RBR using different table defs on slave/master · fba854a0
      unknown authored
      This patch corrects a problem found during testing on Solaris. The code
      changes how length values are retrieved on big endian machines. The
      patch allows the rpl_extraColmaster tests to run on these machines.
      
      
      mysql-test/suite/rpl/r/rpl_row_create_table.result:
        WL#3228 (NDB) : RBR using different table defs on slave/master
        
        New result file with changes from merge of 5.1 main.
      mysql-test/suite/rpl/t/disabled.def:
        WL#3228 (NDB) : RBR using different table defs on slave/master
        
        Disable the rpl_rwo_extraColmaster_ndb test (WL#3915) because the code
        fails on Big Endian machines. See BUG#29549 for more details.
      sql/field.cc:
        WL#3228 (NDB) : RBR using different table defs on slave/master
        
        This patch corrects a problem found during testing on Solaris. The code
        changes how the store_length method processes requests for values on
        big endian machines.
      sql/field.h:
        WL#3228 (NDB) : RBR using different table defs on slave/master
        
        This patch corrects a problem found during testing on Solaris. The code
        changes how the store_length method processes requests for values on
        big endian machines. It also changes the get_packed_length() method to
        use the endian-ness of the host in getting the length + packlength.
      sql/rpl_record.cc:
        WL#3228 (NDB) : RBR using different table defs on slave/master
        
        This patch turns on the little endian switch (db_low_byte_first) in 
        order to ensure the values are unpack correctly from binlog as they
        are stored in little endian format in binlog.
      sql/rpl_utility.cc:
        WL#3228 (NDB) : RBR using different table defs on slave/master
        
        This patch corrects a problem found during testing on Solaris. The code
        changes how the calculated field size method processes requests for 
        values on big endian machines.
      fba854a0
    • unknown's avatar
      Fixed bug#28404. · bdba4c96
      unknown authored
      This patch adds cost estimation for the queries with ORDER BY / GROUP BY
      and LIMIT. 
      If there was a ref/range access to the table whose rows were required
      to be ordered in the result set the optimizer always employed this access
      though a scan by a different index that was compatible with the required 
      order could be cheaper to produce the first L rows of the result set.
      Now for such queries the optimizer makes a choice between the cheapest
      ref/range accesses not compatible with the given order and index scans
      compatible with it.
      
      
      mysql-test/r/distinct.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/endspace.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/group_by.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/group_min_max.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/innodb.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/innodb_mysql.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/merge.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/order_by.result:
        Added a test case for bug #28404.
      mysql-test/r/select_found.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/r/subselect.result:
        Adjusted results for test cases affected fy the fix for bug #28404.
      mysql-test/t/distinct.test:
        Changed a test case after adding the fix for bug #28404.
      mysql-test/t/order_by.test:
        Added a test case for bug #28404.
      sql/sql_select.cc:
        Fixed bug#28404.
        This patch adds cost estimation for the queries with ORDER BY / GROUP BY
        and LIMIT. 
        Now for such queries the optimizer makes a choice between the cheapest
        ref/range accesses not compatible with the given order and index scans
        compatible with it.
        
        Modified the function test_if_skip_sort_order to make the above mentioned
        choice cost based.
      sql/sql_select.h:
        Fixed bug#28404.
        This patch adds cost estimation for the queries with ORDER BY / GROUP BY
        and LIMIT. 
        Added a new field fot the JOIN_TAB structure.
      bdba4c96
    • unknown's avatar
      Merge mysql_cab_desk.:C:/source/c++/mysql-5.1 · 9c064b94
      unknown authored
      into  mysql_cab_desk.:C:/source/c++/mysql-5.1-new-rpl-merge
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/log_event.cc:
        Auto merged
      mysql-test/suite/rpl/r/rpl_row_create_table.result:
        Merge with 5.1 main.
      9c064b94
    • unknown's avatar
      Merge cbell@bk-internal.mysql.com:/home/bk/mysql-5.1 · 04dbf960
      unknown authored
      into  mysql_cab_desk.:C:/source/c++/mysql-5.1
      
      
      BitKeeper/deleted/.del-.del-README.txt:
        Delete: BitKeeper/deleted/.del-README.txt
      04dbf960
    • unknown's avatar
      mysqld.cc: · 059e2e70
      unknown authored
        Post merge changes.
      
      
      sql/mysqld.cc:
        Post merge changes.
      059e2e70
    • unknown's avatar
      sql_class.h: · db455352
      unknown authored
        After merge changes.
      
      
      sql/sql_class.h:
        After merge changes.
      db455352
    • unknown's avatar
      Merge moonbone.local:/mnt/gentoo64/work/24989-bug-5.0-opt-mysql · 8a84dc32
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/test-5.1-opt-mysql
      
      
      sql/mysqld.cc:
        SCCS merged
      8a84dc32
    • unknown's avatar
      Merge moonbone.local:/mnt/gentoo64/work/24989-bug-5.0-opt-mysql · 62938b6d
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/test-5.1-opt-mysql
      
      
      sql/handler.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_rcontext.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      mysql-test/include/read_many_rows.inc:
        Manually merged
      mysql-test/r/read_many_rows_innodb.result:
        Manually merged
      sql/sql_class.cc:
        Manually merged
      sql/sql_class.h:
        Manually merged
      storage/innobase/handler/ha_innodb.cc:
        Manually merged
      62938b6d
    • unknown's avatar
      Bug #30193: crash during drop table and kill · 92eb49d5
      unknown authored
      When DROP TABLE detects that it has been killed
      by another thread it must unlock the table names
      it locked.
      
      Fixed by backporting the 5.1 error handling code.
      
      
      sql/sql_table.cc:
        Bug #30193: correct error handling when a thread 
        is killed inside DROP TABLE.
      92eb49d5
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · b71b835e
      unknown authored
      into  mysql.com:/home/ram/work/b30088/b30088.5.0
      
      
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      b71b835e