1. 16 Nov, 2007 5 commits
  2. 15 Nov, 2007 3 commits
  3. 14 Nov, 2007 17 commits
    • unknown's avatar
      updated result file · dfbd0952
      unknown authored
      dfbd0952
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · 6a86af04
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      include/my_sys.h:
        Auto merged
      6a86af04
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · d1d6920d
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      include/my_sys.h:
        Auto merged
      sql/CMakeLists.txt:
        Manual merge: Keep the workaround for the cmake 2.4.6 bug, enclose it in "if".
      d1d6920d
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 8fe6d1d4
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/t/select.test:
        Auto merged
      8fe6d1d4
    • unknown's avatar
      after merge fix · 1490691e
      unknown authored
      1490691e
    • unknown's avatar
      Merge trift2.:/MySQL/M41/push-4.1 · 1140bed5
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      1140bed5
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · e3c72651
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      include/my_sys.h:
        Auto merged
      e3c72651
    • unknown's avatar
      Merge trift2.:/MySQL/M40/mysql-4.0 · a0708969
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      a0708969
    • unknown's avatar
      Merge trift2.:/MySQL/M41/mysql-4.1 · e8d3f160
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      e8d3f160
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · f655bcda
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      f655bcda
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.1 · 711cf750
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/events_bugs.result:
        Auto merged
      mysql-test/r/partition.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
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      mysql-test/r/select.result:
        manual merge
      mysql-test/t/select.test:
        manual merge
      711cf750
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt · bad2242d
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      bad2242d
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · bed60e01
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      mysql-test/r/select.result:
        manual merge
      mysql-test/t/select.test:
        manual merge
      bed60e01
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1 · 2e01bfc4
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/4.1-opt
      
      
      2e01bfc4
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1-opt-32034 · c670190e
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      c670190e
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · f71f07f2
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B31562-5.1-opt
      
      
      f71f07f2
    • unknown's avatar
      Fixed bug #32034: On 64bit platforms assigning values of · 69762c05
      unknown authored
      storage engine system variables was not validated and
      unexpected value was assigned.
      
      The check_func_enum function used subtraction from the uint
      value with the probably negative result. That result of
      type uint was compared with 0 after casting to signed long
      type. On architectures where long type is longer than int
      type the result of comparison was unexpected.
      
      
      storage/example/ha_example.cc:
        Fixed bug #32034.
        Sample system variable example_enum_var has been added to the
        EXAMPLE storage to test ENUM variables.
      sql/sql_plugin.cc:
        Fixed bug #32034.
        The check_func_enum function used subtraction from the uint
        value with the probably negative result. That result of
        type uint was compared with 0 after casting to signed long
        type. On architectures where long type is longer than int
        type the result of comparison was unexpected.
        
        uint value has been casted to long type before subtraction.
      mysql-test/t/plugin.test:
        Added test case for bug #32034.
      mysql-test/r/plugin.result:
        Added test case for bug #32034.
      69762c05
  4. 13 Nov, 2007 15 commits
    • unknown's avatar
      Merge mysql.com:/home/hf/work/32067/my51-32067 · d68b313d
      unknown authored
      into  mysql.com:/home/hf/work/31305/my51-31305
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      d68b313d
    • unknown's avatar
      Merge mysql.com:/home/hf/work/31305/my41-31305 · 9a0020b5
      unknown authored
      into  mysql.com:/home/hf/work/31305/my50-31305
      
      
      9a0020b5
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · c07ae796
      unknown authored
      into  mysql.com:/home/hf/work/31305/my50-31305
      
      
      c07ae796
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1-opt · 9248b402
      unknown authored
      into  mysql.com:/home/hf/work/31305/my41-31305
      
      
      9248b402
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · cc8a953d
      unknown authored
      into  mysql.com:/home/hf/work/31305/my51-31305
      
      
      cc8a953d
    • unknown's avatar
      c3a4dfd6
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/autopush/B31562-5.0-opt · ad3e5aa8
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B31562-5.1-opt
      
      
      sql/item.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/lowercase_view.result:
        merge bug 31562 5.0->5.1: changed explain format
      ad3e5aa8
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 4bc635e2
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B31562-5.0-opt
      
      
      sql/item.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      4bc635e2
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 8021e495
      unknown authored
      into  moonbone.local:/work/30081-bug-5.1-opt-mysql
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/log_tables.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      8021e495
    • unknown's avatar
      Bug#30081: "ON UPDATE CURRENT_TIMESTAMP" wasn't shown by the SHOW FIELDS · b1b1d627
      unknown authored
      command and reported to a client.
      
      The fact that a timestamp field will be set to NO on UPDATE wasn't shown 
      by the SHOW COMMAND and reported to a client through connectors. This led to
      problems in the ODBC connector and might lead to a user confusion.
      
      A new filed flag called ON_UPDATE_NOW_FLAG is added. 
      Constructors of the Field_timestamp set it when a field should be set to NOW
      on UPDATE.
      
      The get_schema_column_record function now reports whether a timestamp field
      will be set to NOW on UPDATE.
      
      
      mysql-test/t/information_schema.test:
        A test case adjusted after fixing the bug#30081.
      mysql-test/r/type_timestamp.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/type_ranges.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/show_check.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/ps_5merge.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/ps_4heap.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/ps_3innodb.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/ps_2myisam.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/metadata.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/log_tables.result:
        Adjusted a test case after fixing bug#30081.
      mysql-test/r/information_schema.result:
        A test case adjusted after fixing the bug#30081.
      mysql-test/r/grant.result:
        Adjusted a test case after fixing bug#30081.
      tests/mysql_client_test.c:
        A test case adjusted after fixing the bug#30081.
      sql/sql_show.cc:
        Bug#30081: "ON UPDATE CURRENT_TIMESTAMP" wasn't shown by the SHOW FIELDS
        command and reported to a client.
        The get_schema_column_record function now reports whether a timestamp field
        will be set to NOW on UPDATE.
      sql/field.cc:
        Bug#30081: "ON UPDATE CURRENT_TIMESTAMP" wasn't shown by the SHOW FIELDS
        command and reported to a client.
        Constructors of the Field_timestamp set the ON_UPDATE_NOW_FLAG on a field when
        it should be set to NOW on UPDATE.
      include/mysql_com.h:
        Bug#30081: "ON UPDATE CURRENT_TIMESTAMP" wasn't shown by the SHOW FIELDS
        command and reported to a client.
        A new filed flag called ON_UPDATE_NOW_FLAG  is added.
      client/mysql.cc:
        Bug#30081: "ON UPDATE CURRENT_TIMESTAMP" wasn't shown by the SHOW FIELDS
        command and reported to a client.
        The fieldflag2str function is adjusted to print the ON_UPDATE_NOW_FLAG.
      b1b1d627
    • unknown's avatar
      Bug#32091: Security breach via directory changes · b3a71e34
      unknown authored
      Post pushbuild fix
      
      Disabled test on windows due to bug#30459
      (DATA/INDEX DIR for partitions not working on windows)
      
      Patch from Mattias Jonsson.
      
      
      mysql-test/r/partition_mgm.result:
        Bug#32091: Security breach via directory changes
        
        fixed non-windows lines.
      mysql-test/t/partition_mgm.test:
        Bug#32091: Security breach via directory changes
        
        fixed non-windows lines.
      mysql-test/t/partition_symlink.test:
        Bug#32091: Security breach via directory changes
        
        Added no_windows, since it is affected of bug#30459
      b3a71e34
    • unknown's avatar
      Bug #31562: HAVING and lower case · 170ae2d2
      unknown authored
      The columns in HAVING can reference the GROUP BY and 
      SELECT columns. There can be "table" prefixes when
      referencing these columns. And these "table" prefixes
      in HAVING use the table alias if available.
      This means that table aliases are subject to the same
      storage rules as table names and are dependent on 
      lower_case_table_names in the same way as the table 
      names are.
      Fixed by :
      1. Treating table aliases as table names
      and make them lowercase when printing out the SQL
      statement for view persistence.
      2. Using case insensitive comparison for table 
      aliases when requested by lower_case_table_names
      
      
      mysql-test/r/lowercase_view.result:
        Bug #31562: test case
      mysql-test/t/lowercase_view.test:
        Bug #31562: test case
      sql/item.cc:
        Bug #31562: lower_case_table_name contious comparison
        when searching in GROUP BY
      sql/sql_base.cc:
        Bug #31562: lower_case_table_name contious comparison
        when searching in SELECT
      sql/sql_select.cc:
        Bug #31562: treat table aliases as table names
        and make them lowercase when printing
      170ae2d2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · dcfeb8f9
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug31210
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      dcfeb8f9
    • unknown's avatar
      Bug#32078 - Excessive warnings: One can only use the --user switch · fca6284c
      unknown authored
                  if running as root
      
      Every start of a server in the test suite raised that warning.
      
      The cause was an unconditionla add of the --user option to the
      server command line. Only the "root" user (effective user id == 0)
      must use that option.
      
      Added check for effective user id == 0 before adding --user.
      
      Thanks to Magnus Svensson for the patch.
      
      
      mysql-test/mysql-test-run.pl:
        Bug#32078 - Excessive warnings: One can only use the --user switch
                    if running as root
        Added check for effective user id == 0 before adding --user
        in mysqld_arguments().
      fca6284c
    • unknown's avatar
      test fixed · d742b9cb
      unknown authored
      
      mysql-test/r/partition_innodb.result:
        result fixed
      mysql-test/t/partition_innodb.test:
        number of subpartitions fixed
      d742b9cb