1. 14 Jul, 2005 2 commits
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.0/main · 7c57549a
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      sql/slave.cc:
        Auto merged
      7c57549a
    • unknown's avatar
      BUG#11384 drop database causes mysqld to core · 7f8b2334
      unknown authored
      Only reproducable in 5.1-wl2325, although the missing code is missing from 4.0 and up.
      
      
      sql/slave.cc:
        Clean up after slave sql thread when exiting.
        
        Wasn't calling close_thread_tables().
        
        This was causing a crashing bug in the 5.1-wl2325 tree. It is conceivable that this
        could cause a problem in earlier versions, but we have not been able to reproduce.
      7f8b2334
  2. 13 Jul, 2005 9 commits
    • unknown's avatar
      A test case for Bug#9442 "Set parameter make query fail if column · c663aa89
      unknown authored
      character set is UCS2".
      The bug is no longer repeatable.
      
      
      mysql-test/r/ps.result:
        Test results fixed (a test case for Bug#9442)
      mysql-test/t/ps.test:
        A test case for Bug#9442 "Set parameter make query fail if column 
        character set is UCS2
      c663aa89
    • unknown's avatar
      A fix and a test case for Bug#9379 (collation of a parameter marker is · 98248f04
      unknown authored
      binary).
      
      
      mysql-test/r/ps.result:
        Test results fixed (Bug#9379)
      mysql-test/t/ps.test:
        A test case for Bug#9379 (collation of a parameter marker is binary)
      sql/item.cc:
        - set Item_param::collation to str_value collation, if Item_param
        is assigned a string. Reset it to default in Item_param::reset() (on 
        the next execution it can be assigned a number).
      sql/item_func.cc:
        - now that item collation can change between executions
        (if this item is Item_param), we need to register the change
        of the execution tree in the rollback list.
      98248f04
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e064ca31
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-11458
      
      
      e064ca31
    • unknown's avatar
      Cleanup after test for Bug#11458 · f5c8f42f
      unknown authored
      f5c8f42f
    • unknown's avatar
      4.1.13 has been cloned off · 5ef54bb9
      unknown authored
      
      configure.in:
        Increase version number to 4.1.14, as the clone for 4.1.13 has been created.
      5ef54bb9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7a0f6d52
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-11458
      
      
      sql/mysql_priv.h:
        Auto merged
      7a0f6d52
    • unknown's avatar
      - a fix for Bug#11458 "Prepared statement with subselects return random · ece17ba3
      unknown authored
      data": remove the fix for another bug (8807) that
      added OUTER_REF_TABLE_BIT to all subqueries that used a placeholder
      to prevent their evaluation at prepare. As this bit hanged in 
      Item_subselect::used_tables_cache for ever, a constant subquery with
      a placeholder was never evaluated as such, which caused wrong 
      choice of the execution plan for the statement.
      - to fix Bug#8807 backport a better fix from 5.0
      - post-review fixes.
      
      
      mysql-test/r/ps.result:
        Bug#11458: test results fixed
      mysql-test/t/ps.test:
        - add a test case for Bug#11458 "Prepared statement with subselects return 
        random data"
      sql/item.cc:
        - remove unnecessary Item_param::fix_fields
        - fix Item_param::set_null to set item_type accordingly (safety:
          Item_param should behave like a basic constant).
      sql/item.h:
        Remove Item_param::fix_fields
      sql/item_subselect.h:
        Remove no more existing friend.
      sql/mysql_priv.h:
        Add UNCACHEABLE_PREPARE to mark all subqueries as uncacheable if
        in statement prepare (backport from 5.0).
      sql/sql_lex.h:
        Comment fixed.
      sql/sql_parse.cc:
        If in statement prepare, mark all subqueries as uncacheable (backport
        from 5.0)
      sql/sql_prepare.cc:
        Switch off the uncacheable flag from all subqueries after statement
        prepare is done (backport from 5.0)
      ece17ba3
    • unknown's avatar
      Bug#11905: Tables used in rpl_deadlock are not dropped at the · ecd1ea93
      unknown authored
      end of the test, causing subsequent tests to fail.
      
      
      mysql-test/r/rpl_deadlock.result:
        Result change.
      mysql-test/t/rpl_deadlock.test:
        Tables used in the test but not dropped.
      ecd1ea93
    • unknown's avatar
      Bug #9854 hex() and out of range handling · 3ae23d5b
      unknown authored
        added out of range handling
      
      
      3ae23d5b
  3. 12 Jul, 2005 12 commits
  4. 11 Jul, 2005 5 commits
    • unknown's avatar
      Fix for gcc 4.0 (they have removed min/max operators). · 86f46a34
      unknown authored
      
      include/my_global.h:
        Fix for gcc 4.0 (they removed min/max)
      86f46a34
    • unknown's avatar
      Apply security patch to bundled zlib for CAN-2005-2096. (Bug #11844) · b1b37094
      unknown authored
      
      zlib/inftrees.c:
        Apply security patch for CAN-2005-2096
      b1b37094
    • unknown's avatar
      cmd-line-utils/libedit/chared.c: Fix compile problem caused by use of "uint"... · c580293e
      unknown authored
      cmd-line-utils/libedit/chared.c: Fix compile problem caused by use of "uint" which is undefined on QNX.
      
      
      cmd-line-utils/libedit/chared.c:
        Re-apply vva's fix:
        cmd-line-utils/libedit/chared.c@1.4, 2004-08-31 17:50:59+05:00, vva@eagle.mysql.r18.ru
          discarded using of uint because it's undefined on qnx
      c580293e
    • unknown's avatar
      field_conv.cc: · b18b97aa
      unknown authored
        Identation fix
      
      
      sql/field_conv.cc:
        Identation fix
      b18b97aa
    • unknown's avatar
      field_conv.cc: · dce0304a
      unknown authored
        Bug#11591
        CHAR column with utf8 does not work properly
        (more chars than expected)
        do_cut_string didn't call well_formed_length,
        and copied all data, which was wrong in the
        case of multibyte character set.
      ctype_utf8.result, ctype_utf8.test:
        adding test case
      
      
      sql/field_conv.cc:
        Bug#11591
        CHAR column with utf8 does not work properly
        (more chars than expected)
        do_cut_string didn't call well_formed_length,
        and copied all data, which was wrong in the
        case of multibyte character set.
      mysql-test/t/ctype_utf8.test:
        adding test case
      mysql-test/r/ctype_utf8.result:
        adding test caser
      dce0304a
  5. 08 Jul, 2005 6 commits
  6. 07 Jul, 2005 5 commits
    • unknown's avatar
      Fix crash caused by calling DES_ENCRYPT() without the --des-key-file · 01b66f3f
      unknown authored
      option having been passed to the server. (Bug #11643)
      
      
      sql/des_key_file.cc:
        Split initialization of mutex to new function, and make sure static
        initialization variable is initialized.
      sql/item_strfunc.cc:
        Make sure to initialize mutex before using it
      sql/mysql_priv.h:
        Add init_des_key_file() declaration
      mysql-test/r/func_des_encrypt.result:
        New BitKeeper file ``mysql-test/r/func_des_encrypt.result''
      mysql-test/t/func_des_encrypt.test:
        New BitKeeper file ``mysql-test/t/func_des_encrypt.test''
      BitKeeper/etc/config:
        Disable openlogging
      01b66f3f
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-gca · 5b49a4ff
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      
      5b49a4ff
    • unknown's avatar
      mtr_cases.pl: · ce5f68cf
      unknown authored
        Added support for the disabled.def file
      
      
      mysql-test/lib/mtr_cases.pl:
        Added support for the disabled.def file
      ce5f68cf
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug11635/my41-bug11635 · 826b1db2
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      826b1db2
    • unknown's avatar
      BUG#11635 mysqldump exports TYPE instead of USING for HASH Cluster indexes · 46d472d6
      unknown authored
        - Change output from SHOW CREATE TABLE to use USING instead of TYPE
      
      
      mysql-test/r/ctype_utf8.result:
        Update test results
      mysql-test/r/show_check.result:
        Update test results
      mysql-test/r/sql_mode.result:
        Update test results
      mysql-test/t/show_check.test:
        Add test for BUG#11635
      sql/sql_show.cc:
        Change TYPE to USING as output from SHOW CREATE TABLE
      46d472d6
  7. 06 Jul, 2005 1 commit