1. 02 Jul, 2007 8 commits
  2. 01 Jul, 2007 9 commits
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime · 002ee981
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      002ee981
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7282a3eb
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.0-runtime
      
      
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      7282a3eb
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime · ddb7005f
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      BitKeeper/deleted/.del-ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_error.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/show_check.result:
        Manual merge.
      mysql-test/t/show_check.test:
        Manual merge.
      sql/item.h:
        Manual merge.
      sql/sp.cc:
        Manual merge.
      sql/sql_trigger.cc:
        Manual merge.
      tests/mysql_client_test.c:
        Manual merge.
      ddb7005f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · c08610e0
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/events_bugs.result:
        Auto merged
      sql/event_data_objects.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      c08610e0
    • unknown's avatar
      Update a missed test result. · 4f7f8227
      unknown authored
      
      mysql-test/r/ps_6bdb.result:
        Update test results (character sets patch).
      4f7f8227
    • unknown's avatar
      Corrected a test case. · 052477f1
      unknown authored
      052477f1
    • unknown's avatar
      Made test case platform independent. · 1c38ba3b
      unknown authored
      1c38ba3b
    • unknown's avatar
      Post-merge fix. · 9521abc5
      unknown authored
      9521abc5
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 7b7b720c
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.1-opt
      
      
      mysql-test/r/binary.result:
        Auto merged
      mysql-test/r/ctype_collate.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/binary.test:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/field_conv.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      mysql-test/r/create.result:
        Manual merge.
      mysql-test/r/subselect.result:
        Manual merge.
      mysql-test/r/type_enum.result:
        Manual merge.
      mysql-test/t/type_enum.test:
        Manual merge.
      mysql-test/include/mix1.inc:
        Manual merge.
      mysql-test/r/innodb_mysql.result:
        Manual merge.
      mysql-test/t/subselect.test:
        Manual merge.
      sql/sql_parse.cc:
        Manual merge.
      storage/myisam/mi_key.c:
        Manual merge.
      7b7b720c
  3. 30 Jun, 2007 9 commits
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-4.1-opt · 0796e7c2
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      
      mysql-test/r/type_enum.result:
        Auto merged
      mysql-test/t/type_enum.test:
        Auto merged
      sql/field_conv.cc:
        SCCS merged
      0796e7c2
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 4dd3c3e9
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B29157-5.1-opt
      
      4dd3c3e9
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb · 726b7e8f
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-rpl
      
      
      mysql-test/t/disabled.def:
        SCCS merged
      726b7e8f
    • unknown's avatar
      disable with bug no · f1a468af
      unknown authored
      f1a468af
    • unknown's avatar
      disabled test with bug number · 5c8f902d
      unknown authored
      5c8f902d
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb · f9d1cc32
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-rpl
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        Auto merged
      mysql-test/t/ndb_alter_table2.test:
        Auto merged
      mysql-test/t/ndb_alter_table3.test:
        Auto merged
      mysql-test/t/ndb_autodiscover3.test:
        Auto merged
      mysql-test/t/ndb_binlog_log_bin.test:
        Auto merged
      mysql-test/t/ndb_binlog_multi.test:
        Auto merged
      mysql-test/t/ndb_cache_multi.test:
        Auto merged
      mysql-test/t/ndb_cache_multi2.test:
        Auto merged
      mysql-test/t/ndb_single_user.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        SCCS merged
      f9d1cc32
    • unknown's avatar
      0a2aa5ca
    • unknown's avatar
      [PATCH] Test for BUG#27404 util thd mysql_parse sig11 when default multibyte charset · 36d969ba
      unknown authored
      Test that we can start a MySQL Server with a default multibyte charset with
      NDB running. Test *really* basic functionality too.
      
      Index: ndb-work/mysql-test/r/rpl_ndb_ctype_ucs2_def.result
      ===================================================================
      
      
      mysql-test/r/rpl_ndb_ctype_ucs2_def.result:
        Test for BUG#27404 util thd mysql_parse sig11 when default multibyte charset
      mysql-test/t/rpl_ndb_ctype_ucs2_def-master.opt:
        Test for BUG#27404 util thd mysql_parse sig11 when default multibyte charset
      mysql-test/t/rpl_ndb_ctype_ucs2_def.test:
        Test for BUG#27404 util thd mysql_parse sig11 when default multibyte charset
      36d969ba
    • unknown's avatar
      [PATCH] BUG#27404 util thd mysql_parse sig11 when mysqld default multibyte charset · f0da211f
      unknown authored
      NDB util thread calls mysql_parse internally with plain old c strings (7bit ascii) to create tables (e.g. mysql.ndb_schema). With mysqld default charset set to a multibyte one (e.g. ucs2) mysql_parse would try to interpret the 7bit string as UCS2 and promptly explode in a heap.
      
      Solution is to set the util thread to be using utf8 charset.
      
      Index: ndb-work/sql/ha_ndbcluster.cc
      ===================================================================
      
      
      sql/ha_ndbcluster.cc:
        BUG#27404 util thd mysql_parse sig11 when mysqld default multibyte charset
      f0da211f
  4. 29 Jun, 2007 14 commits
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt-29205 · 1f866bcf
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      1f866bcf
    • unknown's avatar
      Merge mysql_cab_desk.:C:/source/c++/mysql-5.1-new-rpl · d5faa5f6
      unknown authored
      into  mysql_cab_desk.:C:/source/c++/mysql-5.1_BUG_28991
      
      d5faa5f6
    • unknown's avatar
      Fixed bug #29205. · bf7a9ad2
      unknown authored
      When a UNION statement forced conversion of an UTF8
      charset value to a binary charset value, the byte
      length of the result values was truncated to the
      CHAR_LENGTH of the original UTF8 value.
      
      
      sql/item.cc:
        Fixed bug #29205.
        The calculation of data length was modified in
        the Item_type_holder::join_types method to take into
        account possible conversion of a multibyte charset
        value to a binary charset value, when each
        multibyte character is converted into a sequence
        of bytes (not to a single byte of binary charset).
      mysql-test/t/ctype_utf8.test:
        Updated test case for bug #29205.
      mysql-test/r/ctype_utf8.result:
        Updated test case for bug #29205.
      bf7a9ad2
    • unknown's avatar
      Bug#29451 (Broken makefile dependencies with libndb.la) · 03346d64
      unknown authored
      In Automake,
      mysqld_LDADD = libndb.la
      only adds libndb to the link command for mysqld,
      but does not declare a dependency.
      
      Added libndb.la to mysqld_DEPENDENCIES
      
      This fix a build race condition that currently
      breaks make -J builds, and also enforce a re-link
      of mysqld when libndb.la changes.
      
      
      sql/Makefile.am:
        Fixed missing dependency
      03346d64
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 49ab98f9
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/29261-bug-5.0-opt-mysql
      
      49ab98f9
    • unknown's avatar
      Bug#29261: Sort order of the collation wasn't used when comparing trailing · 80824e67
      unknown authored
      spaces.
      
      When the my_strnncollsp_simple function compares two strings and one is a prefix
      of another then this function compares characters in the rest of longer key
      with the space character to find whether the longer key is greater or less.
      But the sort order of the collation isn't used in this comparison. This may
      lead to a wrong comparison result, wrongly created index or wrong order of the
      result set of a query with the ORDER BY clause.
      
      Now the my_strnncollsp_simple function uses collation sort order to compare
      the characters in the rest of longer key with the space character.
      
      
      mysql-test/t/ctype_collate.test:
        Added a test case for the bug#29261: Sort order of the collation wasn't used
        when comparing trailing spaces.
      mysql-test/r/ctype_collate.result:
        Added a test case for the bug#29261: Sort order of the collation wasn't used
        when comparing trailing spaces.
      strings/ctype-simple.c:
        Bug#29261: Sort order of the collation wasn't used when comparing trailing
        spaces.
        Now the my_strnncollsp_simple function uses collation sort order to compare
        the characters in the rest of longer key with the space character.
      80824e67
    • unknown's avatar
      Adjusted tests results · d2428828
      unknown authored
      
      mysql-test/r/ndb_sp.result:
        Adjusted test results
      d2428828
    • unknown's avatar
      Update result files. · f66a2726
      unknown authored
      
      mysql-test/r/ps_6bdb.result:
        Update result file.
      mysql-test/r/ps_7ndb.result:
        Update result file.
      f66a2726
    • unknown's avatar
      Fix typo. · 9357a535
      unknown authored
      9357a535
    • unknown's avatar
      Follow up to the patch for the BUG#10491. · 7e5e42b3
      unknown authored
      
      mysql-test/r/ps_1general.result:
        Update result file.
      mysql-test/r/ps_2myisam.result:
        Update result file.
      mysql-test/r/ps_3innodb.result:
        Update result file.
      mysql-test/r/ps_4heap.result:
        Update result file.
      mysql-test/r/ps_5merge.result:
        Update result file.
      tests/mysql_client_test.c:
        Fix test -- after field changing character set to utf8 in the server,
        length should be calculated differently.
      7e5e42b3
    • unknown's avatar
      Folow up on the CS patch: · 5a929e2d
      unknown authored
      1. Fix ddl_i18n_koi8r, ddl_i18n_utf8: explicitly specify character-sets
      directory for mysqldump;
      2. Fix crash in mysqldump if collation is not found;
      3. Use proper way to compare character set names.
      
      
      client/mysqldump.c:
        Prevent crash if collation does not exist.
      mysql-test/t/ddl_i18n_koi8r.test:
        Explicitly specify character-sets-directory for mysqldump.
      mysql-test/t/ddl_i18n_utf8.test:
        Explicitly specify character-sets-directory for mysqldump.
      sql/sql_lex.cc:
        Use my_charset_same() function to check if the charset names are equal.
      5a929e2d
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · b01a04eb
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B27333-gcov-5.0-opt
      
      b01a04eb
    • unknown's avatar
      Bug#27333: subquery grouped for aggregate of outer · 7d6c4d8d
      unknown authored
      query / no aggregate of subquery
       The optimizer counts the aggregate functions that 
       appear as top level expressions (in all_fields) in 
       the current subquery. Later it makes a list of these
       that it uses to actually execute the aggregates in
       end_send_group().
       That count is used in several places as a flag whether
       there are aggregates functions.
       While collecting the above info it must not consider
       aggregates that are not aggregated in the current 
       context. It must treat them as normal expressions 
       instead. Not doing that leads to incorrect data about
       the query, e.g. running a query that actually has no
       aggregate functions as if it has some (and hence is
       expected to return only one row).
       Fixed by ignoring the aggregates that are not aggregated
       in the current context. 
       One other smaller omission discovered and fixed in the 
       process : the place of aggregation was not calculated for
       user defined functions. Fixed by calling 
       Item_sum::init_sum_func_check() and 
       Item_sum::check_sum_func() as it's done for the rest of 
       the aggregate functions.
      
      
      mysql-test/r/subselect.result:
        Bug #27333: test case
      mysql-test/t/subselect.test:
        Bug #27333: test case
      sql/item_subselect.cc:
        Bug#27333: need select_lex to filter out
         aggregates that are not aggregated in
         the current select.
      sql/item_sum.cc:
        Bug#27333: need select_lex to filter out
         aggregates that are not aggregated in
         the current select.
      sql/item_sum.h:
        Bug#27333: calculate the place of 
         aggregation for user defined functions.
      sql/sql_select.cc:
        Bug#27333: When counting the aggregated functions
         and collecting a list of them we must not consider
         the aggregates that are not aggregated in the local
         context as "local" : i.e. we must treat them as 
         normal functions and not add them to the aggregate
         functions list.
      sql/sql_select.h:
        Bug#27333: need select_lex to filter out
         aggregates that are not aggregated in
         the current select.
      7d6c4d8d
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · 64f8e49d
      unknown authored
      into  mysql.com:/home/hf/work/29247/my51-29247
      
      
      sql-common/client.c:
        Auto merged
      sql/handler.h:
        Auto merged
      64f8e49d