1. 15 Mar, 2005 34 commits
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4bffdaa0
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      4bffdaa0
    • unknown's avatar
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9f59bc80
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0
      
      9f59bc80
    • unknown's avatar
      after merge fix · bfbebe16
      unknown authored
      bfbebe16
    • unknown's avatar
      merging · f88e388e
      unknown authored
      
      heap/hp_create.c:
        Auto merged
      sql/filesort.cc:
        Auto merged
      mysql-test/r/heap.result:
        manual merging
      mysql-test/t/heap.test:
        manual merging
      sql/ha_heap.cc:
        manual merging
      f88e388e
    • unknown's avatar
      Merged WL#2269 to mysql-5.0 · 2e3e05d0
      unknown authored
      
      sql/ha_ndbcluster.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        Manual merge
      2e3e05d0
    • unknown's avatar
      WL#2269 Enable query cache for NDB part 2 · 5329b3a6
      unknown authored
      -This is mostly fixes for correct behaviour when using query cache + transactions + the thread that
      fetches commit count from NDB at regular intervals. The major fix is to add a
      list in thd_ndb, that keeps a list of NDB_SHARE's that were modified by
      transaction and then "clearing" them in ndbcluster_commit.
      
      
      mysql-test/r/ndb_cache2.result:
        Updated test cases for the ndb_util thread, more simultaneous tables and more tesst
      mysql-test/t/ndb_cache2.test:
        Updated test cases for the ndb_util thread, more simultaneous tables and more advanced tesst
      sql/ha_ndbcluster.cc:
        Add table changed during transaction to list of changed tables in Thd_ndb, this list is then used in ndbcluster_commit to invalidate the cached commit_count in share
        Fix so that ndb_util_thread uses milliseconds "sleeps"
        Changed so that ndb_commit_count uses the commit_count from share if available
      sql/ha_ndbcluster.h:
        Add commit_count_lock to NBD_SHARE, use for detecting simultaneous attempts to update commit_count
        Add list of tables changed by transaction to Thd_ndb
        Change check_ndb_connection to take thd as argument, use current_thd as default
        Added m_rows_changed variable to keep track of if this handler has modified any records within the transaction
      sql/set_var.cc:
        Change format of code
        Sort sys__ variables in aplha order
      5329b3a6
    • unknown's avatar
      Cleanup · a22df022
      unknown authored
      a22df022
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · bc62be2f
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-5.0
      
      bc62be2f
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · b3be7446
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      b3be7446
    • unknown's avatar
      A fix (bug #8799: Killed filesorts can fail inited==RND assertion in ha_rnd_end). · bcea7d60
      unknown authored
      
      sql/filesort.cc:
        A fix (bug #8799: Killed filesorts can fail inited==RND assertion in ha_rnd_end).              
        Should call ha_rnd_end() only if ha_rnd_init() was called.
      bcea7d60
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1-build · 63d0267e
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      support-files/mysql.server.sh:
        Auto merged
      63d0267e
    • unknown's avatar
      - Build fix for Do-solaris-pkg: fixed package name matching regex to be satisfied with · c469d57b
      unknown authored
        "mysql-pro-gpl-cert" packages as well (thanks to Kent for the suggestion)
      
      
      Build-tools/Do-solaris-pkg:
        - fixed package name matching regex to be satisfied with "mysql-pro-gpl-cert" packages as well
          (thanks to Kent for the suggestion)
      c469d57b
    • unknown's avatar
      Applied some changes to the mysql.server init script that are already shipped... · ede1da2a
      unknown authored
      Applied some changes to the mysql.server init script that are already shipped as an additional patch
      in the 4.1.10a RPMs for SLES9/RHEL3:
      
      - small improvement: use LSB functions to display startup success and failure, if available.
        Fall back to more primitive builtin functions otherwise.
      - joined two pieces of code performing the same functionality into one "wait_for_pid" function
      - added a "reload" function (LSB requirement)
      
      
      support-files/mysql.server.sh:
        - small improvement: use LSB functions to display startup success and failure, if available.
          Fall back to builtin functions otherwise.
        - joined two pieces of code performing the same functionality into one "wait_for_pid" function
        - added a "reload" function (LSB requirement)
      ede1da2a
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0 · f724a489
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my50
      
      f724a489
    • unknown's avatar
      ndb - valgrind/compile fix Transporter.cpp: missing return · 8486e5f5
      unknown authored
      
      ndb/src/common/transporter/Transporter.cpp:
        missing return
      8486e5f5
    • unknown's avatar
      Avoid compilation error: On IRIX, identifiers with loop scope still need to be unique · bccd1dd3
      unknown authored
      at function level.
      
      
      ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Avoid compilation error: On IRIX, variables declared within a loop control statement
        seem to have function scope. Either use different identifiers, or declare them
        at function level.
      bccd1dd3
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4bf10eac
      unknown authored
      into mysql.com:/usr/home/ram/work/4.1.b8799
      
      4bf10eac
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 23d41a4c
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      23d41a4c
    • unknown's avatar
      dict0load.c: · 45ab7747
      unknown authored
        dict_load_table(): Remove unused label that was accidentally introduced
        in a 4.0->4.1->5.0 merge.
      
      
      innobase/dict/dict0load.c:
        dict_load_table(): Remove unused label that was accidentally introduced
        in a 4.0->4.1->5.0 merge.
      45ab7747
    • unknown's avatar
      A fix (bug #8489: Strange auto_increment behaviour with HEAP table). · 185b10e1
      unknown authored
      
      heap/hp_create.c:
        A fix (bug #8489: Strange auto_increment behaviour with HEAP table).
        Handle autoincrement keys MyISAM-way.
      include/heap.h:
        A fix (bug #8489: Strange auto_increment behaviour with HEAP table).
        Handle autoincrement keys MyISAM-way.
      sql/ha_heap.cc:
        A fix (bug #8489: Strange auto_increment behaviour with HEAP table).
        Handle autoincrement keys MyISAM-way.
      185b10e1
    • unknown's avatar
      After merge fixes · 60032843
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      innobase/buf/buf0flu.c:
        Manual merge
      innobase/dict/dict0load.c:
        Manual merge: do not refuse to open ROW_FORMAT=COMPACT tables
      60032843
    • unknown's avatar
      Merge hundin.mysql.fi:/home/marko/k/mysql-4.0 · 3915c964
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-4.1
      
      
      innobase/dict/dict0load.c:
        SCCS merged
      3915c964
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8d435091
      unknown authored
      into krsna.:/home/patg/test/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      8d435091
    • unknown's avatar
      This changeset contains changes approved in code review by · b45de257
      unknown authored
      Konstja and Georg, change sets 1.1806, 1.1805. These changes has been successfully 
      tested on both my own workstation (Suse 9.0) and production.mysql.com.
      
      
      mysql-test/r/federated.result:
        new test results for error handling tests.
      mysql-test/t/federated.test:
        new error handling tests
      sql/ha_federated.cc:
        - check_foreign_data source added
        - table names now enclosed in '`' to allow for '%' or other characters
        - better error handling
        - mysql_init now checked to see if it returns true/false, error out if false (Georg)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      b45de257
    • unknown's avatar
      Updated tests results for BUG#8510 · 2c07de6b
      unknown authored
      2c07de6b
    • unknown's avatar
      buf0flu.c: · adcbc0b2
      unknown authored
        Add diagnostics to track why ut_a(block->state == BUF_BLOCK_FILE_PAGE) failed in buf_flush_ready_for_replace() for a user
      
      
      innobase/buf/buf0flu.c:
        Add diagnostics to track why ut_a(block->state == BUF_BLOCK_FILE_PAGE) failed in buf_flush_ready_for_replace() for a user
      adcbc0b2
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · a8581b77
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug8510
      
      a8581b77
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-4.1-bug8510 · c6225d95
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug8510
      
      
      mysql-test/r/ansi.result:
        Auto merged
      sql/set_var.cc:
        Auto merged
      c6225d95
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · e6a239cf
      unknown authored
      into snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.1
      
      e6a239cf
    • unknown's avatar
      Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-4.0 · d3441b78
      unknown authored
      into snake-hub.snake.net:/src/extern/MySQL/bk/merge-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      d3441b78
    • unknown's avatar
      mysql.1.in: · 49f27976
      unknown authored
        Fix path that needs no parameterization.
      
      
      man/mysql.1.in:
        Fix path that needs no parameterization.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      49f27976
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 76caf793
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug8510
      
      
      sql/set_var.cc:
        Auto merged
      76caf793
    • unknown's avatar
      WL#926 "AVG(DISTINCT) and other distincts", part 2 (out of 3): clean up · 97816c1f
      unknown authored
      Item_sum_count_distinct, and
      deploy Unique for use with COUNT(DISTINCT) if there is no blob
      column in the list of DISTINCT arguments.
      
      
      mysql-test/r/count_distinct2.result:
        Test results fixed.
      mysql-test/r/func_group.result:
        Updated.
      mysql-test/r/sum_distinct.result:
        Updated.
      mysql-test/t/func_group.test:
        Add a test for COUNT(DISTINCT) and true varchar and case-insensitive
        collation. The table in the test contains only two distinct values.
      mysql-test/t/sum_distinct.test:
        Since now we support INSERT INTO t1 (a) SELECT a+1 FROM t1, shorten
        the test.
        Add a nominal test for AVG(DISTINCT)
      sql/item_sum.cc:
        Implementation of cleaned up Item_sum_count_distinct.
        Fixed a bug with COUNT(DISTINCT) and new VARCHAR and collations.
        Fixed a bug wiht AVG(DISTINCT) and wrong number of output digits
        after decimal point.
      sql/item_sum.h:
        Cleanup for Item_sum_count_distinct.
        Now if the list of distinct arguments doesn't contain a blob column,
        we always use Unique and merge-sort to find distinct values.
      sql/sql_class.h:
        Added a short-cut to find number of elements in Unique if all elements fit
        into memory.
      97816c1f
  2. 14 Mar, 2005 6 commits
    • unknown's avatar
      Merge 4.1 - 5.0 · ba133947
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_berkeley.cc:
        Auto merged
      ba133947
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · d4cf05f6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      d4cf05f6
    • unknown's avatar
      merged · 6c17d485
      unknown authored
      
      sql/item_cmpfunc.h:
        Auto merged
      mysql-test/r/join_outer.result:
        !bk-eb merged
      mysql-test/t/join_outer.test:
        !bk-eb merged
      6c17d485
    • unknown's avatar
      sql/log.cc · 5daf3443
      unknown authored
          don't set LOG_EVENT_BINLOG_IN_USE_F for relay logs
      sql/sql_repl.cc
          clear LOG_EVENT_BINLOG_IN_USE_F flag before sending an event to a slave
      
      
      sql/log.cc:
        don't set LOG_EVENT_BINLOG_IN_USE_F for relay logs
      sql/sql_repl.cc:
        clear LOG_EVENT_BINLOG_IN_USE_F flag before sending an event to a slave
      5daf3443
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 55f854a1
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      55f854a1
    • unknown's avatar
      Updated error message to be more informative. Previous error message · 7ee77a92
      unknown authored
      "Access denied to database mysql" was actually not just misleading, but
      also wrong.
      
      Bug#7905.
      
      7ee77a92