1. 11 Jan, 2007 3 commits
  2. 10 Jan, 2007 9 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · e84b4600
      unknown authored
      into  mysql.com:/home/hf/work/mysql-5.1-mrg
      
      
      e84b4600
    • unknown's avatar
      Merge mysql.com:/home/hf/work/24502/my51-24502 · cc13bfc6
      unknown authored
      into  mysql.com:/home/hf/work/mysql-5.1-mrg
      
      
      sql/sql_partition.cc:
        Auto merged
      cc13bfc6
    • unknown's avatar
      Merge mysql.com:/home/hf/work/22451/my51-22451 · f70b7020
      unknown authored
      into  mysql.com:/home/hf/work/mysql-5.1-mrg
      
      
      storage/federated/ha_federated.cc:
        Auto merged
      f70b7020
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my51-common · bd27fcf8
      unknown authored
      into  mysql.com:/d2/hf/mr10/my51-mr10
      
      
      mysql-test/t/csv.test:
        Auto merged
      bd27fcf8
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 93c01eb1
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      libmysql/libmysql.c:
        Auto merged
      mysql-test/r/join_nested.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/type_binary.result:
        Auto merged
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/type_newdecimal.test:
        Auto merged
      mysql-test/t/user_var.test:
        Auto merged
      sql/field.h:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      strings/decimal.c:
        Auto merged
      sql/mysqld.cc:
        manual merge
      sql/sql_base.cc:
        manual merge
      93c01eb1
    • unknown's avatar
      after merge fix · 53c9b0d0
      unknown authored
      53c9b0d0
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt · f5005095
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/mysql_priv.h:
        manual merge
      f5005095
    • unknown's avatar
      Fix for bug#20867 InnoDB Bug - create temporary table+crash => mysqld needs to clean up · ac71a8fa
      unknown authored
      2nd version
      During tmp tables cleanup we get the handler for temporary table
      and delete table using handler method.
      
      
      sql/mysql_priv.h:
        added function prototype
      sql/mysqld.cc:
        added call of mysql_rm_tmp_tables() function
      sql/sql_base.cc:
        mysql_rm_tmp_tables()
        -removed from table_cache_init
        -During tmp tables cleanup we get the handler for temporary table
         and delete table using handler method. 
         it allows to remove orphan records from data dictionary(InnoDB)
      ac71a8fa
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · b04652e2
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      
      b04652e2
  3. 09 Jan, 2007 11 commits
    • unknown's avatar
      Fixed bug#16861: User defined variable can have a wrong value if a tmp table was · f094fe55
      unknown authored
      used.
      
      The Item::save_in_field() function is called from fill_record() to fill the 
      new row with data while execution of the CREATE TABLE ... SELECT statement.
      Item::save_in_field() calls val_xxx() methods in order to get values.
      val_xxx() methods do not take into account the result field. Due to this
      Item_func_set_user_var::val_xxx() methods returns values from the original
      table, not from the temporary one.
      
      The save_in_field() member function is added to the Item_func_set_user_var
      class. It detects whether the result field should be used and properly updates
      the value of the user variable.
      
      
      sql/item_func.cc:
        Bug#16861: User defined variable can have a wrong value if a tmp table was used.
        Added the save_in_field() member function to the Item_func_set_user_var class.
      sql/item_func.h:
        Bug#16861: User defined variable can have a wrong value if a tmp table was used.
        Added the save_in_field() member function to the Item_func_set_user_var class.
      mysql-test/r/user_var.result:
        Extended the test case for bug#18681: User defined variable can have a wrong value if
        a tmp table was used.
      mysql-test/t/user_var.test:
        Extended the test case for bug#18681: User defined variable can have a wrong value if
        a tmp table was used.
      f094fe55
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 15bb22c0
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      15bb22c0
    • unknown's avatar
      Bug#14171: Wrong internal default value for a BINARY field. · 78dff026
      unknown authored
      A BINARY field is represented by the Field_string class. The space character
      is used as the filler for unused characters in such a field. But a BINARY field 
      should use \x00 instead.
      
      Field_string:reset() now detects whether the current field is a BINARY one
      and if so uses the \x00 character as a default value filler.
      
      
      sql/field.h:
        Bug#14171: Wrong internal default value for a BINARY field.
        Field_string:reset() now detects whether the current field is a BINARY one
        and if so uses the \x00 character as a default value filler.
      mysql-test/r/type_binary.result:
        Added a test case for the bug#14171: Wrong internal default value for a BINARY field.
      mysql-test/t/type_binary.test:
        Added a test case for the bug#14171: Wrong internal default value for a BINARY field.
      78dff026
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · f831f46a
      unknown authored
      into  moonbone.local:/home/evgen/bk-trees/mysql-5.0-opt
      
      
      f831f46a
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · eca431f3
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug25027
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      eca431f3
    • unknown's avatar
      Fix for bug#25026 `information_schema.KEY_COLUMN_USAGE`.`REFERENCED_TABLE_NAME` returns garbage · 2afe42d3
      unknown authored
      Unencode internal db & table name
      
      
      mysql-test/r/information_schema_inno.result:
        test result
      mysql-test/t/information_schema_inno.test:
        test case
      storage/innobase/handler/ha_innodb.cc:
        Unencode internal db & table name
      2afe42d3
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · 48451b86
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      
      48451b86
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 4b8d44ef
      unknown authored
      into  moonbone.local:/home/evgen/bk-trees/mysql-5.0-opt
      
      
      sql/filesort.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      strings/decimal.c:
        Auto merged
      4b8d44ef
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1 · 83951925
      unknown authored
      into  mysql.com:/d2/hf/opt/my51-opt
      
      
      mysql-test/t/csv.test:
        Auto merged
      83951925
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 470ea99c
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug24345
      
      
      sql/sql_select.cc:
        Auto merged
      470ea99c
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · e3d81238
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      
      e3d81238
  4. 08 Jan, 2007 2 commits
    • unknown's avatar
      mi_check.c: · 7990ec32
      unknown authored
        added a missing DBUG_RETURN
      
      
      storage/myisam/mi_check.c:
        added a missing DBUG_RETURN
      7990ec32
    • unknown's avatar
      Merge macbook.local:/Users/kgeorge/mysql/work/mysql-5.0-opt · cea66abf
      unknown authored
      into  macbook.local:/Users/kgeorge/mysql/work/merge-5.1-opt
      
      
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/gis-rtree.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/gis-rtree.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      storage/myisam/mi_check.c:
        Auto merged
      sql/sql_udf.cc:
        SCCS merged
      cea66abf
  5. 06 Jan, 2007 2 commits
  6. 05 Jan, 2007 1 commit
    • unknown's avatar
      Bug #15881: cast problems · 42e31f7a
      unknown authored
        The optimizer removes expressions from GROUP BY/DISTINCT
        if they happen to participate in a <expression> = <const>
        predicates of the WHERE clause (the idea being that if
        it's always equal to a constant it can't have multiple 
        values).
        However for predicates where the expression and the 
        constant item are of different result type this is not
        valid (e.g. a string column compared to 0).
        Fixed by additional check of the result types of the 
        expression and the constant and if they differ the 
        expression don't get removed from the group by list.
      
      
      mysql-test/r/distinct.result:
        Bug #15881: cast problems
          - test case
      mysql-test/t/distinct.test:
        Bug #15881: cast problems
          - test case
      sql/sql_select.cc:
        Bug #15881: cast problems
          - can't use <expr>=<const> to remove GROUP BY/DISTINCT cols
            if they're not of the same type.
      42e31f7a
  7. 04 Jan, 2007 6 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · c56c14f5
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      c56c14f5
    • unknown's avatar
      The CSV format has always relied on numbers being quoted, which doesn't always... · 8bd11441
      unknown authored
      The CSV format has always relied on numbers being quoted, which doesn't always happen. This fixes that so that numbers can now be unquoted (and the output does this as well so that the log takes up less space). 
      
      
      mysql-test/r/csv.result:
        Fixed test case for format change. Added new test for floating point numbers.
      mysql-test/t/csv.test:
        Fixed test for format change. Added test case for floating point numbers.
      storage/csv/ha_tina.cc:
        Updated code to handle numbers as raw unquotes types in CSV
      8bd11441
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · 967b38a4
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      storage/csv/CMakeLists.txt:
        Auto merged
      storage/csv/Makefile.am:
        Auto merged
      967b38a4
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · 1398ad12
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      
      1398ad12
    • unknown's avatar
      Merge mysql.com:/d2/hf/opt/my41-opt · 6e1d6841
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      
      6e1d6841
    • unknown's avatar
      Split out the hidden class from the ha_tina file (probably should have just... · 20f0c7a6
      unknown authored
      Split out the hidden class from the ha_tina file (probably should have just deleted it...) but this is a bit better. 
      
      
      storage/csv/transparent_file.cc:
        BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.cc
      storage/csv/transparent_file.h:
        BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.h
      storage/csv/CMakeLists.txt:
        Updated for windows
      storage/csv/Makefile.am:
        Updated to add new class
      storage/csv/ha_tina.cc:
        Removed hidden class
      storage/csv/ha_tina.h:
        Remove hidden class
      20f0c7a6
  8. 03 Jan, 2007 5 commits
    • unknown's avatar
      Fixed bug #24345. · 42010cde
      unknown authored
      This bug appeared after the patch for bug 21390 that had added some code
      to handle outer joins with no matches after substitution of a const
      table in an efficient way. That code as it is cannot be applied to the case
      of nested outer join operations. Being applied to the queries with
      nested outer joins the code can cause crashes or wrong result sets.
      The fix blocks row substitution for const inner tables of an outer join
      if the inner operand is not a single table.  
      
      
      mysql-test/r/join_nested.result:
        Added a test case for bug #24345.
      mysql-test/t/join_nested.test:
        Added a test case for bug #24345.
      42010cde
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · 5df7d39e
      unknown authored
      into  rakia.gmz:/home/kgeorge/mysql/work/B15439-5.0-opt
      
      
      sql/sql_udf.cc:
        Auto merged
      5df7d39e
    • unknown's avatar
      sql_udf.cc: · ea5557aa
      unknown authored
        Addendum to the fix for bug#15439 : valgrind pb failed
      
      
      sql/sql_udf.cc:
        Addendum to the fix for bug#15439 : valgrind pb failed
      ea5557aa
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 8e0eea0d
      unknown authored
      into  mysql.com:/d2/hf/opt/my41-opt
      
      
      8e0eea0d
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 6a4fbf09
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      
      myisam/mi_check.c:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      6a4fbf09
  9. 02 Jan, 2007 1 commit