1. 03 Mar, 2005 6 commits
    • unknown's avatar
      Ensure that the tests with '--ps-protocol' and '--embedded-server' are taken even · 26ca18c7
      unknown authored
      after the previous run had some failures, provided it did not totally crash.
      
      
      Build-tools/Do-compile:
        Change the search string for a test run from "tests were successful" to just
        "were successful", which is written by the test run even after some failures.
        This is necessary to start the next test suite ('--ps-protocol', '--embedded-server')
        even after the previous one had some test failures.
      mysql-test/mysql-test-run.sh:
        Change the message even after test failures so that it is fairly safe to identify
        the end of the run from it (as opposed to a crash of the script).
        It is essential that both a run without any and with some test failures
        write "were successful" so that it can be grepped.
      26ca18c7
    • unknown's avatar
      Bug#8840 Empty string comparison and character set 'cp1250' · 0d10d524
      unknown authored
      Secondary weight out of bounds was picked up in mistake when
      the string is empty, instead of returning 0.
      
      0d10d524
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · a8755e38
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      a8755e38
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6997d75b
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bugs
      
      6997d75b
    • unknown's avatar
      Comments added · 8d96cd21
      unknown authored
      8d96cd21
    • unknown's avatar
      ndb - bug#8876 · 9511b49a
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        typo - use of global var, spotted by mikael
      9511b49a
  2. 02 Mar, 2005 5 commits
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c291bdf5
      unknown authored
      into mysql.com:/usr/home/ram/work/4.1
      
      c291bdf5
    • unknown's avatar
      a fix for --ps-protocol (bug #6089: FOUND_ROWS returns wrong values when no table/view is used) · 48fcbfe3
      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.
      48fcbfe3
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · ca5990d2
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      ca5990d2
    • unknown's avatar
      Fix for BUG#8325 "Deadlock in replication thread stops replication": · 932f63ac
      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.
      932f63ac
    • unknown's avatar
      Bug#8306 - TRUNCATE leads to index corruption · 594a6a1e
      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.
      594a6a1e
  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 · 868c7858
      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
      868c7858
    • unknown's avatar
      Fix for BUG#8726: In JOIN::optimize on ER_TOO_BIG_SELECT error set JOIN::error to -1 to cause · 749a27c5
      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.
      749a27c5
    • unknown's avatar
      merging · 02a55ffe
      unknown authored
      
      mysql-test/r/ps.result:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      02a55ffe
    • unknown's avatar
    • unknown's avatar
      merging · ab542c9d
      unknown authored
      
      mysql-test/r/show_check.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      ab542c9d
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0 · f32ff06f
      unknown authored
      into mysql.com:/home/psergey/mysql-4.0-look
      
      f32ff06f
    • unknown's avatar
      Merge · 28e5e596
      unknown authored
      28e5e596
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3feab771
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        added support-files/ndb-config-2-node.ini
      3feab771
    • unknown's avatar
      Fixed wrong memory references found by purify · d2ce2d2e
      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)
      d2ce2d2e
  5. 26 Feb, 2005 1 commit
    • unknown's avatar
      Fix for BUG#8560: Set max_sort_char for any 8-bit charset with binary... · 492816d9
      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
      492816d9
  6. 25 Feb, 2005 7 commits