1. 25 Oct, 2003 4 commits
  2. 24 Oct, 2003 3 commits
  3. 23 Oct, 2003 4 commits
  4. 22 Oct, 2003 5 commits
  5. 21 Oct, 2003 6 commits
  6. 20 Oct, 2003 1 commit
    • unknown's avatar
      Fix for Bug #1595 "mysqlbinlog can't read a password from the console". · a8e99bd0
      unknown authored
      Make mysqlbinlog prompt for the password if
      mysqlbinlog -p
      instead of printing the usage().
      This makes mysqlbinlog behave like other clients, which is the reason
      why we fix this in 3.23.
      This new code was almost copied from mysqldump.
      Note that before, one could use
      mysqlbinlog -p pass
      and now one must use
      mysqlbinlog -ppass
      (putting a space will ask for the password).
      
      
      client/mysqlbinlog.cc:
        Make mysqlbinlog prompt for the password if
        mysqlbinlog -p
        instead of printing the usage().
        This makes mysqlbinlog behave like other clients, which is the reason
        why we fix this in 3.23.
        This new code was almost copied from mysqldump.
        Note that before, one could use
        mysqlbinlog -p pass
        and now one must use
        mysqlbinlog -ppass
        (putting a space will ask for the password).
      a8e99bd0
  7. 19 Oct, 2003 2 commits
    • unknown's avatar
      os0file.c: · 21a42f05
      unknown authored
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      
      
      innobase/os/os0file.c:
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      21a42f05
    • unknown's avatar
      os0file.c: · 3e59fb08
      unknown authored
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      
      
      innobase/os/os0file.c:
        Check that writes to data files always happen in to addresses divisible by 16 kB, and the chunk size is also divisible by 16 kB; a user reported 2 corrupt pages from Linux-2.4.20 where an index page seemed displaced
      3e59fb08
  8. 18 Oct, 2003 1 commit
  9. 17 Oct, 2003 5 commits
  10. 16 Oct, 2003 8 commits
    • unknown's avatar
      A fix for a random test failure rpl_trunc_binlog: don't RESET MASTER · 43f02472
      unknown authored
      while the slave is connected.
      
      
      mysql-test/t/rpl_trunc_binlog.test:
        don't RESET MASTER while the slave is connected; this could confuse the master or slave.
        (In replication you don't RESET MASTER while a slave is connected!)
      sql/slave.cc:
        typo
      43f02472
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 28851d67
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      28851d67
    • unknown's avatar
      - fixed small typo to resolve "test: argument expected" error on Solaris · d3beb1e7
      unknown authored
         and Tru64 when running "mysql_install_db"
      
      d3beb1e7
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · 958160ab
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc_crash-4.0
      
      958160ab
    • unknown's avatar
      Safety fix to detect multiple calls to my_thread_end() · 63b1cc00
      unknown authored
      Portability fix (For Mac OS X)
      
      
      configure.in:
        Added detection of malloc / sys/malloc
      include/my_pthread.h:
        Safety fix to detect multiple calls to my_thread_end()
      libmysqld/lib_sql.cc:
        Remove duplicate call to my_thread_end()
      mysys/charset.c:
        Cleanup indentation
        Remove some short variable names
      mysys/my_thr_init.c:
        Safety fix to detect multiple calls to my_thread_end()
      sql/sql_test.cc:
        Portability fix (For Mac OS X)
      63b1cc00
    • unknown's avatar
      fix for one of the bugs spotted by #1274 · 3688a5d8
      unknown authored
      
      sql/sql_select.cc:
        back to the bug #1274:
        the following query
        EXPLAIN SELECT SQL_CALC_FOUND_ROWS race_name 
        FROM races WHERE race_name LIKE '%Madison%' ORDER BY race_date DESC LIMIT 0,100
        
        +-------+------+---------------+------+---------+------+--------+-----------------------------+
        | table | type | possible_keys | key  | key_len | ref  | rows   | Extra                       |
        +-------+------+---------------+------+---------+------+--------+-----------------------------+
        | races | ALL  | NULL          | NULL |    NULL | NULL | 505821 | Using where; Using filesort |
        +-------+------+---------------+------+---------+------+--------+-----------------------------+
        
        The query returns no rows.
        
        There are two problems with it: 
        - wrong access plan is chosed  (sequential index scan in reverse order,
        which is VERY SLOW in case of MyISAM table + packed keys)
        It's wrong, because it doesn't take into account that SQL_CALC_FOUND_ROWS 
        is present, in other words, is based on assumtion that LIMIT
        clause decrease number of rows to access significantly, which is
        not true as all rows are accessed.
        - the access plan is not shown in the EXPLAIN (bug #1560). I'm not
        fixing it here
      3688a5d8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 06d6d54b
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      06d6d54b
    • unknown's avatar
  11. 15 Oct, 2003 1 commit