1. 04 Jan, 2006 5 commits
    • unknown's avatar
      Post-merge fixes. · 2cc1ee47
      unknown authored
      
      sql/sql_acl.cc:
        A post-merge fix.
      sql/sql_base.cc:
        A post-merge fix.
      2cc1ee47
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-7209-new · 68b60479
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-merge
      
      
      mysys/hash.c:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_acl.cc:
        Manual merge.
      sql/sql_base.cc:
        Manual merge.
      68b60479
    • unknown's avatar
      A fix for Bug#7209 "Client error with "Access Denied" on updates · af13158a
      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
      af13158a
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-qnxtestsock · cb188b37
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.0
      
      cb188b37
    • unknown's avatar
      de1dbf72
  2. 03 Jan, 2006 1 commit
    • unknown's avatar
      Fix for bug#15533 crash, information_schema, function, view · 22c97333
      unknown authored
        enable view prepared mode during getting metedata for I_S table
      
      
      mysql-test/r/information_schema.result:
        Fix for bug#15533 crash, information_schema, function, view
          test case
      mysql-test/t/information_schema.test:
        Fix for bug#15533 crash, information_schema, function, view
          test case
      22c97333
  3. 31 Dec, 2005 1 commit
  4. 29 Dec, 2005 5 commits
  5. 28 Dec, 2005 10 commits
    • unknown's avatar
      Bug#15591 Occasional test suite abort due to port in use · 0c935c12
      unknown authored
      If the server is started with --port-open-timeout=# 
      retry to bind the TCP port if it fails with EADDRINUSE.
      Use the new option in mysql-test-run.sh.
      
      
      mysql-test/mysql-test-run.sh:
        Bug#15591 Occasional test suite abort due to port in use
        Use the new option --port-open-timeout=# for server starts.
        This should fix occasionally late closed TCP ports.
      sql/mysqld.cc:
        Bug#15591 Occasional test suite abort due to port in use
        If the server is started with --port-open-timeout=# 
        retry to bind the TCP port if it fails with EADDRINUSE.
      0c935c12
    • unknown's avatar
      config-win.h: · 2c965bea
      unknown authored
        Backported Windows MAX_INDEXES handling from 5.1
      
      
      include/config-win.h:
        Backported Windows MAX_INDEXES handling from 5.1
      2c965bea
    • unknown's avatar
      Merge msvensson@msvensson.mysql.internal:/home/msvensson/mysql/bug15775_part2/my50-bug15775_part2 · 9f2a192d
      unknown authored
      into  devsrv-b.mysql.com:/space/magnus/my50-bug15775_part2
      
      9f2a192d
    • unknown's avatar
      Manual merge · e4fc3532
      unknown authored
      
      mysql-test/t/ctype_ucs.test:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a:
        Auto merged
      e4fc3532
    • unknown's avatar
      Bug #15775 "drop user" command does not refresh acl_check_hosts · 3ef96e21
      unknown authored
       - Update patch for 5.0 
       - Added common function to be called when 'acl_users' has been modified
      
      
      mysql-test/r/grant2.result:
        Use "create user" to avoid warnings about missing fields
      mysql-test/t/grant2.test:
        Use "create user" to avoid warnings about missing fields
      sql/sql_acl.cc:
        Add new function "rebuild_check_host" that is to be called when the 'acl_users'
        list has changed.
        Call function "rebuild_check_host" from mysql_drop_user, mysql_rename_user and acl_insert_user.
        Use "acl_user->host.hostname" as key when searching the acl_check_hosts in init_check_host.
      3ef96e21
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 61ad7db0
      unknown authored
      into moonbone.local:/work/14583-bug-4.1-mysql
      
      61ad7db0
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5ff45e0c
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b15108
      
      5ff45e0c
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug15775_part2/my41-bug15775_part2 · e950c934
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug15775_part2/my50-bug15775_part2
      
      
      mysql-test/r/grant2.result:
        Merge test results
      mysql-test/t/grant2.test:
        Merge tests
      sql/sql_acl.cc:
        Removing the 4.1 version patch
      e950c934
    • unknown's avatar
      BUG#15775 "drop user" command does not refresh acl_check_hosts · 26a4951e
      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
      26a4951e
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · f7efdd3c
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug5390
      
      f7efdd3c
  6. 27 Dec, 2005 9 commits
    • unknown's avatar
      Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.0 · 830c5d18
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug5390
      
      830c5d18
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0 · b6e04b08
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50
      
      b6e04b08
    • unknown's avatar
      Fix bug#14583 · 205651f6
      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.
      205651f6
    • unknown's avatar
      ndb - wl#2972 (5.0) fix detached trigger opType + new pgm test_event_merge · 5e6d7795
      unknown authored
      
      ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        error code 4709 was set outside if()
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        fix opType for detached triggers (accidental miss since v21x?)
      ndb/test/ndbapi/Makefile.am:
        test_event_merge v5.0
      ndb/test/ndbapi/test_event_merge.cpp:
        test_event_merge v5.0
      5e6d7795
    • unknown's avatar
      5.0 ndb build fix. · 9b005f11
      unknown authored
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        build fix for 5.0
      9b005f11
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main · b886fd50
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/main
      
      
      client/mysql.cc:
        Auto merged
      myisam/mi_delete.c:
        Auto merged
      mysql-test/r/fulltext2.result:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      b886fd50
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · fd68da2c
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-bug5390
      
      
      libmysqld/ha_blackhole.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      fd68da2c
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · fc7308ad
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug5390
      
      
      BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      fc7308ad
    • unknown's avatar
  7. 26 Dec, 2005 2 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-bug5390 · 52cf747f
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug5390
      
      
      BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a:
        Auto merged
      mysql-test/r/create.result:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      mysql-test/r/merge.result:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      mysql-test/t/create.test:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      mysql-test/t/merge.test:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      sql/lock.cc:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      sql/mysql_priv.h:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      sql/sql_parse.cc:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      sql/sql_update.cc:
        BUG#5390 - problems with merge tables
        Manual merge: ul - use local changes made for 5.0
      52cf747f
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · daa403aa
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b15108
      
      
      sql/ha_innodb.cc:
        Auto merged
      daa403aa
  8. 24 Dec, 2005 2 commits
  9. 23 Dec, 2005 3 commits
    • unknown's avatar
      locking issues, · bd4b52de
      unknown authored
      test for LONGLONG_MIN in decimal.c
      
      
      myisam/mi_create.c:
        lock THR_LOCK_myisam later
      mysys/thr_alarm.c:
        remove misplaced comment and "safety" if()
      server-tools/instance-manager/instance.cc:
        add unlock
      strings/decimal.c:
        correct the test for LONGLONG_MIN. fix debug sprintf
      bd4b52de
    • unknown's avatar
      correct help text · a68ac2bc
      unknown authored
      a68ac2bc
    • unknown's avatar
      ctype_uca.result, ctype_uca.test: · 608d893e
      unknown authored
        Adding test case.
      charset-def.c:
        Initialize new collation.
      ctype-uca.c:
        Adding simplified Hungarian collation.
      
      
      strings/ctype-uca.c:
        Adding simplified Hungarian collation.
      mysys/charset-def.c:
        Initialize new collation.
      mysql-test/t/ctype_uca.test:
        Adding test case.
      mysql-test/r/ctype_uca.result:
        Adding test case.
      608d893e
  10. 22 Dec, 2005 2 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · fd6a6bea
      unknown authored
      into  frost.snake.net:/Users/paul/bk/mysql-5.0
      
      
      client/mysqltest.c:
        Auto merged
      fd6a6bea
    • unknown's avatar
      mysqltest.c: · 37a3cb50
      unknown authored
        Put options in order.
        Add #ifdef around --debug for non-debug builds.
      
      
      client/mysqltest.c:
        Put options in order.
        Add #ifdef around --debug for non-debug builds.
      37a3cb50