1. 11 Mar, 2008 2 commits
  2. 10 Mar, 2008 4 commits
  3. 08 Mar, 2008 2 commits
  4. 07 Mar, 2008 3 commits
    • unknown's avatar
      Bug #34367: sql/sql_show.cc: create_schema_table should handle · 4aae2099
      unknown authored
      MYSQL_TYPE_NEWDECIMAL
      
      Added support for the type MYSQL_TYPE_NEWDECIMAL. It now works like
      MYSQL_TYPE_DECIMAL. Unfortunately there cannot be a test case until
      we have a working information_schema plugin as part of the source
      distribution.
      
      
      sql/sql_show.cc:
        Bug#34367: The fix. Corrected wrong comments and a DBUG_ENTER with wrong 
        function name.
      sql/table.h:
        Bug#34367: Added comments to st_field_info.
      4aae2099
    • unknown's avatar
      Merge magare.gmz:/home/kgeorge/mysql/work/B34909-5.0-opt · 0eed115a
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/work/B34909-5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      0eed115a
    • unknown's avatar
      Bug #34909: mysqldump returns a 0 status on error when using · 99c0b5e1
      unknown authored
        --master-data
      
      No error code was returned by mysqldump if it detects that binary
      logging is not enabled on the server.
      Fixed by returning error code.
      
      
      client/mysqldump.c:
        Bug #34909: add error code
      mysql-test/r/mysqldump-no-binlog.result:
        Bug #34909: test case
      mysql-test/t/mysqldump-no-binlog-master.opt:
        Bug #34909: test case
      mysql-test/t/mysqldump-no-binlog.test:
        Bug #34909: test case
      99c0b5e1
  5. 05 Mar, 2008 1 commit
    • unknown's avatar
      Fix for bug #34889: mysql_client_test::test_mysql_insert_id test fails · 0c1dd98e
      unknown authored
                          sporadically
      
      Under some circumstances, the mysql_insert_id() value after SELECT ...
      INSERT could return a wrong value. This could happen when the last
      SELECT ... INSERT did not involve an AUTO_INCREMENT column, but the
      value of mysql_insert_id() was changed by some previous statements.
      
      Fixed by checking the value of thd->insert_id_used in
      select_insert::send_eof() and returning 0 for mysql_insert_id() if it
      is not set.
      
      
      sql/sql_insert.cc:
        Do not return thd->last_insert_id unconditionally in
        select_insert::send_eof(). First check if thd->insert_id_used is
        non-zero, and return 0 otherwise.
      tests/mysql_client_test.c:
        Added a test case for bug #34889.
      0c1dd98e
  6. 03 Mar, 2008 11 commits
    • unknown's avatar
      Merge ssh://bk-internal.mysql.com//home/bk/mysql-5.1-opt · fa9a16de
      unknown authored
      into  kaamos.(none):/data/src/opt/mysql-5.1-opt
      
      
      fa9a16de
    • unknown's avatar
      Merge kaamos.(none):/data/src/opt/mysql-5.0-opt · c690b667
      unknown authored
      into  kaamos.(none):/data/src/opt/mysql-5.1-opt
      
      
      c690b667
    • unknown's avatar
      Merge kaamos.(none):/data/src/opt/bug31781/my51 · ce0ab709
      unknown authored
      into  kaamos.(none):/data/src/opt/mysql-5.1-opt
      
      
      ce0ab709
    • unknown's avatar
      Merge kaamos.(none):/data/src/opt/bug31781/my50 · 64bdb0bd
      unknown authored
      into  kaamos.(none):/data/src/opt/mysql-5.0-opt
      
      
      64bdb0bd
    • unknown's avatar
      fixed test case problem on win · 28dc3ac6
      unknown authored
      
      mysql-test/r/partition.result:
        the test is moved to 'partition_not_windows' test case
      mysql-test/r/partition_not_windows.result:
        the test is moved from 'partition' test case
      mysql-test/t/partition.test:
        the test is moved to 'partition_not_windows' test case
      mysql-test/t/partition_not_windows.test:
        the test is moved from 'partition' test case
      28dc3ac6
    • unknown's avatar
      Merge kaamos.(none):/data/src/opt/bug31781/my50 · ca753c3a
      unknown authored
      into  kaamos.(none):/data/src/opt/bug31781/my51
      
      
      mysys/my_create.c:
        Auto merged
      ca753c3a
    • unknown's avatar
      Fix for bug #31781: multi-table UPDATE with temp-pool enabled fails · 162eadbe
      unknown authored
                          with errno 17
      
      my_create() did not perform any checks for the case when a file is
      successfully created by a call to open(), but the call to
      my_register_filename() later fails because the number of open files
      has exceeded the my_open_files limit. This can happen on platforms 
      which do not have getrlimit(), and hence we do not know the real limit
      for open files. In such a case an error was returned to a caller
      although the file has actually been created. Since callers assume
      my_create() to return an error only when it failed to create a file,
      they did not perform any cleanups, leaving an 'orphaned' file on the
      file system.
      
      Fixed by adding a check for the above case to my_create() and ensuring
      the newly created file is deleted before returning an error.
      
      Creating a deterministic test case in the test suite is impossible,
      because the exact steps required to reproduce the above situation
      depend on the platform and/or environment (OS per-user limits, queries
      executed by previous tests, startup parameters). The patch was
      manually tested on Windows using examples posted in the bug report.
      
      
      mysys/my_create.c:
        Ensure that, if the call to my_register_filename() in my_create()
        failed, but the previous open() called succeeded, the newly created
        file is deleted before returning an error.
      162eadbe
    • unknown's avatar
      test case fix · 8a176c55
      unknown authored
      
      mysql-test/r/partition.result:
        the test is moved to 'partition_not_windows' test
      mysql-test/r/partition_not_windows.result:
        the test is moved from 'partition' test
      mysql-test/t/partition.test:
        the test is moved to 'partition_not_windows' test
      mysql-test/t/partition_not_windows.test:
        the test is moved from 'partition' test
      8a176c55
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/mysql-5.0-opt · a17667cf
      unknown authored
      into  mysql.com:/home/gluh/MySQL/mysql-5.1-opt
      
      
      mysql-test/r/symlink.result:
        use local
      mysql-test/t/symlink.test:
        use local
      a17667cf
    • unknown's avatar
      test case fix · 2cb35cd6
      unknown authored
      2cb35cd6
    • unknown's avatar
      Bug #32801 wait_timeout.test fails randomly · f7458e07
      unknown authored
      wait_timeout test enabled
      
      
      mysql-test/t/disabled.def:
        Bug #32801 wait_timeout.test fails randomly
        
        wait_timeout enabled
      f7458e07
  7. 01 Mar, 2008 2 commits
  8. 29 Feb, 2008 13 commits
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · c664e457
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      sql/sql_parse.cc:
        SCCS merged
      c664e457
    • unknown's avatar
      fixed problem with embedded server · f39817ce
      unknown authored
      
      mysql-test/r/symlink.result:
        test result fix
      f39817ce
    • unknown's avatar
      wrong merge fix · 4e7c4ab9
      unknown authored
      4e7c4ab9
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 21f38652
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/r/symlink.result:
        use local
      mysql-test/t/symlink.test:
        use local
      21f38652
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt · 4460f5a5
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      mysql-test/t/symlink.test:
        Auto merged
      mysql-test/r/symlink.result:
        after merge fix
      4460f5a5
    • unknown's avatar
      test fix · be59a0ea
      unknown authored
      
      mysql-test/r/symlink.result:
        result fix
      be59a0ea
    • unknown's avatar
      Fixed bug #34830: mixed table and field names in Item_ref · d276cd90
      unknown authored
                        and Item_direct_ref constructor calls.
      
      Order of ref->field_name and ref->table_name arguments
      is of Item_ref and Item_direct_ref in the fix_inner_refs
      function is inverted.
      
      
      sql/sql_select.cc:
        Fixed bug #34830: mixed table and field names in Item_ref
                          and Item_direct_ref constructor calls.
        
        Order of ref->field_name and ref->table_name arguments
        is of Item_ref and Item_direct_ref in the fix_inner_refs
        function is inverted. See definitions:
        
          Item_ref(Name_resolution_context *context_arg, Item **item,
                   const char *table_name_arg, const char *field_name_arg,
                   bool alias_name_used_arg= FALSE)
          and
        
          Item_direct_ref(Name_resolution_context *context_arg, Item **item,
                          const char *table_name_arg,
                          const char *field_name_arg,
                          bool alias_name_used_arg= FALSE)
      d276cd90
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 87758efb
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/r/symlink.result:
        use local.
      mysql-test/t/symlink.test:
        use local
      sql/mysql_priv.h:
        use local
      sql/mysqld.cc:
        use local
      sql/sql_parse.cc:
        use local
      87758efb
    • unknown's avatar
      after merge fix · fa9e35b4
      unknown authored
      fa9e35b4
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt · 8bdb243f
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-opt
      
      
      sql/mysql_priv.h:
        Auto merged
      mysql-test/r/symlink.result:
        manual merge
      mysql-test/t/symlink.test:
        manual merge
      sql/mysqld.cc:
        manual merge
      sql/sql_parse.cc:
        manual merge
      8bdb243f
    • unknown's avatar
      Bug#32167 another privilege bypass with DATA/INDEX DIRECORY(ver 4.1,5.0) · ab604259
      unknown authored
      added new function test_if_data_home_dir() which checks that
      path does not contain mysql data home directory.
      Using of mysql data home directory in
      DATA DIRECTORY & INDEX DIRECTORY is disallowed.
      
      
      mysql-test/r/symlink.result:
        test result
      mysql-test/t/symlink.test:
        test case
      sql/mysql_priv.h:
        new variable mysql_unpacked_real_data_home
      sql/mysqld.cc:
        new variable mysql_unpacked_real_data_home
      sql/sql_parse.cc:
        added new function test_if_data_home_dir() which checks that
        path does not contain mysql data home directory.
        Using of mysql data home directory in
        DATA DIRECTORY & INDEX DIRECTORY is disallowed.
      ab604259
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · fa3fb2f6
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      fa3fb2f6
    • unknown's avatar
  9. 28 Feb, 2008 2 commits