1. 16 Nov, 2006 1 commit
    • unknown's avatar
      Fix for bug#24219 ALTER TABLE ... RENAME TO ... , DISABLE KEYS leads to crash · 09fc514b
      unknown authored
      There was an improper order of doing chained operations.
      
      To the documentor: ENABLE|DISABLE KEYS combined with RENAME TO, and no other
      ALTER TABLE clause, leads to server crash independent of the presence of
      indices and data in the table.
      
      
      mysql-test/r/alter_table.result:
        update result
      mysql-test/t/alter_table.test:
        add test for bug#24129
      sql/sql_table.cc:
        If there is operation on the KEYS, first do it
        and then do a rename if there is such. Or, we will crash because
        the underlying table has changed.
      09fc514b
  2. 15 Nov, 2006 1 commit
    • unknown's avatar
      Bug#17700: mysql_fix_privilege_tables cannot handle a password \ · 78278bc4
      unknown authored
      	with embedded spaces
        
      Problem:  Original code written assuming password contains no spaces.
      Further, because of how sh interprets characters in variables, you
      cannot do the "simple solution".
        
      Solution:  Move the "was a password provided" check to the end. This
      allows us to correctly quote the password argument when passed to the
      mysql client program.  Addendum:  Put this check inside of a shell fn
      to simplify the code.
      
      
      scripts/mysql_fix_privilege_tables.sh:
        Moved password existence check to end to allow for passwords with
        with embedded spaces.
      78278bc4
  3. 25 Oct, 2006 4 commits
  4. 24 Oct, 2006 8 commits
  5. 23 Oct, 2006 9 commits
  6. 20 Oct, 2006 4 commits
  7. 19 Oct, 2006 10 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 61e3438f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      61e3438f
    • unknown's avatar
      Adapt to running from "binary dist" · fc9cf7f4
      unknown authored
      Add function mtr_exe_maybe_exists to look for binaries that is optional
      Skip ndb support if it's a binary dist where mysqld supports ndb but there is no ndbd
      
      
      mysql-test/lib/mtr_misc.pl:
        Add function mtr_exe_maybe_exists
      mysql-test/mysql-test-run.pl:
        Adapt to running from binary dist
        Add function mtr_exe_maybe_exists to look for binaries that is optional
        Skip ndb support if it's a binary dist where mysqld supports ndb but there is no ndbd
      fc9cf7f4
    • unknown's avatar
      Fix problem running rpl_timezone on powermacg5, it was not popular to set TZ to "" so now it's set · 9ee71787
      unknown authored
      to a value wich is not our default
      
      
      9ee71787
    • unknown's avatar
      Add command "exit" to mysqltest, it will stop processing any more · cd06481d
      unknown authored
      commands and go directly to result file processing
      
      
      client/mysqltest.c:
        Add command "exit" to mysqltest
      mysql-test/r/mysqltest.result:
        Add command "exit" to mysqltest
      mysql-test/t/mysqltest.test:
        Add command "exit" to mysqltest
      cd06481d
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · ac7b0a7b
      unknown authored
      into  example.com:/work/bug23379/my41-bug23379
      
      
      sql/sql_class.cc:
        Auto merged
      ac7b0a7b
    • unknown's avatar
      Fix for bug#23379 "wrong time value in SHOW PROCESSLIST" · ca817b49
      unknown authored
        
      The value taken to be shown in SHOW PROCESSLIST is not
      initialized when THD is created and will be random for
      unauthenticated connections.
        
      To the documentor: Random value, instead of NULL, was shown,
      in SHOW PROCESSLIST for still non-authenticated connections.
      
      
      sql/sql_class.cc:
        Initialize time_after_lock.
        It is used from SHOW PROCESSLIST's code. If not initialized
        random value is shown for connected but still unauthenticated
        clients in the column Time.
      ca817b49
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · b273af0e
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      b273af0e
    • unknown's avatar
      Backport test cases fixes from 5.0 · f30cb127
      unknown authored
      
      client/mysqldump.c:
        fflush stderr after printing of error message
      mysql-test/include/have_lowercase0.inc:
        Remove extra ;
      mysql-test/r/rpl000015.result:
        Update result
      mysql-test/r/rpl_change_master.result:
        Update result
      mysql-test/r/rpl_error_ignored_table.result:
        Update result
      mysql-test/r/rpl_loaddata.result:
        Update result
      mysql-test/r/rpl_log.result:
        Update result
      mysql-test/r/rpl_max_relay_size.result:
        Update result
      mysql-test/r/rpl_replicate_do.result:
        Update result
      mysql-test/t/lowercase_table3.test:
        Backport from 5.0
      mysql-test/t/mysql_protocols.test:
        Backport from 5.0
      mysql-test/t/rpl000015.test:
        Backport from 5.0
      mysql-test/t/rpl_change_master.test:
        Backport from 5.0
      mysql-test/t/rpl_drop_db.test:
        Backport from 5.0
      mysql-test/t/rpl_error_ignored_table.test:
        Backport from 5.0
      mysql-test/t/rpl_loaddata.test:
        Backport from 5.0
      mysql-test/t/rpl_log-master.opt:
        Use --force-restart command in master.opt to force a restart for this test case
      mysql-test/t/rpl_log.test:
        Backport from 5.0
      mysql-test/t/rpl_max_relay_size.test:
        Backport from 5.0
      mysql-test/t/rpl_replicate_do.test:
        Backport from 5.0
      f30cb127
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 57ff1cb8
      unknown authored
      into  example.com:/work/bug23379/my41-bug23379
      
      
      57ff1cb8
    • unknown's avatar
      Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes · da7af481
      unknown authored
      We miss some records sometimes using RANGE method if we have
      partial key segments.
      Example:
        Create table t1(a char(2), key(a(1)));
        insert into t1 values ('a'), ('xx');
        select a from t1 where a > 'x';
      We call index_read() passing 'x' key and HA_READ_AFTER_KEY flag
      in the handler::read_range_first() wich is wrong because we have
      a partial key segment for the field and might miss records like 'xx'.
      
      Fix: don't use open segments in such a case.
      
      
      mysql-test/r/range.result:
        Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes
          - test result.
      mysql-test/t/range.test:
        Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes
          - test case.
      sql/opt_range.cc:
        Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes
          - check if we have a partial key segment for a Item_func::GT_FUNC;
            if so, don't set NEAR_MIN flag in order to use HA_READ_KEY_OR_NEXT
            instead of HA_READ_AFTER_KEY.
      sql/opt_range.h:
        Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes
          - key segment 'flag' slot added.
      sql/sql_select.cc:
        Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes
          - test (HA_PART_KEY_SEG | HA_NULL_PART) as we split it in the sql/table.cc
      sql/table.cc:
        Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes
          - set HA_NULL_PART flag instead of HA_PART_KEY_SEG in order not to mix them.
      da7af481
  8. 18 Oct, 2006 3 commits