1. 04 Jan, 2006 1 commit
    • unknown's avatar
      A fix for Bug#7209 "Client error with "Access Denied" on updates · f577d864
      unknown authored
      when high concurrency": remove HASH::current_record and make it
      an external search parameter, so that it can not be the cause of a 
      race condition under high concurrent load.
      The bug was in a race condition in table_hash_search,
      when column_priv_hash.current_record was overwritten simultaneously
      by multiple threads, causing the search for a suitable grant record
      to fail.
      No test case as the bug is repeatable only under concurrent load.
      
      
      include/hash.h:
        - remove current_record from HASH, instead modify hash_first,
        hash_next to accept HASH_SEARCH_STATE as an IN/OUT parameter
      mysys/hash.c:
        - remove HASH::current_record
        - change declarations of functions that use HASH in read-only mode
          to accept const HASH * instead of HASH *. 
        - implement hash_search; move the old implementation of hash_search
        to hash_first
      mysys/testhash.c:
        - adjust the test case to changed function declarations
      sql/lock.cc:
        - adjust to changed declarations of hash_search, hash_next
      sql/sql_acl.cc:
        - adjust to changed declarations of hash_search, hash_next
      sql/sql_base.cc:
        - adjust to changed declarations of hash_search, hash_nex
      sql/sql_cache.cc:
        - adjust to a changed declaration of hash_replace
      f577d864
  2. 31 Dec, 2005 1 commit
  3. 29 Dec, 2005 1 commit
  4. 28 Dec, 2005 2 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c37389cf
      unknown authored
      into moonbone.local:/work/14583-bug-4.1-mysql
      
      
      c37389cf
    • unknown's avatar
      BUG#15775 "drop user" command does not refresh acl_check_hosts · 9a8dde9b
      unknown authored
         - DROP USER command didn't reload the acl_check_hosts cache causing subsequent 
           connect's via TCP to fail randomly.
         - 4.1 version
      
      
      mysql-test/r/grant2.result:
        Update test results
      mysql-test/t/grant2.test:
        Add test for to check that connect via TCP work after "drop user"
      sql/sql_acl.cc:
        Reload acl_check_hosts as its memory is mapped to acl_user
        Use acl_user->host.hostname when searching the acl_check_hosts list
      9a8dde9b
  5. 27 Dec, 2005 2 commits
    • unknown's avatar
      Fix bug#14583 · 9a128b97
      unknown authored
      When InnoDB compares varchar field in ucs2 with given key using bin collation,
      it calls my_strnncollsp_ucs2_bin() to perform comparison.
      Because field length was lesser than length of key field should be padded
      with trailing spaces in order to get correct result. 
      Because  my_strnncollsp_ucs2_bin() was calling my_strnncollp_ucs2_bin(), which
      doesn't pads field, wrong comparison result was returned. This results in
      wrong result set.
      
      my_strnncollsp_ucs2_bin() now compares fields like my_strnncollsp_ucs2 do,
      but using binary collation.
      
      
      mysql-test/t/ctype_ucs.test:
        Test case for bug#14583  Wrong my_strnncollsp_ucs2_bin() behaviour results in skipping
        correct records.
      mysql-test/r/ctype_ucs.result:
        Test case for bug#14583  Wrong my_strnncollsp_ucs2_bin() behaviour results in skipping correct records.
      strings/ctype-ucs2.c:
        Fix bug#14583 Wrong my_strnncollsp_ucs2_bin() behaviour results in skipping
        correct records.my_strnncollsp_ucs2_bin() now compares fields like my_strnncollsp_ucs2 do,
        but using binary collation.
      9a128b97
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 4b543591
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-bug5390
      
      
      libmysqld/ha_blackhole.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      4b543591
  6. 23 Dec, 2005 1 commit
  7. 21 Dec, 2005 1 commit
  8. 20 Dec, 2005 2 commits
    • unknown's avatar
      mysql.cc: · fd46c788
      unknown authored
        Typo in help message.
      
      
      client/mysql.cc:
        Typo in help message.
      fd46c788
    • unknown's avatar
      build fix · e54c3c88
      unknown authored
      e54c3c88
  9. 19 Dec, 2005 2 commits
  10. 18 Dec, 2005 5 commits
  11. 17 Dec, 2005 1 commit
  12. 15 Dec, 2005 3 commits
    • unknown's avatar
      Fixed BUG #12440: "Incorrect processing of time values containing · 52c04400
      unknown authored
       long fraction and/or large exponent part".
      
      
      mysql-test/r/type_time.result:
        Fixed testcases results (bug #12440)
      mysql-test/t/type_time.test:
        Added testcases for bug #12440
      sql-common/my_time.c:
        Fixed bug #12440: "Incorrect processing of time values containing
         long fraction and/or large exponent part".
         Modified str_to_time(). Process properly fraction part containing
         more than 6 digits. Check for existence of exponent part which
         may result from %g formatting applied to time value specified as
         large real number.
      52c04400
    • unknown's avatar
      Makefile.am: · b6aaf4f6
      unknown authored
        - libtool wants spaces on parameters for its command line options
      
      
      zlib/Makefile.am:
        - libtool wants spaces on parameters for its command line options
      b6aaf4f6
    • unknown's avatar
      Makefile.am: · 0b42809f
      unknown authored
        - Modified zlib/Makefile.am to generate libz.so.1.2.3 instead of libz.so.0.0.0
      
      
      zlib/Makefile.am:
        - Modified zlib/Makefile.am to generate libz.so.1.2.3 instead of libz.so.0.0.0
      0b42809f
  13. 14 Dec, 2005 4 commits
  14. 13 Dec, 2005 5 commits
    • unknown's avatar
      Minor Netware specific changes. · 12046696
      unknown authored
      
      netware/BUILD/compile-linux-tools:
        Fixed compilation problem with Linux tools.
      scripts/make_binary_distribution.sh:
        Netware specific changes. Discard platform
        specific files and added a couple of missing files.
      sql/tztime.cc:
        Code not ported to Netware yet.
      12046696
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 · 4fc6562f
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      
      netware/libmysql.def:
        Auto merged
      netware/my_print_defaults.def:
        Auto merged
      netware/myisamlog.def:
        Auto merged
      netware/myisampack.def:
        Auto merged
      netware/mysql.def:
        Auto merged
      netware/mysql_install_db.def:
        Auto merged
      netware/mysqladmin.def:
        Auto merged
      netware/mysqlbinlog.def:
        Auto merged
      netware/mysqlcheck.def:
        Auto merged
      netware/mysqld_safe.def:
        Auto merged
      netware/mysqldump.def:
        Auto merged
      netware/mysqlimport.def:
        Auto merged
      netware/perror.def:
        Auto merged
      4fc6562f
    • unknown's avatar
      Increased stack size for clients on Netware. · 2e8dc5ff
      unknown authored
      New libc suggests doing this.
      
      
      2e8dc5ff
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 3f39dd45
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      ndb/src/ndbapi/NdbRecAttr.cpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      3f39dd45
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 12aef413
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      12aef413
  15. 12 Dec, 2005 6 commits
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8c911a25
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-4.1-ss11
      
      
      8c911a25
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8bf4a099
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      8bf4a099
    • unknown's avatar
      Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for · 8e3f95b5
      unknown authored
       table' lockup".
       Changes from the innodb-4.1-ss11 snapshot.
       Do not call os_file-create_tmpfile() at runtime. Instead, create
       a tempfile at startup and guard access to it with a mutex.
       Also, fix bugs:
       10511: "Wrong padding of UCS2 CHAR columns in ON UPDATE CASCADE";
       13778: "If FOREIGN_KEY_CHECKS=0, one can create inconsistent FOREIGN
       KEYs". When FOREIGN_KEY_CHECKS=0 we still need to check that
       datatypes between foreign key references are compatible.
       Also, added test cases (also for bug 9802).
      
      
      innobase/dict/dict0dict.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/dict/dict0load.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/dict0dict.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/dict0load.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/os0file.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/rem0cmp.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/srv0srv.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/rem/rem0cmp.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/row/row0ins.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/row/row0mysql.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/srv/srv0srv.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/srv/srv0start.c:
        Changes from the innodb-4.1-ss11 snapshot
      libmysqld/ha_blackhole.cc:
        Changes from the innodb-4.1-ss11 snapshot
      mysql-test/r/innodb.result:
        Changes from the innodb-4.1-ss11 snapshot
      mysql-test/t/innodb.test:
        Changes from the innodb-4.1-ss11 snapshot
      sql/ha_innodb.cc:
        Changes from the innodb-4.1-ss11 snapshot
      8e3f95b5
    • unknown's avatar
      45f2e2ae
    • unknown's avatar
      rpl_until.test + rpl_until.result · 56830072
      unknown authored
      Fix for bug#12429: Replication tests fail: "Slave_IO_Running" differs:
      The value is not important, and it depends on timing. Mask it.
      
      Backport and extension of a fix made by Matthias in 5.0, originally it was
      1.1976 05/12/05 17:57:48 mleich@mysql.com
      
      
      mysql-test/r/rpl_until.result:
        Fix for bug#12429: Replication tests fail: "Slave_IO_Running" differs:
        The value is not important, and it depends on timing. Mask it.
        
        Backport and extension of a fix made by Matthias in 5.0, originally it was
        1.1976 05/12/05 17:57:48 mleich@mysql.com
      mysql-test/t/rpl_until.test:
        Fix for bug#12429: Replication tests fail: "Slave_IO_Running" differs:
        The value is not important, and it depends on timing. Mask it.
        
        Backport and extension of a fix made by Matthias in 5.0, originally it was
        1.1976 05/12/05 17:57:48 mleich@mysql.com
      56830072
    • unknown's avatar
      ndb - bug#15685 · fd80fa2d
      unknown authored
        Error in abort handling in TC when timeout during abort
        
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        New error codes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        New error codes
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Dont release transaction record to early
      ndb/test/ndbapi/testNodeRestart.cpp:
        Test case
      ndb/test/run-test/daily-basic-tests.txt:
        Test case
      fd80fa2d
  16. 11 Dec, 2005 1 commit
    • unknown's avatar
      make_win_src_distribution.sh: · ff410f95
      unknown authored
        Removed Visual Studio 6 project files, as they are not maintained
      
      
      scripts/make_win_src_distribution.sh:
        Removed Visual Studio 6 project files, as they are not maintained
      ff410f95
  17. 09 Dec, 2005 1 commit
    • unknown's avatar
      bug#15632 - ndb · 5b10b7bc
      unknown authored
        Fix race between INCL_NODEREQ(prio b) and GCP_PREPARE(prio a) by also waiting for starting nodes
      
      
      ndb/include/ndb_version.h.in:
        Handle upgrade of bug fix
      ndb/src/kernel/blocks/ERROR_codes.txt:
        New error code for delaying INCL_NODE_REQ
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix race between INCL_NODEREQ(prio b) and GCP_PREPARE(prio a)
          by also waiting for starting nodes
      ndb/test/ndbapi/testNodeRestart.cpp:
        Add testcase for bug#15632
      5b10b7bc
  18. 08 Dec, 2005 1 commit
    • unknown's avatar
      Fix calls to free_underlaid_joins() in INSERT, DELETE, and UPDATE · ab597139
      unknown authored
      handling so that indexes are closed before trying to commit the
      transaction. (Bug #15536)
      
      
      mysql-test/r/bdb.result:
        Add new results
      mysql-test/t/bdb.test:
        Add new test
      sql/sql_delete.cc:
        Move call to free_underlaid_joins() to before ha_autocommit_or_rollback().
      sql/sql_insert.cc:
        Move call to free_underlaid_joins() to before ha_autocommit_or_rollback().
      sql/sql_update.cc:
        Move call to free_underlaid_joins() to before ha_autocommit_or_rollback().
      ab597139