1. 03 May, 2006 1 commit
    • unknown's avatar
      Fixed bug #14292: performance degradation for a benchmark query. · 80ab59b4
      unknown authored
      This performance degradation was due to the fact that some
      cost evaluation code added into 4.1 in the function find_best was
      not merged into the code of the function best_access_path added
      together with other code for greedy optimizer.
      Added a parameter to the function print_plan. The parameter contains
      accumulated cost for a given partial join.
       
      The patch does not include a special test case since this performance
      degradation is hard to reproduse with a simple example.
      
      TODO: make the function find_best use the function best_access_path
      in order to remove duplication of code which might result in incomplete
      merges in the future.
      
      
      mysql-test/r/delete.result:
        Fixed bug #14292: performance degradation for a benchmark query.
        Adjusted test results.
      mysql-test/r/subselect.result:
        Fixed bug #14292: performance degradation for a benchmark query.
        Adjusted test results.
      sql/mysql_priv.h:
        Fixed bug #14292: performance degradation for a benchmark query.
        Added a parameter to the function print_plan. The parameter contains
        accumulated cost for a given partial join.
      sql/sql_select.cc:
        Fixed bug #14292: performance degradation for a benchmark query.
        This performance degradation was due to the fact that some
        cost evaluation code added into 4.1 in the function find_best was
        not merged into the code of the function best_access_path added
        together with other code for greedy optimizer.
      sql/sql_test.cc:
        Fixed bug #14292: performance degradation for a benchmark query.
        Added a parameter to the function print_plan. The parameter contains
        accumulated cost for a given partial join.
      80ab59b4
  2. 21 Apr, 2006 13 commits
    • unknown's avatar
      innodb_unsafe_binlog-master.opt: · 9d7fa43a
      unknown authored
        Make InnoDB option "loose", as the server might be
        started with this option just to find out the test
        is to be skipped in the configuration (bug#17359)
      
      
      mysql-test/t/innodb_unsafe_binlog-master.opt:
        Make InnoDB option "loose", as the server might be
        started with this option just to find out the test
        is to be skipped in the configuration (bug#17359)
      9d7fa43a
    • unknown's avatar
      Merge · 4aa121fa
      unknown authored
      
      client/mysql.cc:
        Auto merged
      4aa121fa
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · a93ea7e2
      unknown authored
      into  rurik.mysql.com:/home/igor/mysql-5.0
      
      a93ea7e2
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9394837c
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      9394837c
    • unknown's avatar
      Post merge fixes · cb91f31e
      unknown authored
      cb91f31e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 54508d5f
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      54508d5f
    • unknown's avatar
      7041c694
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · ae076381
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      ae076381
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 564253c7
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/my50-bug19190
      
      564253c7
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 · 8933d1db
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      mysql-test/r/order_by.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/t/func_gconcat.test:
        Manual merge
      mysql-test/t/order_by.test:
        Manual merge
      sql/sql_lex.h:
        Manual merge
      sql/sql_parse.cc:
        Manual merge
      sql/sql_union.cc:
        Manual merge
      8933d1db
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 6643f278
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      6643f278
    • unknown's avatar
      Fixed bug #18767. · 3dd2f261
      unknown authored
      The bug caused wrong result sets for union constructs of the form
      (SELECT ... ORDER BY order_list1 [LIMIT n]) ORDER BY order_list2.
      For such queries order lists were concatenated and limit clause was
      completely neglected. 
      
      
      mysql-test/r/order_by.result:
        Added a test case for bug #18767.
      mysql-test/t/order_by.test:
        Added a test case for bug #18767.
      sql/sql_lex.h:
        Fixed bug #18767.
        Placed the code the created a fake SELECT_LEX into a separate function.
      sql/sql_parse.cc:
        Fixed bug #18767.
        Placed the code the created a fake SELECT_LEX into a separate function.
      sql/sql_select.cc:
        Fixed bug #18767.
        Changed the condition on which a SELECT is treated as part of a UNION.
        The SELECT in 
        (SELECT ... ORDER BY order_list1 [LIMIT n]) ORDER BY order_list2 
        now is handled in the same way as the first SELECT in a UNION
        sequence.
      sql/sql_union.cc:
        Fixed bug #18767.
        Changed the condition at which a SELECT is treated as part of a UNION.
        The SELECT in 
        (SELECT ... ORDER BY order_list1 [LIMIT n]) ORDER BY order_list2 
        now is handled in the same way as the first SELECT in a UNION
        sequence.
      sql/sql_yacc.yy:
        Fixed bug #18767.
        Changed the condition at which a SELECT is treated as part of a UNION.
        The SELECT in 
        (SELECT ... ORDER BY order_list1 [LIMIT n]) ORDER BY order_list2 
        now is handled in the same way as the first SELECT in a UNION
        sequence. In the same way is handled the SELECT in
        (SELECT ... LIMIT n) ORDER BY order list.
        Yet if there is neither ORDER BY nor LIMIT in the single-select
        union construct
        (SELECT ...) ORDER BY order_list
        then it is still handled as simple select with an order clause.
      3dd2f261
  3. 20 Apr, 2006 11 commits
  4. 19 Apr, 2006 9 commits
    • unknown's avatar
      Temporarily commented out a query from the test case for bug 14169 to make it... · 4975fcf7
      unknown authored
      Temporarily commented out a query from the test case for bug 14169 to make it pass with --ps-protocol.
      
      
      mysql-test/r/func_gconcat.result:
        Added DROP TABLE command to the test case for bug 14169.
      4975fcf7
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 500c6bd8
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-4.1-2
      
      500c6bd8
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-17043 · f1eae3e6
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      f1eae3e6
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 829f1985
      unknown authored
      into moonbone.local:/work/14169-bug-4.1-mysql
      
      829f1985
    • unknown's avatar
      func_gconcat.result: · 9a49dde3
      unknown authored
        Corrected test case for the bug#14169 to make it pass in --ps-protocol mode.
      
      
      mysql-test/r/func_gconcat.result:
        Corrected test case for the bug#14169 to make it pass in --ps-protocol mode.
      9a49dde3
    • unknown's avatar
      Bug#18544 - LOCK TABLES timeout causes MyISAM table corruption · 40c94ac5
      unknown authored
      After a locking error the open table(s) were not fully
      cleaned up for reuse. But they were put into the open table
      cache even before the lock was tried. The next statement
      reused the table(s) with a wrong lock type set up. This
      tricked MyISAM into believing that it don't need to update
      the table statistics. Hence CHECK TABLE reported a mismatch
      of record count and table size.
      
      Fortunately nothing worse has been detected yet. The effect
      of the test case was that the insert worked on a read locked
      table. (!)
      
      I added a new function that clears the lock type from all
      tables that were prepared for a lock. I call this function
      when a lock failes.
      
      No test case. One test would add 50 seconds to the
      test suite. Another test requires file mode modifications.
      I added a test script to the bug report. It contains three
      cases for failing locks. All could reproduce a table
      corruption. All are fixed by this patch.
      
      This bug was not lock timeout specific.
      
      
      sql/lock.cc:
        Bug#18544 - LOCK TABLES timeout causes MyISAM table corruption
        Resetting the lock type in the open table(s) lock data
        after a locking error.
      40c94ac5
    • unknown's avatar
      Bug#19190 syntax error in mysql-test/mysql-test-run.sh script · 1a0789b8
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Use 'test', not '[' as the shell builtin might not have '-L
      1a0789b8
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/bug15530 · 3d92d43e
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/merge
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      3d92d43e
    • unknown's avatar
      Fixed bug #19079. · e4feba29
      unknown authored
      The bug caused a reported index corruption in the cases when
      key_cache_block_size was not a multiple of myisam_block_size,
      e.g. when key_cache_block_size=1536 while myisam_block_size=1024.
      
      
      mysql-test/r/key_cache.result:
        Added a test case for bug #19079.
      mysql-test/t/key_cache.test:
        Added a test case for bug #19079.
      e4feba29
  5. 18 Apr, 2006 6 commits
    • unknown's avatar
      Merge mysql.com:/home/matthias/Arbeit/mysql-4.1/src · c40b830b
      unknown authored
      into  mysql.com:/home/matthias/Arbeit/mysql-4.1/src-1
      
      c40b830b
    • unknown's avatar
      Merge mysql.com:/home/matthias/Arbeit/mysql-5.0/src · dd69cfb3
      unknown authored
      into  mysql.com:/home/matthias/Arbeit/mysql-5.0/src-1
      
      dd69cfb3
    • unknown's avatar
      configure.in: · 9fcc2dc9
      unknown authored
        Stepped up version to 5.0.20a
      
      
      configure.in:
        Stepped up version to 5.0.20a
      9fcc2dc9
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · e1951da9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-release
      
      e1951da9
    • unknown's avatar
      Bug#18815 libmysql using yassl can't be linked with c program · bf7313a1
      unknown authored
       - Apply patch to remove dependency on C++ libs when linking "libmysql" from c
      
      
      extra/yassl/include/openssl/rsa.h:
        Fix spelling error
      extra/yassl/include/openssl/ssl.h:
        Fix spelling error
      extra/yassl/include/yassl_int.hpp:
        Remove static instance
      extra/yassl/include/yassl_types.hpp:
        Add CleanUp function for static singletons
      extra/yassl/src/handshake.cpp:
        Use buffered.reset(0) instead of null_buffer
      extra/yassl/src/template_instnt.cpp:
        Add instantiation of two new templates
      extra/yassl/src/yassl_int.cpp:
        Use static pointers for singletons
      extra/yassl/taocrypt/include/integer.hpp:
        Remove statoc singletons from class scope
      extra/yassl/taocrypt/include/misc.hpp:
        Add clenaup function
      extra/yassl/taocrypt/include/runtime.hpp:
        Add runtime for Solaris
      extra/yassl/taocrypt/src/algebra.cpp:
        Use mySTL::vector to avoid array of Element being on the stack
      extra/yassl/taocrypt/src/integer.cpp:
        Use static pointers for singletons
        Add cleanup function
      extra/yassl/taocrypt/src/template_instnt.cpp:
        Add instantiation of one new template
      bf7313a1
    • unknown's avatar
      mysql.cc: · 30e11160
      unknown authored
        revert bug#16855 "fix" per Monty's request
      
      
      client/mysql.cc:
        revert bug#16855 "fix" per Monty's request
      30e11160