1. 07 Apr, 2005 5 commits
    • unknown's avatar
      Moved some old test and added a new test to only be run with mysql-test-run --big · e10d8144
      unknown authored
      Fixed warnings by valgrind for sum_distinct.test
      Enable buffered-record-reads after filesort for InnoDB tables with short primary key
      Enabled sort-with-data for MyISAM temporary files
      
      
      BitKeeper/etc/ignore:
        added tools/mysqltestmanager
      client/mysqltest.c:
        Ensure that BIG_TEST is always set to 0 or 1
        Fix the 'eval' also honors 'require'
      mysql-test/mysql-test-run.sh:
        Enlarge InnoDB table space for --big tests
      mysql-test/r/heap.result:
        Fix after adding more optimzation for filsort
      mysql-test/r/sum_distinct.result:
        Move 'slow' part of test to sum_distinct-big.test
      mysql-test/t/heap.test:
        Ensure that results are indpendent of optimizer
      mysql-test/t/sum_distinct.test:
        Move 'slow' part of test to sum_distinct-big.test
      sql/filesort.cc:
        Use 'sort with data' also on temporary files and with INSERT ... SELECT
      sql/ha_innodb.h:
        Remove HA_FAST_KEY_READ to enable buffered-record-reads after filesort
      sql/handler.h:
        More comments
      sql/mysql_priv.h:
        A bit smaller limit for cache for buffered-records-read (after testing)
      sql/records.cc:
        Don't use buffered-record-reads if ref_length > MAX_REFLENGTH
        Fixed warning from valgrind in 'sum_distinct'
      sql/sql_select.cc:
        Ensure that tempory tables has query_id set for all fields
        (Required for sort-with-data to work on temp files)
      e10d8144
    • unknown's avatar
      ctype-eucjpms.c: · 99c0dd3b
      unknown authored
        After merge fix.
      
      
      strings/ctype-eucjpms.c:
        After merge fix.
      99c0dd3b
    • unknown's avatar
      A small fix to Makefile.am · d9151b75
      unknown authored
      d9151b75
    • unknown's avatar
      Moved test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal · b2ff4e9c
      unknown authored
      state" to sp-error.test.
      
      According to Per-Erik all SP related tests which should result in error
      should go into sp-error.test and not in sp.test, because we want to be
      able to run sp.test using normal client.
      
      
      mysql-test/r/sp-error.result:
        Moved test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
        state" to sp-error.test.
      mysql-test/r/sp.result:
        Moved test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
        state" to sp-error.test.
      mysql-test/t/sp-error.test:
        Moved test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
        state" to sp-error.test.
      mysql-test/t/sp.test:
        Moved test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
        state" to sp-error.test.
      b2ff4e9c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 91eccfc2
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-bg9566
      
      
      91eccfc2
  2. 06 Apr, 2005 31 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 1ef9b972
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      client/mysqlcheck.c:
        Auto merged
      1ef9b972
    • unknown's avatar
      Fix for bug #9566 "explicit LOCK TABLE and store procedures result in · 188b8af6
      unknown authored
      illegal state".
      
      We should not assume that mysql.proc table does not exist if we are
      unable to open it under LOCK TABLES or in prelocked mode (and
      remember this fact by setting mysql_proc_table_exists to zero).
      
      
      mysql-test/r/sp.result:
        Added test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
        state"
      mysql-test/t/sp.test:
        Added test for bug #9566 "explicit LOCK TABLE and store procedures result in illegal
        state"
      sql/sp.cc:
        db_find_routine_aux():
          We should not assume that mysql.proc table does not exist if we are
          unable to open it under LOCK TABLES or in prelocked mode since this
          condition may be transient.
      188b8af6
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 0ec06cab
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      0ec06cab
    • unknown's avatar
      after merge fix · 1fcebd55
      unknown authored
      
      mysql-test/r/user_var.result:
        after merge fixes - old (erroneous) results restored.
        Should be corrected when the fix is applied
      mysql-test/t/user_var.test:
        after merge fixes - old (erroneous) results restored.
        Should be corrected when the fix is applied
      1fcebd55
    • unknown's avatar
      manually merged · 3960c84f
      unknown authored
      Gluh's SESSION/GLOBAL for @variables fix in sql_yacc.yy and
      Bar's well_formed_len() changes in ndb code
      did not make it and should be re-applied manually
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      include/m_ctype.h:
        Auto merged
      innobase/btr/btr0pcur.c:
        Auto merged
      innobase/include/btr0pcur.h:
        Auto merged
      innobase/include/os0file.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/t/user_var.test:
        Auto merged
      ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      ndb/tools/desc.cpp:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      strings/ctype-ujis.c:
        Auto merged
      BitKeeper/deleted/.del-NdbResultSet.cpp~84d192cf3f42600d:
        ul
      ndb/include/ndbapi/NdbScanOperation.hpp:
        ul
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        ul
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        ul
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        ul
      ndb/src/ndbapi/NdbScanOperation.cpp:
        ul
      sql/field.cc:
        manually merged, because bk messed it up
      sql/sql_yacc.yy:
        merged
      3960c84f
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · d30aa11c
      unknown authored
      into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-new
      
      
      d30aa11c
    • unknown's avatar
      Added missing file to Makefile.am · 86655591
      unknown authored
      86655591
    • unknown's avatar
      merged · 6f23625d
      unknown authored
      6f23625d
    • unknown's avatar
      Minor fix in cursors execution. · df64ac0b
      unknown authored
      
      sql/sql_select.cc:
        Fix a discrepancy spotted after the setup_end_select_func patch has been 
        pushed: last join sweep assumes that join->tmp_table is zero.
      df64ac0b
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-clean · 0d17aea7
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      client/mysqlcheck.c:
        Auto merged
      mysys/my_rename.c:
        Auto merged
      0d17aea7
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-9492 · c6bb2293
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.0-clean
      
      
      c6bb2293
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · f6853d04
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-9520
      
      
      f6853d04
    • unknown's avatar
      Refactor parts of do_select() (JOIN execution). · 61c8b3a8
      unknown authored
      
      sql/sql_select.cc:
        Bits of refactoring of do_select as one step forward to merge cursor and
        non-cursor execution.
        Moving send_fields (metadata handling) out of do_select to one level up
        and moving end_select setting to a separate function.
        This function is used in the Cursor::open() too.
      61c8b3a8
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 231f705c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      231f705c
    • unknown's avatar
      Fixed errors found during review · 7503894a
      unknown authored
      
      mysql-test/r/drop.result:
        Made error message smaller to not get into trouble with clients with smaller error buffers
        The proper way to fix this is to generate a separate warning for each not found table if there was more than one table in the DROP
        but
      mysql-test/r/kill.result:
        Portablity fix
      mysql-test/t/kill.test:
        Portablity fix
      mysys/my_sync.c:
        Fixed possible compiler warning
      sql/records.cc:
        Fixed possible compiler warning
      sql/share/errmsg.txt:
        Made error message smaller to not get into trouble with clients with smaller error buffers
      sql/sql_class.cc:
        Don't put code in comments
      sql/sql_show.cc:
        Cleanup
      7503894a
    • unknown's avatar
      Merge · 1655e97f
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/rpl_rewrite_db.result:
        Auto merged
      1655e97f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · d958b636
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      d958b636
    • unknown's avatar
      Fixed errors descovered by valgrind 2.4 · 080c8ab3
      unknown authored
      Added suppression file for some valgrind warnings that are not real errors
      
      
      mysql-test/mysql-test-run.sh:
        Added suppression of some valgrind warnings that are not real errors
      mysql-test/r/heap.result:
        Cleanup old tests and added new tests
      mysql-test/t/heap.test:
        Cleanup old tests and added new tests
      mysys/default.c:
        Removed duplicate fn_format()
      scripts/make_binary_distribution.sh:
        Added valgrind suppress file
      sql/ha_federated.cc:
        Ensure that 'socket' is initialized properly
      sql/ha_heap.cc:
        Ensure that with_auto_increment is initialized properly
      sql/mysqld.cc:
        Ensure that create_time is initialized for cached threads
      sql/sql_parse.cc:
        Indentation fix
      strings/decimal.c:
        Fixed wrong tests
      080c8ab3
    • unknown's avatar
      Merge mysql.com:/M41/upward-4.1 into mysql.com:/M50/merge-5.0 · bf67f4c7
      unknown authored
      
      BitKeeper/deleted/.del-create.c~96cecc433c0c2242:
        Auto merged
      BitKeeper/deleted/.del-errmsg.txt~f96b7055cac394e:
        Auto merged
      configure.in:
        Auto merged
      BitKeeper/deleted/.del-mrg_create.c~b747c8ec2b801f6:
        Auto merged
      include/my_global.h:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      myisam/mi_create.c:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      bf67f4c7
    • unknown's avatar
      InnoDB: Avoid test suite failures caused by a locking conflict · cde615c9
      unknown authored
      between two server instances at server shutdown/startup.
      This conflict on advisory locks appears to be the result of a bug
      in the operating system; these locks should be released when the
      files are closed, but somehow that does not always happen
      immediately in Linux.  (Bug #9381)
      
      
      innobase/include/os0file.h:
        Add OS_FILE_OPEN_RETRY for os_file_create()ing ibdata1
      innobase/os/os0file.c:
        os_file_lock(): Do not close the file on failure, but let the
        callers do that.
        os_file_create(): If create_mode==OS_FILE_OPEN_RETRY and
        os_file_lock() fails, keep retrying for 100 seconds.
      innobase/srv/srv0start.c:
        open_or_create_data_files(): Open the first data file with
        OS_FILE_OPEN_RETRY, to resolve a conflict with a shutting-down
        instance of the MySQL server.
      cde615c9
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · d5b75475
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      
      d5b75475
    • unknown's avatar
      BUG#9626 Several serious errors reported by Valgrind in latest 5.0 bk tree · 90a82622
      unknown authored
       - Fixing obvious ones
      
      
      sql/ha_ndbcluster.cc:
        Delete ndb object before exiting thread
      90a82622
    • unknown's avatar
      Makefile.am: · 12169860
      unknown authored
        Include the Perl version of mysql-test-run
      rpl_rewrite_db.test, rpl_rewrite_db.result:
        Added missing database cleanup
      mysql-test-run.pl:
        Embedded result files no longer needed
      
      
      mysql-test/mysql-test-run.pl:
        Embedded result files no longer needed
      mysql-test/r/rpl_rewrite_db.result:
        Added missing database cleanup
      mysql-test/t/rpl_rewrite_db.test:
        Added missing database cleanup
      mysql-test/Makefile.am:
        Include the Perl version of mysql-test-run
      12169860
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9c642e5b
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/mysql-4.1.9286
      
      
      9c642e5b
    • unknown's avatar
      Minor clean-ups for the previous commit. · 3683fc34
      unknown authored
      
      sql/field.cc:
        Use a separate variable. Otherwise "error" value gets lost
        after well_formed_length call.
      strings/ctype-mb.c:
        Don't return an error if we reached end of line.
      3683fc34
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ddd9fd89
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/mysql-4.1.9286
      
      
      sql/sql_yacc.yy:
        Auto merged
      ddd9fd89
    • unknown's avatar
      Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables · 31d15c3f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      31d15c3f
    • unknown's avatar
      row0sel.c, btr0pcur.c, btr0pcur.ic, btr0pcur.h: · 97b26d3b
      unknown authored
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      
      
      innobase/include/btr0pcur.h:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      innobase/include/btr0pcur.ic:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      innobase/btr/btr0pcur.c:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      innobase/row/row0sel.c:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      97b26d3b
    • unknown's avatar
      Adding a new parameter for well_formed_length to · 5687fe36
      unknown authored
      return error. We'll use it for better warnign reporting.
      
      
      5687fe36
    • unknown's avatar
      Update tests after merge of bug fix. · 566460ac
      unknown authored
      
      mysql-test/r/null.result:
        Update results
      mysql-test/r/show_check.result:
        Update results
      mysql-test/r/strict.result:
        Update results
      mysql-test/t/null.test:
        Fix default for smallint column.
      mysql-test/t/show_check.test:
        Fix default for bool column.
      566460ac
    • unknown's avatar
      Merge · 5cdec5d6
      unknown authored
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/ctype_latin1_de.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/grant2.result:
        Auto merged
      mysql-test/r/limit.result:
        Auto merged
      mysql-test/r/order_by.result:
        Auto merged
      mysql-test/r/rpl000001.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/r/type_ranges.result:
        Auto merged
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/ctype_latin1_de.test:
        Auto merged
      mysql-test/t/limit.test:
        Auto merged
      mysql-test/t/order_by.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/type_blob.test:
        Auto merged
      mysql-test/t/type_ranges.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      mysql-test/t/strict.test:
        SCCS merged
      5cdec5d6
  3. 05 Apr, 2005 4 commits