1. 03 Mar, 2005 6 commits
  2. 02 Mar, 2005 5 commits
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 90eed656
      unknown authored
      into mysql.com:/usr/home/ram/work/4.1
      
      
      90eed656
    • unknown's avatar
      a fix for --ps-protocol (bug #6089: FOUND_ROWS returns wrong values when no table/view is used) · 737f7292
      unknown authored
      
      sql/sql_union.cc:
        a fix for --ps-protocol (bug #6089: FOUND_ROWS returns wrong values when no table/view is used)
        Don't touch options as itit's not needed.
      737f7292
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 91820633
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      91820633
    • unknown's avatar
      Fix for BUG#8325 "Deadlock in replication thread stops replication": · d7e0784c
      unknown authored
      in slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded,
      optionally retry the transaction a certain number of times (new variable --slave_transaction_retries).
      
      
      sql/mysql_priv.h:
        new var slave_transaction_retries
      sql/mysqld.cc:
        new variable slave_transaction_retries. Plus fixing a typo.
      sql/set_var.cc:
        new global variable slave_transaction_retries (will be one per subslave, when we have multimaster).
      sql/slave.cc:
        Slave SQL thread: if a transaction fails because of InnoDB deadlock or innodb_lock_wait_timeout exceeded,
        optionally retry the transaction a certain number of times (--slave_transaction_retries).
      sql/slave.h:
        new RELAY_LOG_INFO::trans_retries.
      d7e0784c
    • unknown's avatar
      Bug#8306 - TRUNCATE leads to index corruption · 26f75ffc
      unknown authored
      Added a check, if the table, which we are going to create, is open.
      This can happen if a MERGE mapped table is TRUNCATEd.
      
      
      myisam/mi_open.c:
        Bug#8306 - TRUNCATE leads to index corruption
        Made test_if_reopen() globally available.
      myisam/myisamdef.h:
        Bug#8306 - TRUNCATE leads to index corruption
        Declared test_if_reopen() as globally available.
      mysql-test/r/myisam.result:
        Bug#8306 - TRUNCATE leads to index corruption
        The test result.
      mysql-test/t/myisam.test:
        Bug#8306 - TRUNCATE leads to index corruption
        The test case.
      26f75ffc
  3. 01 Mar, 2005 12 commits
  4. 28 Feb, 2005 9 commits
    • unknown's avatar
      Fix for BUG#8562: In Item_int_with_ref::new_item() create Item_int or Item_uint · 1b3ffb1b
      unknown authored
      depending on ref->unsigned_flag. Item_int_with_ref can refer to both signed and 
      unsigned integers.
      
      
      mysql-test/r/bigint.result:
        Test case for BUG#8562
      mysql-test/t/bigint.test:
        Test case for BUG#8562
      1b3ffb1b
    • unknown's avatar
      Fix for BUG#8726: In JOIN::optimize on ER_TOO_BIG_SELECT error set JOIN::error to -1 to cause · d2ead18b
      unknown authored
      the error to be sent to the client.
      
      
      mysql-test/r/select_safe.result:
        Testcase for BUG#8726
      mysql-test/t/select_safe.test:
        Testcase for BUG#8726
      sql/sql_select.cc:
        Fix for BUG#8726: On ER_TOO_BIG_SELECT set JOIN::error to -1 to cause the error to be sent to the client.
      d2ead18b
    • unknown's avatar
      merging · f9dd79c7
      unknown authored
      
      mysql-test/r/ps.result:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      f9dd79c7
    • unknown's avatar
    • unknown's avatar
      merging · 7865746c
      unknown authored
      
      mysql-test/r/show_check.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      7865746c
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0 · ebdbe9e5
      unknown authored
      into mysql.com:/home/psergey/mysql-4.0-look
      
      
      ebdbe9e5
    • unknown's avatar
      Merge · c8b3d65c
      unknown authored
      c8b3d65c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 8e3addf9
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        added support-files/ndb-config-2-node.ini
      8e3addf9
    • unknown's avatar
      Fixed wrong memory references found by purify · 8b8c9452
      unknown authored
      (No really critical errors found, but a few possible wrong results)
      
      
      innobase/dict/dict0dict.c:
        Replace memcmp with comparison of characters to avoid warnings from purify when 'sptr' points to a very short string
      mysql-test/r/select_found.result:
        Add missing drop table
      mysql-test/r/type_set.result:
        More tests
      mysql-test/t/select_found.test:
        Add missing drop table
      mysql-test/t/type_set.test:
        More tests
      mysys/my_init.c:
        Avoid warning from purify (purify doesn't handle getrusage() properly)
      sql/field.h:
        enum & set are sorted as numbers. This fixes an access to uninitialized memory when enum/set are multi-byte characters
      sql/filesort.cc:
        enum & set are sorted as numbers. This fixes an access to uninitialized memory when enum/set are multi-byte characters
      sql/item_cmpfunc.cc:
        Fixed warning from purify. (Not critical as the arguments are passed to a function but not used)
        Allocate Arg_comparator() with 'new' instead of sql_alloc() to ensure proper initialization
      sql/mysqld.cc:
        Wait for signal handler to stop when running --bootstrap
        (Fixes warning from purify)
      sql/sql_insert.cc:
        Initialize slot used by innodb.cc (not critical)
      sql/sql_lex.h:
        Better comments
      sql/sql_repl.cc:
        memcmp -> bcmp() to avoid warning from purify
      sql/sql_select.cc:
        Fix for out-of-bound memory reference when doing DISTINCT on const expressions
      strings/ctype-simple.c:
        Fixes to not access uninitialized memory
        (Not critical)
      8b8c9452
  5. 26 Feb, 2005 1 commit
    • unknown's avatar
      Fix for BUG#8560: Set max_sort_char for any 8-bit charset with binary... · 1a72e219
      unknown authored
      Fix for BUG#8560: Set max_sort_char for any 8-bit charset with binary collation. max_sort_char is needed by
      my_like_range_simple to produce upper bound constants for LIKE "str_%" and similar expressions.
      
      
      mysql-test/r/ctype_cp1251.result:
        Test for BUG#8560
      mysql-test/t/ctype_cp1251.test:
        Test for BUG#8560
      1a72e219
  6. 25 Feb, 2005 7 commits