1. 22 Oct, 2003 5 commits
  2. 21 Oct, 2003 6 commits
  3. 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
  4. 17 Oct, 2003 5 commits
  5. 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
  6. 15 Oct, 2003 7 commits
    • unknown's avatar
      Created small scripts to manage in-tree diffs for · 4a0c572d
      unknown authored
      NetWare platform, so changes are visible in the tree 
      but cannot affect other platforms.
      
      4a0c572d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 74b13743
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      74b13743
    • unknown's avatar
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT · 1522a612
      unknown authored
      Fixed chsize() problem on windows
      Extend default timeout on windows clients to 1 year (to avoid timeout problems)
      
      
      include/mysql.h:
        Added client timeouts (for TCP/IP)
      libmysql/libmysql.c:
        Added client timeouts (for TCP/IP)
      mysql-test/r/create.result:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysql-test/t/create.test:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysys/my_chsize.c:
        Fix for windows
      sql/handler.h:
        Remove not used field 'if_not_exists'
        Ordered fields to be more optimized for new CPU's
        Added field 'table_existed'
      sql/slave.cc:
        Cleanup temporary tables when slave ends
      sql/sql_class.h:
        Remove not used 'do_not_drop' field
      sql/sql_insert.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      sql/sql_table.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      1522a612
    • unknown's avatar
      dummy resize_thr_alarm for Netware · 5310d561
      unknown authored
      5310d561
    • unknown's avatar
      Updated comments · cfc20dd5
      unknown authored
      
      mysys/queues.c:
        Comments for new functions (no code change)
      mysys/thr_alarm.c:
        Updated comment
      cfc20dd5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 17d526b7
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      17d526b7
    • unknown's avatar
      Add more information about memory usage to debug log · 314bf7c0
      unknown authored
      
      sql/sql_test.cc:
        Add more information about memory usage
      314bf7c0
  7. 14 Oct, 2003 3 commits
    • unknown's avatar
      Identical mysql.ico and MYSQL.ICO · 7a9ec9f9
      unknown authored
      existed, causing problems on non-case-sensitive OSes.
      Deleted conflicting file.
      
      
      BitKeeper/deleted/.del-MYSQL.ICO~d93519b5f0d6ee1:
        Delete: VC++Files/mysqlshutdown/MYSQL.ICO
      7a9ec9f9
    • unknown's avatar
      Fixed bug in SET enum_system_variable=NULL · f487e515
      unknown authored
      
      BitKeeper/etc/ignore:
        added scripts/make_sharedlib_distribution
      mysql-test/r/variables.result:
        Add test for enum_system_variable=NULL
      mysql-test/t/variables.test:
        Add test for enum_system_variable=NULL
      sql/set_var.cc:
        Fixed bug in SET enum_system_variable=NULL
        Moved some array elements to get result sorted
      f487e515
    • unknown's avatar
      make LOCK TABLES to work when Lock_tables_priv is granted on the DB level and... · 7e01e7ed
      unknown authored
      make LOCK TABLES to work when Lock_tables_priv is granted on the DB level and Select_priv is granted on the table level.
      
      
      7e01e7ed
  8. 13 Oct, 2003 1 commit
  9. 11 Oct, 2003 1 commit
    • unknown's avatar
      Add new user variables for tuning memory usage: · 3b8f34a5
      unknown authored
      query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
      Add more checks for "out of memory" detection in range optimization
      
      
      configure.in:
        Added detection of mallinfo
      mysql-test/r/variables.result:
        Test of new variables
      mysql-test/t/variables.test:
        Test of new variables
      sql/ha_berkeley.cc:
        Use init_sql_alloc instead of init_alloc_root for better OOM detection
      sql/log_event.cc:
        Add new user variables for tuning memory usage
      sql/mysql_priv.h:
        Add new user variables for tuning memory usage
      sql/mysqld.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.h:
        Add new user variables for tuning memory usage
      sql/opt_range.cc:
        Add new user variables for tuning memory usage
        Add more checks for out of memory conditions
      sql/opt_range.h:
        Add new user variables for tuning memory usage
      sql/set_var.cc:
        Add new user variables for tuning memory usage
      sql/sql_acl.cc:
        Add new user variables for tuning memory usage
      sql/sql_class.h:
        Add new user variables for tuning memory usage
      sql/sql_delete.cc:
        Add new user variables for tuning memory usage
      sql/sql_parse.cc:
        Add new user variables for tuning memory usage
      sql/sql_select.cc:
        Add new user variables for tuning memory usage
      sql/sql_test.cc:
        Add information about memory useage if system supports mallinfo()
      sql/sql_udf.cc:
        Add new user variables for tuning memory usage
      sql/sql_update.cc:
        Add new user variables for tuning memory usage
      sql/table.cc:
        Add new user variables for tuning memory usage
      3b8f34a5
  10. 10 Oct, 2003 1 commit
  11. 09 Oct, 2003 1 commit