1. 11 Jun, 2006 6 commits
  2. 10 Jun, 2006 8 commits
    • unknown's avatar
    • unknown's avatar
      Cacluate nodeid and ndb_fs path when initializing ndbds, to be used when... · f8c3312c
      unknown authored
      Cacluate nodeid and ndb_fs path when initializing ndbds, to be used when defining log files and when removing the ndb_fs after failed test case
      
      
      
      f8c3312c
    • unknown's avatar
    • unknown's avatar
      Use function 'stop_all_servers' to stop the running servers before restoring... · fd3feec3
      unknown authored
      Use function 'stop_all_servers' to stop the running servers before restoring snapshot and resuming tests
      
      
      
      fd3feec3
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1 · d889c1a8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      BUILD/compile-dist:
        Auto merged
      client/mysqltest.c:
        Auto merged
      config/ac-macros/ssl.m4:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_base.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      mysql-test/r/group_min_max.result:
        Auto merged
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/rpl_insert_id_pk.result:
        Auto merged
      mysql-test/r/rpl_ndb_multi_update3.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/join_outer.test:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/r/rpl_ndb_sp006.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysys/my_clock.c:
        Auto merged
      mysys/my_copy.c:
        Auto merged
      mysys/my_create.c:
        Auto merged
      mysys/my_dup.c:
        Auto merged
      mysys/my_lib.c:
        Auto merged
      mysys/my_open.c:
        Auto merged
      mysys/my_redel.c:
        Auto merged
      mysql-test/r/create.result:
        Manual merge
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/r/join_outer.result:
        Manual merge
      mysql-test/t/func_group.test:
        Manual merge
      mysql-test/t/group_min_max.test:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      d889c1a8
    • unknown's avatar
      Update result · d7b474e1
      unknown authored
      
      mysql-test/r/rpl_loaddata.result:
        Add missing drop table t1 to result
      d7b474e1
    • unknown's avatar
      Run check testcase for all masters and slaves · c31ab099
      unknown authored
      c31ab099
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1--main · 9f9d7e0a
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-amerge
      
      
      9f9d7e0a
  3. 09 Jun, 2006 14 commits
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.1 · 1ab93b89
      unknown authored
      into  rurik.mysql.com:/home/igor/mysql-5.1
      
      
      1ab93b89
    • unknown's avatar
      Disable im_life_cycle test · 45d01b1a
      unknown authored
      45d01b1a
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.1 · 87b06d07
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      87b06d07
    • unknown's avatar
      Post-merge fixes · 388e8843
      unknown authored
      388e8843
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1 · 2ef66fca
      unknown authored
      into mysql.com:/home/psergey/mysql-5.1-bug19684
      
      
      sql/opt_range.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      2ef66fca
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1--main · 761c75f3
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-amerge
      
      
      761c75f3
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1--main · 0e0755ea
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-amerge
      
      
      0e0755ea
    • unknown's avatar
      Merge · 0ad73944
      unknown authored
      
      sql/log.cc:
        Auto merged
      sql/sql_insert.cc:
        SCCS merged
      0ad73944
    • unknown's avatar
      Merge mysql.com:/M51/bug20303-5.1 into mysql.com:/M51/mysql-5.1 · 2da24bb6
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      2da24bb6
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.1--main · cd53e516
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.1-amerge
      
      
      cd53e516
    • unknown's avatar
      Merge mysql.com:/M50/bug20303-5.0 into mysql.com:/M51/bug20303-5.1 · 741edd2e
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      741edd2e
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/tmp_merge · 156a1662
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      mysql-test/r/ssl.result:
        Manual merge
      mysql-test/r/ssl_compress.result:
        Manual merge
      156a1662
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/tmp_merge · d0dad4bf
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.1-0
      
      
      BitKeeper/deleted/.del-generate_prefix_files.pl:
        Delete: extra/yassl/include/openssl/generate_prefix_files.pl
      BitKeeper/deleted/.del-prefix_crypto.h:
        Delete: extra/yassl/include/openssl/prefix_crypto.h
      BitKeeper/deleted/.del-prefix_ssl.h:
        Delete: extra/yassl/include/openssl/prefix_ssl.h
      BitKeeper/deleted/.del-Makefile.am~abb265028eb9b6a7:
        Auto merged
      BitKeeper/deleted/.del-init_db.sql~af2dfeabaa348dd7:
        Auto merged
      BitKeeper/deleted/.del-yassl.m4~e55e55c1e863abaf:
        Auto merged
      client/mysqltest.c:
        Auto merged
      extra/yassl/include/openssl/crypto.h:
        Auto merged
      extra/yassl/include/openssl/ssl.h:
        Auto merged
      extra/yassl/include/yassl_int.hpp:
        Auto merged
      extra/yassl/src/Makefile.am:
        Auto merged
      extra/yassl/src/ssl.cpp:
        Auto merged
      extra/yassl/src/template_instnt.cpp:
        Auto merged
      extra/yassl/src/yassl_int.cpp:
        Auto merged
      extra/yassl/testsuite/Makefile.am:
        Auto merged
      extra/yassl/yassl.vcproj:
        Auto merged
      include/violite.h:
        Auto merged
      libmysql/Makefile.am:
        Auto merged
      libmysql_r/Makefile.am:
        Auto merged
      libmysqld/examples/Makefile.am:
        Auto merged
      mysql-test/include/common-tests.inc:
        Auto merged
      mysql-test/r/analyze.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/key_cache.result:
        Auto merged
      mysql-test/r/preload.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/analyze.test:
        Auto merged
      mysql-test/t/explain.test:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      server-tools/instance-manager/Makefile.am:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      vio/Makefile.am:
        Auto merged
      client/Makefile.am:
        Manual merge
      libmysqld/Makefile.am:
        Manual merge
      mysql-test/r/compress.result:
        Manual merge
      mysql-test/r/explain.result:
        Manual merge
      mysql-test/r/select.result:
        Manual merge
      mysql-test/r/view.result:
        Manual merge
      mysql-test/t/select.test:
        Manual merge
      mysql-test/t/view.test:
        Manual merge
      sql/sql_base.cc:
        Manual merge
      sql/sql_parse.cc:
        Manual merge
      d0dad4bf
    • unknown's avatar
  4. 08 Jun, 2006 5 commits
  5. 07 Jun, 2006 1 commit
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my51-bug15936 · 6ce84f22
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      include/config-win.h:
        Auto merged
      include/my_base.h:
        Auto merged
      mysys/my_clock.c:
        Auto merged
      mysys/my_copy.c:
        Auto merged
      mysys/my_create.c:
        Auto merged
      mysys/my_dup.c:
        Auto merged
      mysys/my_lib.c:
        Auto merged
      mysys/my_open.c:
        Auto merged
      mysys/my_redel.c:
        Auto merged
      sql/unireg.cc:
        Auto merged
      6ce84f22
  6. 06 Jun, 2006 5 commits
    • unknown's avatar
      Added --pipe option for faster compile · 7f19b1cc
      unknown authored
      Changed error to be more descriptive when you are refering to a not existing key
      Fixed core dump in view test and changed to better error message
      
      
      BUILD/compile-pentium64-debug-max:
        Added --pipe option for faster compile
        (This changset was missing in the tree I used to rebuild a new 5.1 tree)
      BUILD/compile-pentium64-debug:
        Added --pipe option for faster compile
        (This changset was missing in the tree I used to rebuild a new 5.1 tree)
      mysql-test/include/common-tests.inc:
        Changed error to be more descriptive
      mysql-test/r/compress.result:
        Changed error to be more descriptive
      mysql-test/r/explain.result:
        Changed error to be more descriptive
      mysql-test/r/key_cache.result:
        Changed error to be more descriptive
      mysql-test/r/preload.result:
        Changed error to be more descriptive
      mysql-test/r/select.result:
        Changed error to be more descriptive
      mysql-test/r/ssl.result:
        Changed error to be more descriptive
      mysql-test/r/ssl_compress.result:
        Changed error to be more descriptive
      mysql-test/r/view.result:
        Changed error to be more descriptive
      mysql-test/t/disabled.def:
        Disable im_instance_conf and im_options  until Bug#20294 (Instance manager test im_instance_conf fails randomly) is fixed
      mysql-test/t/explain.test:
        Changed error to be more descriptive
      mysql-test/t/select.test:
        Changed error to be more descriptive
      mysql-test/t/view.test:
        Changed error to be more descriptive
      sql/share/errmsg.txt:
        Fix that ER_KEY_DOES_NOT_EXISTS has same SQLSTATE as ER_KEY_COLUMN_DOES_NOT_EXISTS
      sql/sql_base.cc:
        Fixed core dump in view test
        Changed to correct error message that also shows the name of the faulty table
      BUILD/compile-pentium64:
        New BitKeeper file ``BUILD/compile-pentium64''
      7f19b1cc
    • unknown's avatar
      Re-apply missing changesets in 5.1 · fffe5234
      unknown authored
      BUG#19544 mysqldump does not backup TS and LG information correctly.
        
      Problem was the type of the column was varchar(8) not an integer type. So mysqld
      was outputting a string representation of the number in scientific notation,
      which wasn't exact. Now we do it as a bigint and output the number in bytes.
      
      Fix assertion when loading plugins due to handler changes
      
      
      
      sql/sql_base.cc:
        manual merge (comment by igor)
      sql/sql_plugin.cc:
        Fix assertion when loading plugins due to handler changes (By jimw)
      sql/sql_show.cc:
        Correct type of I_S.FILES table columns: INITIAL_SIZE, MAXIMUM_SIZE and AUTOEXTEND_SIZE
        so that they really are bigint and not varchar. (By stewart)
      fffe5234
    • unknown's avatar
      Re-apply missing changeset, orignally pushed by jmiller · 60a569bd
      unknown authored
      RPL Test cleanup of options that are not needed when using ndbcluster with binlog. The binlog is forced to row just by connecting to a cluster
      
      
      mysql-test/r/rpl_ndb_2myisam.result:
        Update results. Test now passing. Have commented it out in disable.def file
      mysql-test/t/disabled.def:
        updated to comment out test that is working
      mysql-test/t/rpl_ndb_2innodb-master.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_2innodb-slave.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_2myisam-master.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_2myisam-slave.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_innodb2ndb-master.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_innodb2ndb-slave.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_myisam2ndb-slave.opt:
        Removed the --binlog-format=row and they are not needed
      60a569bd
    • unknown's avatar
      Re-apply missing changeset, orignally pushed by elliot · a68a9cb6
      unknown authored
      Add define YASSL_PREFIX when compiling yassl
      
      Import patch from yaSSL
      - avoid allocating memory for each call to 'EVP_md5' and 
        'EVP_des_ede3_cbc' which were not released until server was stopped
      - Those functions are used from the SQL function 'des_encrypt' and
        'des_decrypt'.
      
      Add new define YASSL_PREFIX beforee including ssl.h to activate inclusion of prefix_*.h files
      
      Bug#20022 mysql-test-run can't be run with secure connections turned on for all testcases
      - Part 1, fixes rpl- and federated-tests where connection is made to 127.0.0.1
      
      - Include prefix files that renames all public functions in yaSSLs
        OpenSSL API to ya<function_name>. They will otherwise conflict
        with OpenSSL functions if loaded by an application that uses OpenSSL
        as well as libmysqlclient with yaSSL support.
      
      Bug#18235: assertion/crash when windows mysqld is ended with ctrl-c
        
      Two threads both try a shutdown sequence which creates a race to the
      de-init/free of certain resources.
        
      This exists in similar form in the client as 17926: "mysql.exe crashes
      when ctrl-c is pressed in windows."
      
      Update after merge to 5.0
      
      BUG#18669: Session COM_STATISTICS breaks mysqladmin status.
      Changed COM_STATISTICS to display the global status, instead of thead status, for slow queries and table opens.
      
      - In function 'handle_grant_struct' when searching the memory structures for an 
        entry to modify, convert all entries here host.hostname is NULL to "" and compare that 
        with the host passed in argument "user_from".
      - A user created with hostname "" is stored in "mysql.user" table as host="" but when loaded into 
        memory it'll be stored as host.hostname NULL. Specifiying "" as hostname means
        that "any host" can connect. Thus is's correct to turn on allow_all_hosts
        when such a user is found. 
      - Review and fix other places where host.hostname may be NULL.
      
      BUG#19394 OPT_INNODB_THREAD_CONCURRENCY duplicated
      Removed duplication (not a user-visible change)
      
      
      client/Makefile.am:
        Remove $yassl_includes
      client/mysqltest.c:
        Turn on ssl_verify_server_cert only if host is "localhost"
      extra/yassl/include/openssl/crypto.h:
        Add prefix file for ssl.h
      extra/yassl/include/openssl/ssl.h:
        Add include file "prefix_crypto.h" to rename SSL_* functions to yaSSL_*
      extra/yassl/include/yassl_int.hpp:
        Import patch yassl.diff
      extra/yassl/src/Makefile.am:
        Add defined YASSL_PREFIX when building yassl/testsuite
      extra/yassl/src/ssl.cpp:
        Import patch yassl.diff
      extra/yassl/src/template_instnt.cpp:
        Import patch yassl.diff
      extra/yassl/src/yassl_int.cpp:
        Import patch yassl.diff
      extra/yassl/testsuite/Makefile.am:
        Add defined YASSL_PREFIX when building yassl/testsuite
      extra/yassl/yassl.vcproj:
        Add define YASSL_PREFIX when compiling yassl
      include/violite.h:
        Add new define YASSL_PREFIX beforee including ssl.h to activate inclusion of prefix_*.h files
      libmysql/Makefile.am:
        Remove yassl_includes
      libmysql_r/Makefile.am:
        Remove yassl_includes
      libmysqld/Makefile.am:
        Remove yassl_includes
      libmysqld/examples/Makefile.am:
        Remove yassl_includes
      mysql-test/r/analyze.result:
        Add missing drop table
      mysql-test/r/grant.result:
        Reorder test result
        Add test cases for users with hostname ""
      mysql-test/r/ps.result:
        Add missing drop table
      mysql-test/t/analyze.test:
        Add missing drop table
      mysql-test/t/grant.test:
        Add "use test"
        Add test cases for users with hostname ""
        - Test create, grant and drop as well as connecting as the user with hostname "".
      mysql-test/t/ps.test:
        Add missing drop table
      server-tools/instance-manager/Makefile.am:
        Remove yassl_includes
      sql/Makefile.am:
        Remove yassl_includes
      sql/mysqld.cc:
        We have three potential ways of hitting the iceberg:
        - unireg_end()   has basic de-init
        - unireg_abort() has extended de-init
        - main() has a de-init sequence similar to unireg_abort()
        
        In the Windows version of the server, Control-C is handled
        in a different thread from the one main() is in.  The main
        loop is told to end, then unireg_abort() is called.  Its
        de-init and that of main() will then race each other for
        mutex- and cond-var-destroys, free(), and finally exit().
        
        This patch introduces a special case for Windows that will eliminate
        the race by ending the signal-handler via unireg_end() instead if
        SIGINT is signalled.  This seems the least intrusive fix that still
        fixes user-visible behaviour.
        
        Two of the startup options for mysqld, innodb_commit_concurrency
        and innodb_thread_concurrency, were using the same enumeration
        value. Changed to give innodb_commit_concurrency it's own value.
      sql/sql_acl.cc:
        Add check if host is NULL
        Add check if grant_name->host.hostname is null
        Convert places where host.hostname is NULL to "" before using it.
      sql/sql_parse.cc:
        Calculate and display the global statistics.
      vio/Makefile.am:
        Remove yassl_includes
      extra/yassl/include/openssl/generate_prefix_files.pl:
        New BitKeeper file ``extra/yassl/include/openssl/generate_prefix_files.pl''
      extra/yassl/include/openssl/prefix_crypto.h:
        New BitKeeper file ``extra/yassl/include/openssl/prefix_crypto.h''
      extra/yassl/include/openssl/prefix_ssl.h:
        New BitKeeper file ``extra/yassl/include/openssl/prefix_ssl.h''
      a68a9cb6
    • unknown's avatar
      Manually reapplied msvenssons changes to new BK tree: · 0b870cc1
      unknown authored
      Add definition of YASSL_PREFIX to Cmake file
      Change "and" to "&&"
      Remove the "static" directive SunCC can't use the function
      
      
      extra/yassl/CMakeLists.txt:
        Add definition of YASSL_PREFIX to Cmake file
      sql/filesort.cc:
        Change "and" to "&&"
      sql/handler.cc:
         Remove the "static" directive SunCC can't use the function
      0b870cc1
  7. 05 Jun, 2006 1 commit
    • unknown's avatar
      Fixed some issues found by valgrind · 20171079
      unknown authored
      (one testcase, one memory leak and some accesses to not initialized memory)
      
      
      mysql-test/r/events_scheduling.result:
        Changed event timer to two seconds to not get problems with slow system or when running with valgrind
      mysql-test/t/events_scheduling.test:
        Changed event timer to two seconds to not get problems with slow system or when running with valgrind
      mysql-test/valgrind.supp:
        Avoid purify warnings from DBUG library (safe to do)
      sql/ha_berkeley.cc:
        Fix problem with not freed memory
      sql/sql_class.cc:
        Ensure that row_count is initalized (as we otherwise may access it uninitialized)
      sql/sql_show.cc:
        c_ptr -> ptr to avoid accessing not initialized memory
      sql/sql_yacc.yy:
        Fix to not access not initialized memory
      sql/table.cc:
        Fix to not access not initialized memory
      sql/time.cc:
        Fix to not access not initialized memory
      20171079