1. 14 Nov, 2007 7 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 7eaa2c59
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug4692
      
      
      storage/myisam/mi_check.c:
        Auto merged
      7eaa2c59
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-bug4692 · 6a140513
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug4692
      
      
      storage/myisam/mi_check.c:
        Auto merged
      mysql-test/r/myisam.result:
        Manual merge from 5.0.
      mysql-test/t/myisam.test:
        Manual merge from 5.0.
      6a140513
    • unknown's avatar
      Bug#4692 - DISABLE/ENABLE KEYS waste a space · 691e8323
      unknown authored
      Post-pushbuild fix
      
      Added a purecov comment and a test for coverage of parallel
      enable keys.
      
      
      myisam/mi_check.c:
        Bug#4692 - DISABLE/ENABLE KEYS waste a space
        Added purecov comment.
      mysql-test/r/myisam.result:
        Bug#4692 - DISABLE/ENABLE KEYS waste a space
        Added test result.
      mysql-test/t/myisam.test:
        Bug#4692 - DISABLE/ENABLE KEYS waste a space
        Added test for coverage of parallel enable keys.
      691e8323
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-5.0-engines · c90842d9
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-5.1-engines
      
      
      include/mysql_com.h:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisam/mi_packrec.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Manual merge.
      storage/myisam/mi_check.c:
        Manual merge.
      storage/myisam/myisamchk.c:
        Manual merge.
      c90842d9
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-4.1-engines · fdc78c10
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-5.0-engines
      
      
      myisam/mi_check.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/mi_packrec.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      include/mysql_com.h:
        Use local.
      sql-common/client.c:
        Use local.
      fdc78c10
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · 34dbafe5
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-4.1-engines
      
      34dbafe5
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG29083/mysql-4.1-engines · 5c70e49a
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-4.1-engines
      
      5c70e49a
  2. 13 Nov, 2007 3 commits
    • unknown's avatar
      Bug#32091: Security breach via directory changes · 2efc424c
      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
      2efc424c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 190ca6e0
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug31210
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      190ca6e0
    • unknown's avatar
      Bug#32078 - Excessive warnings: One can only use the --user switch · 4592fd83
      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().
      4592fd83
  3. 12 Nov, 2007 20 commits
  4. 11 Nov, 2007 2 commits
    • unknown's avatar
      Bug#30695: An apostrophe ' in the comment of the ADD PARTITION · af3c09d7
      unknown authored
          causes the Server to crash.
      
      Post-pushbuild fix
      
      Pushbuild genereted valgrind warnings.
      
      Changed function to safer variant.
      
      
      sql/sql_partition.cc:
        Bug#30695: An apostrophe ' in the comment of the ADD PARTITION
            causes the Server to crash.
        
        Fix for valgrind warning in pushbuild.
        String.c_prt fcn is not as safe as comment says.
        (gives valgrind errors in this case)
      af3c09d7
    • unknown's avatar
      Bug#31210 - INSERT DELAYED crashes server when used on · c9e0ea59
      unknown authored
                    partitioned table
        
      Post-pushbuild fix
        
      Pushbuild detected a new need for lex initialization in
      embedded server.
      
      Fixed test for INSERT DELAYED in partitions_hash.test so that
      it works with embedded server.
      
      
      libmysqld/lib_sql.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                        partitioned table
        Initialized lex for later use in open_table().
      mysql-test/r/partition_hash.result:
        Bug#31210 - INSERT DELAYED crashes server when used on
                        partitioned table
        Fixed test result for embedded server.
      mysql-test/t/partition_hash.test:
        Bug#31210 - INSERT DELAYED crashes server when used on
                        partitioned table
        Fixed test for embedded server.
      c9e0ea59
  5. 10 Nov, 2007 5 commits
    • unknown's avatar
      Bug#32091: Security breach via directory changes · 5ffe36e2
      unknown authored
      Changed test case from GRANT to CREATE USER
      
      
      mysql-test/r/partition_mgm.result:
        Bug#32091: Security breach via directory changes
        test result
      mysql-test/t/partition_mgm.test:
        Bug#32091: Security breach via directory changes
        Changed test case from GRANT to CREATE USER
      5ffe36e2
    • unknown's avatar
      Bug#32091: Security breach via directory changes · 34f43689
      unknown authored
      small fix of test case (when running make test after
      merge, it did not substitute MYSQLTEST_VARDIR in
      the error)
      
      
      mysql-test/r/partition_mgm.result:
        Bug#32091: Security breach via directory changes
        small fix in test result
      mysql-test/t/partition_mgm.test:
        Bug#32091: Security breach via directory changes
        small fix in test case
      34f43689
    • unknown's avatar
      Bug#31210 - INSERT DELAYED crashes server when used on · 09e88154
      unknown authored
                  partitioned table
      
      Post-merge fix
      
      A new need for lex initialization arose.
      
      
      sql/ha_ndbcluster.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      09e88154
    • unknown's avatar
      Bug#29368: Modified error messages · f97e1b97
      unknown authored
      Problem: there was no standard syntax error when
               creating partitions with syntax error in
               the partitioning clause.
      
      Solution: added "Syntax error: " to the error message
      
      
      mysql-test/r/partition.result:
        Bug#29368: Incorrect error for syntax error when createing
                   partition
        
        test result update
      mysql-test/r/partition_error.result:
        Bug#29368: Incorrect error for syntax error when createing
                   partition
        
        test result
      mysql-test/t/partition_error.test:
        Bug#29368: Incorrect error for syntax error when createing
                   partition
        
        test case
      sql/share/errmsg.txt:
        Bug#29368: Incorrect error for syntax error when createing
                   partition
        
        Modified error messages
      f97e1b97
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · a883192f
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug31210
      
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_connect.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_servers.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      a883192f
  6. 09 Nov, 2007 3 commits
    • unknown's avatar
      Bug#32091: Security breach via directory changes · 21d5aef8
      unknown authored
      Problem: the table's INDEX and DATA DIR was taken
        directly from the table's first partition.
        This allowed rename attack similar to
        bug#32111 when ALTER TABLE REMOVE PARTITIONING
      
      Solution: Silently ignore the INDEX/DATA DIR
        for the table. (Like some other storage engines
        do). 
        Partitioned tables do not support DATA/INDEX
        DIR on the table level, only on its partitions.
      
      
      mysql-test/r/partition_mgm.result:
        Bug#32091: Security breach via directory changes
        test result
      mysql-test/t/partition_mgm.test:
        Bug#32091: Security breach via directory changes
        test case
      sql/ha_partition.cc:
        Bug#32091: Security breach via directory changes
        
        Do not use the first partition's DATA/INDEX DIR
        as the table's DATA/INDEX DIR.
        (A partitioned table do not have support for DATA/
        INDEX DIR, only its partitions do)
      21d5aef8
    • unknown's avatar
      BUG#29083 - test suite times out on OS X 64bit - also in older releases · cd0fcfe0
      unknown authored
      The "mysql client in mysqld"(which is used by
      replication and federated) should use alarms instead of setting
      socket timeout value if the rest of the server uses alarm. By
      always calling 'my_net_set_write_timeout'
      or 'net_set_read_timeout' when changing the timeout value(s), the
      selection whether to use alarms or timeouts will be handled by
      ifdef's in those two functions.
      
      This is minimal backport of patch for BUG#26664, which was pushed
      to 5.0 and up.
      
      Affects 4.1 only.
      
      
      include/mysql_com.h:
        Move the net_set_*_timeout function declarations to mysql_com.h
      sql-common/client.c:
         Use my_net_read_timeout or my_net_write_timeout when setting the timeouts
      sql/mysql_priv.h:
        Move the net_set_*_timeout function declarations to mysql_com.h
      cd0fcfe0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 232d42ae
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.1-bug22351
      
      
      sql/handler.cc:
        Auto merged
      232d42ae