1. 12 Apr, 2006 1 commit
    • unknown's avatar
      In test for bug#15933 we have to wait for all disconnects to finish to avoid · 522dc5b7
      unknown authored
      a race between updating and checking Max_used_connections.  This is done in
      a loop until either disconnect finished or timeout expired.  In a latter case
      the test will fail.
      
      
      mysql-test/r/status.result:
        Update result to match changes in test case.
      mysql-test/t/status.test:
        Close extra conections in previous test.
        In test for bug#15933 we have to wait for all disconnects to finish to avoid
        a race between updating and checking Max_used_connections.  This is done in
        a loop until either disconnect finished or timeout expired.  In a latter case
        the test will fail.
        Use con1, con2, con3 instead of con3, con4, con5.
      522dc5b7
  2. 07 Apr, 2006 1 commit
    • unknown's avatar
      Bug#15933: max_used_connections is wrong after FLUSH STATUS if connections are cached · 68a0487d
      unknown authored
      After FLUSH STATUS max_used_connections was reset to 0, and haven't
      been updated while cached threads were reused, until the moment a new
      thread was created.
      
      The first suggested fix from original bug report was implemented:
      
        a) On flushing the status, set max_used_connections to
        threads_connected, not to 0.
      
        b) Check if it is necessary to increment max_used_connections when
        taking a thread from the cache as well as when creating new threads
      
      
      mysql-test/r/status.result:
        Add result for bug#15933.
      mysql-test/t/status.test:
        Add test case for bug#15933.
        Fixed typo.
      sql/mysql_priv.h:
        Add declaration of refresh_status(), which is now external.
      sql/mysqld.cc:
        Remove start_cached_thread() (code moved directly into create_new_thread()).
        Add comment for create_new_thread ().
        In create_new_thread() update max_used_connections when creating new thread
        and when reusing the cached one.
        Move refresh_status() from sql/sql_parse.cc here, on refresh set
        max_used_connections to the current number of connections.
      sql/sql_parse.cc:
        refresh_status() moved to sql/mysqld.cc.
      68a0487d
  3. 03 Apr, 2006 5 commits
    • unknown's avatar
      yassl link problem fixed · aa53b26d
      unknown authored
      
      config/ac-macros/yassl.m4:
        typo
      libmysql/Makefile.am:
        move common code to Makefile.shared
      libmysql/Makefile.shared:
        move common code to Makefile.shared
      libmysql_r/Makefile.am:
        move common code to Makefile.shared
      aa53b26d
    • unknown's avatar
      Merge · 291d8745
      unknown authored
      
      scripts/mysql_install_db.sh:
        Auto merged
      291d8745
    • unknown's avatar
      Makefile.am: · 75553aba
      unknown authored
        Distribute mysql-test-run.pl
      
      
      mysql-test/Makefile.am:
        Distribute mysql-test-run.pl
      75553aba
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 86a8a0e9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      scripts/mysql_install_db.sh:
        Auto merged
      86a8a0e9
    • unknown's avatar
      mysql_install_db.sh, MySQLEULA.txt, mysql_install_db.c: · 6e636278
      unknown authored
        Changed web address order.mysql.com to shop.mysql.com
      
      
      netware/mysql_install_db.c:
        Changed web address order.mysql.com to shop.mysql.com
      Docs/MySQLEULA.txt:
        Changed web address order.mysql.com to shop.mysql.com
      scripts/mysql_install_db.sh:
        Changed web address order.mysql.com to shop.mysql.com
      6e636278
  4. 02 Apr, 2006 1 commit
    • unknown's avatar
      Makefile.am: · c8fb1c17
      unknown authored
        Install Perl mysql-test-run into test directory
      
      
      mysql-test/Makefile.am:
        Install Perl mysql-test-run into test directory
      c8fb1c17
  5. 01 Apr, 2006 11 commits
    • unknown's avatar
      Merge · 320a179f
      unknown authored
      320a179f
    • unknown's avatar
      Makefile.am: · 67ccc002
      unknown authored
        Let "make install" install mysql-test-run.pl
      mysql.spec.sh:
        Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS (bug#16662)
      
      
      support-files/mysql.spec.sh:
        Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS (bug#16662)
      mysql-test/Makefile.am:
        Let "make install" install mysql-test-run.pl
      67ccc002
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 96f80a2b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      README:
        Auto merged
      96f80a2b
    • unknown's avatar
      README: · bcc7bff4
      unknown authored
        Typo (bug#17167)
      
      
      README:
        Typo (bug#17167)
      bcc7bff4
    • unknown's avatar
      zlib.m4: · f7fb0ccf
      unknown authored
        Use CPPFLAGS when testing to link "libz" found in --with-zlib-dir=,
        and search the given include directory first (bug#18369)
      
      
      config/ac-macros/zlib.m4:
        Use CPPFLAGS when testing to link "libz" found in --with-zlib-dir=,
        and search the given include directory first (bug#18369)
      f7fb0ccf
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-new · 91301876
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      91301876
    • unknown's avatar
      acinclude.m4: · 59ce92b9
      unknown authored
        Use CPPFLAGS when testing to link "libz" found in --with-zlib-dir=,
        and search the given include directory first (bug#18369)
      
      
      acinclude.m4:
        Use CPPFLAGS when testing to link "libz" found in --with-zlib-dir=,
        and search the given include directory first (bug#18369)
      59ce92b9
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-new · 94002454
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      VC++Files/libmysqld/libmysqld.vcproj:
        Auto merged
      VC++Files/mysys/mysys.vcproj:
        Auto merged
      VC++Files/sql/mysqld.vcproj:
        Auto merged
      94002454
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · d54c2cf9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      d54c2cf9
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · f245594b
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merged
      
      f245594b
    • unknown's avatar
      vcproj files: · 74eb78c9
      unknown authored
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard
        code it into Visual Studio project files, bug#15974
      
      
      VC++Files/bdb/bdb.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/innobase/innobase.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/libmysqld/libmysqld.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/mysqldemb/mysqldemb.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/mysys/mysys.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/sql/mysqld.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      74eb78c9
  6. 31 Mar, 2006 6 commits
    • unknown's avatar
      Makefile.am, yassl.m4: · 38fe0cee
      unknown authored
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      
      
      config/ac-macros/yassl.m4:
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      libmysql/Makefile.am:
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      libmysql_r/Makefile.am:
        Enable automake to determine dependency on yaSSL, by explicitly
        listing the .la files in Makefile.am, instead of using
        'yassl_libs_with_path', bug#18273
      38fe0cee
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 43735da6
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-merged
      
      43735da6
    • unknown's avatar
      Applied innodb-5.0-ss398 snapshot. · 457b7f4f
      unknown authored
       Fixed BUG#15650: DELETE with LEFT JOIN crashes server
       with innodb_locks_unsafe_for_binlog.
       Fixed compilation problem with non-C99 compilers
       in btr0sea.c
      
      
      innobase/btr/btr0sea.c:
        Applied innodb-5.0-ss398 snapshot.
         Fix compilation problem with non-C99 compilers.
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss398 snapshot.
         Remove assertion ut_error which crashes the mysqld
         server if it prints a warning about the adaptive latch.
      457b7f4f
    • unknown's avatar
      Fixed a typo. · 5bdcdfb5
      unknown authored
      5bdcdfb5
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 2c5bd770
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-bug-16710
      
      
      mysql-test/r/group_min_max.result:
        Auto merged
      mysql-test/t/group_min_max.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      2c5bd770
    • unknown's avatar
      Fix for BUG#16710. · bb839d3a
      unknown authored
      The bug was due to a missed case in the detection of whether an index
      can be used for loose scan. More precisely, the range optimizer chose
      to use loose index scan for queries for which the condition(s) over
      an index key part could not be pushed to the index together with the
      loose scan.
      
      As a result, loose index scan was selecting the first row in the
      index with a given GROUP BY prefix, and was applying the WHERE
      clause after that, while it should have inspected all rows with
      the given prefix, and apply the WHERE clause to all of them.
      
      The fix detects and skips such cases.
      
      
      mysql-test/r/group_min_max.result:
        Added test for BUG#16710.
      mysql-test/t/group_min_max.test:
        Added test for BUG#16710.
      sql/item.cc:
        Added new method [Item | Item_field]::find_item_in_field_list_processor.
      sql/item.h:
        Added new method [Item | Item_field]::find_item_in_field_list_processor.
      sql/opt_range.cc:
        Handle the case when there is no MIN/MAX aggregate function, and a
        keypart of the index being considered, that is after the GROUP BY
        prefix, is used in the WHERE clause and the condition where it is
        used cannot be pushed to the index.
        If this is the case, we rule out this index.
      bb839d3a
  7. 30 Mar, 2006 15 commits
    • unknown's avatar
      zlib.m4, openssl.m4: · 8ec5832c
      unknown authored
        Use  when testing if shared library exists, bug#16332
      
      
      config/ac-macros/openssl.m4:
        Use  when testing if shared library exists, bug#16332
      config/ac-macros/zlib.m4:
        Use  when testing if shared library exists, bug#16332
      8ec5832c
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · c3365e87
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      c3365e87
    • unknown's avatar
      15ca81f5
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6448446c
      unknown authored
      into sunlight.local:/local_work/15560-bug-5.0-mysql
      
      6448446c
    • unknown's avatar
      item_sum.cc, sql_select.cc: · bcad85f7
      unknown authored
        After merge fix for bug#15560
      item_sum.h:
         After merge fix for bug#15560
      
      
      sql/sql_select.cc:
        After merge fix for bug#15560
      sql/item_sum.h:
         After merge fix for bug#15560
      sql/item_sum.cc:
        After merge fix for bug#15560
      bcad85f7
    • unknown's avatar
      Manual merge · f08dd3f6
      unknown authored
      
      myisam/mi_search.c:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      f08dd3f6
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 68bc997f
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      sql/field.cc:
        Auto merged
      68bc997f
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c3d37fe8
      unknown authored
      into sunlight.local:/local_work/15560-bug-4.1-mysql
      
      
      sql/sql_table.cc:
        Auto merged
      c3d37fe8
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · cec2a1eb
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      ndb/tools/Makefile.am:
        Auto merged
      cec2a1eb
    • unknown's avatar
      btr0sea.c: · e1ba1274
      unknown authored
        Added BTR_CHUNK_SIZE, removed 'chunk_size' declared after declaration block
      
      
      innobase/btr/btr0sea.c:
        Added BTR_CHUNK_SIZE, removed 'chunk_size' declared after declaration block
      e1ba1274
    • unknown's avatar
      No commit message · e376daf8
      unknown authored
      No commit message
      e376daf8
    • unknown's avatar
      Merge · 6562cbf4
      unknown authored
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      6562cbf4
    • unknown's avatar
      post-merge fix · 4e6fd6a7
      unknown authored
      4e6fd6a7
    • unknown's avatar
      Merge · 335194af
      unknown authored
      
      mysql-test/t/create.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/create.result:
        SCCS merged
      335194af
    • unknown's avatar
      Fixed bug #18279: crash in the cases when on conditions are moved · 72b1b71c
      unknown authored
      out of a nested join to the on conditions for the nest.
      The bug happened due to:
      1. The function simplify_joins could change on expressions for nested joins.
         Yet modified on expressions were not saved in prep_on_expr.
      2. On expressions were not restored for nested joins in 
         reinit_stmt_before_use.
      
      
      mysql-test/r/join_nested.result:
        Added a test case for bug #18279.
      mysql-test/t/join_nested.test:
        Added a test case for bug #18279.
      sql/sql_prepare.cc:
        Fixed bug #18279.
        On expressions were not restored for nested joins in 
        reinit_stmt_before_use.
      sql/sql_select.cc:
        Fixed bug #18279.
        The function simplify_joins could change on expressions for nested joins.
        Yet modified on expressions were not saved in prep_on_expr.
      72b1b71c