1. 07 Apr, 2005 20 commits
  2. 06 Apr, 2005 20 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · e458c0c6
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      client/mysqlcheck.c:
        Auto merged
      e458c0c6
    • unknown's avatar
      Fix for bug #9566 "explicit LOCK TABLE and store procedures result in · 364efa23
      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.
      364efa23
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 0c8ba42f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      0c8ba42f
    • unknown's avatar
      after merge fix · 0522ea81
      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
      0522ea81
    • unknown's avatar
      manually merged · b4937968
      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
      b4937968
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2da01dab
      unknown authored
      into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-new
      
      2da01dab
    • unknown's avatar
      Added missing file to Makefile.am · f031d10b
      unknown authored
      f031d10b
    • unknown's avatar
      merged · 55cc512a
      unknown authored
      55cc512a
    • unknown's avatar
      Minor fix in cursors execution. · 63800b2d
      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.
      63800b2d
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-clean · f9045b5e
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      client/mysqlcheck.c:
        Auto merged
      mysys/my_rename.c:
        Auto merged
      f9045b5e
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-9492 · 2422eb73
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.0-clean
      
      2422eb73
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c5e70d69
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-9520
      
      c5e70d69
    • unknown's avatar
      Refactor parts of do_select() (JOIN execution). · 9baeb1a4
      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.
      9baeb1a4
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · daddacf9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      daddacf9
    • unknown's avatar
      Fixed errors found during review · 081f146e
      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
      081f146e
    • unknown's avatar
      Merge · 5c361c07
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/rpl_rewrite_db.result:
        Auto merged
      5c361c07
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · f1ac14ee
      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
      f1ac14ee
    • unknown's avatar
      Fixed errors descovered by valgrind 2.4 · 752c8b97
      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
      752c8b97
    • unknown's avatar
      Merge mysql.com:/M41/upward-4.1 into mysql.com:/M50/merge-5.0 · 810da683
      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
      810da683
    • unknown's avatar
      InnoDB: Avoid test suite failures caused by a locking conflict · 2386a58a
      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.
      2386a58a