1. 11 Jan, 2007 1 commit
  2. 10 Jan, 2007 5 commits
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 0999c28a
      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
      0999c28a
    • unknown's avatar
      after merge fix · b5ef5616
      unknown authored
      b5ef5616
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt · 9d9963bd
      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
      9d9963bd
    • unknown's avatar
      Fix for bug#20867 InnoDB Bug - create temporary table+crash => mysqld needs to clean up · c99b724f
      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)
      c99b724f
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 7775febf
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      7775febf
  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 · f96a97b8
      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.
      f96a97b8
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 82e8d7c4
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      82e8d7c4
    • unknown's avatar
      Bug#14171: Wrong internal default value for a BINARY field. · 8b131fab
      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.
      8b131fab
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 6d271c01
      unknown authored
      into  moonbone.local:/home/evgen/bk-trees/mysql-5.0-opt
      
      6d271c01
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 9c16da31
      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
      9c16da31
    • unknown's avatar
      Fix for bug#25026 `information_schema.KEY_COLUMN_USAGE`.`REFERENCED_TABLE_NAME` returns garbage · 959e6df7
      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
      959e6df7
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · 97d8fdf0
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      97d8fdf0
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 539f1aa6
      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
      539f1aa6
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1 · ef373e8a
      unknown authored
      into  mysql.com:/d2/hf/opt/my51-opt
      
      
      mysql-test/t/csv.test:
        Auto merged
      ef373e8a
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · d94d5a91
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug24345
      
      
      sql/sql_select.cc:
        Auto merged
      d94d5a91
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · a7c32639
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      a7c32639
  4. 08 Jan, 2007 2 commits
    • unknown's avatar
      mi_check.c: · 9a35395b
      unknown authored
        added a missing DBUG_RETURN
      
      
      storage/myisam/mi_check.c:
        added a missing DBUG_RETURN
      9a35395b
    • unknown's avatar
      Merge macbook.local:/Users/kgeorge/mysql/work/mysql-5.0-opt · ea37fa3a
      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
      ea37fa3a
  5. 06 Jan, 2007 2 commits
  6. 05 Jan, 2007 1 commit
    • unknown's avatar
      Bug #15881: cast problems · 78b88379
      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.
      78b88379
  7. 04 Jan, 2007 6 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · 31bd9d94
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      31bd9d94
    • unknown's avatar
      The CSV format has always relied on numbers being quoted, which doesn't always... · 84a24769
      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
      84a24769
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · 76f6efae
      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
      76f6efae
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · 0668a536
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      0668a536
    • unknown's avatar
      Merge mysql.com:/d2/hf/opt/my41-opt · 82b9adfc
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      82b9adfc
    • unknown's avatar
      Split out the hidden class from the ha_tina file (probably should have just... · b01b2451
      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
      b01b2451
  8. 03 Jan, 2007 5 commits
    • unknown's avatar
      Fixed bug #24345. · ac347645
      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.
      ac347645
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · 0bf711da
      unknown authored
      into  rakia.gmz:/home/kgeorge/mysql/work/B15439-5.0-opt
      
      
      sql/sql_udf.cc:
        Auto merged
      0bf711da
    • unknown's avatar
      sql_udf.cc: · f28688d0
      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
      f28688d0
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 84501996
      unknown authored
      into  mysql.com:/d2/hf/opt/my41-opt
      
      84501996
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · cfe68e02
      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
      cfe68e02
  9. 02 Jan, 2007 7 commits