1. 28 Sep, 2005 6 commits
  2. 27 Sep, 2005 4 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0559f1e0
      unknown authored
      into moonbone.local:/work/13356-bug-4.1-mysql
      
      
      0559f1e0
    • unknown's avatar
      Fix bug#13356 resolve_const_item() wasn't able to handle Item_row items. · a17b3dcb
      unknown authored
      resolve_const_item() assumed to be not called for Item_row items. For
      ensuring that DBUG_ASSERT(0) was set there.
      
      This patch adds section for Item_row items. If it can it recursively calls
      resolve_const_item() for each item the Item_row contains. If any of the
      contained items is null then whole Item_row substitued by Item_null. Otherwise
      it just returns.
      
      
      sql/item.cc:
        Fix bug#13356 resolve_const_item() wasn't able to handle Item_row items.
        
        Added section to resolve_const_item() for Item_row items. If it can it
        recursively calls resolve_const_item() for each item the Item_row contains. If
        any of the contained items is null then Item_row is substituted by Item_null.
        Otherwise it just returns.
        Comment moved closer to function it belongs to.
      mysql-test/t/select.test:
        Test case for bug#13356 resolve_const_item() wasn't able to handle Item_row items.
      mysql-test/r/select.result:
        Test case for bug#13356 resolve_const_item() wasn't able to handle Item_row items.
      a17b3dcb
    • unknown's avatar
      Fix for bug #13501 "build problem: too many arguments to function my_bool · 06313b18
      unknown authored
      acl_init".
      
      Updated calls to acl_init()/grant_init() in init_embedded_server() - their
      signatures were changed recently, now they don't need argument for passing
      pointer to THD object (this code was only compiled if one built embedded
      server library with --with-embedded-privilege-control switch).
      
      
      libmysqld/lib_sql.cc:
        acl_init/grant_init() are now used only at server start up so they always
        allocate temporary THD object and don't need argument for passing pointer
        to it.
      06313b18
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · b97acc5d
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      b97acc5d
  3. 26 Sep, 2005 6 commits
  4. 25 Sep, 2005 2 commits
    • unknown's avatar
      Fixed error found during review of new pushed code · 466b46a6
      unknown authored
      
      client/mysql.cc:
        Don't use c_ptr() for cgets() and ensure buffer is not overwritten
      mysql-test/r/cast.result:
        More test for CAST(0x.... as signed)
      sql/opt_sum.cc:
        Fix bugs found during review
        - Changed code to be able to remove one if
        - Ensure that count == 0 only if is_exact_count == TRUE
      sql/sql_delete.cc:
        Ensure 'allow_sum_func' is reset before call to setup_conds
      sql/sql_lex.cc:
        allow_sum_func doesn't have to be reset for each query
        (It's to be reset in setup_fields() or before call to setup_conds()
      sql/sql_load.cc:
        Move set of auto_increment_field_not_null so that it's not set if field value is NULL
      sql/sql_prepare.cc:
        allow_sum_func doesn't have to be reset for each query
        (It's to be reset in setup_fields() or before call to setup_conds()
      sql/sql_update.cc:
        Ensure 'allow_sum_func' is reset before call to setup_conds
      466b46a6
    • unknown's avatar
      disabled.def: · 5aecf16a
      unknown authored
        Disable unstable test cases
        new file
      
      
      mysql-test/t/disabled.def:
        Disable unstable test cases
      5aecf16a
  5. 24 Sep, 2005 3 commits
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · b917ba13
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      b917ba13
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · b337566b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      
      b337566b
    • unknown's avatar
      Makefile.am: · 3614cff7
      unknown authored
        Revert to shell test script for test targets
      mysqltest.c:
        Windows pclose() returns error code in low byte
      mysql_config.sh:
        Remove -Xa -xstrconst from --cflags for Sun C++
      
      
      scripts/mysql_config.sh:
        Remove -Xa -xstrconst from --cflags for Sun C++
      client/mysqltest.c:
        Windows pclose() returns error code in low byte
      Makefile.am:
        Revert to shell test script for test targets
      3614cff7
  6. 23 Sep, 2005 9 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a51f7832
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      a51f7832
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5559c48e
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug13419
      
      
      5559c48e
    • unknown's avatar
      2a4f5aac
    • unknown's avatar
      mysqld.cc: · 1c064d28
      unknown authored
        Fix out-of-order status variable.
      
      
      sql/mysqld.cc:
        Fix out-of-order status variable.
      1c064d28
    • unknown's avatar
    • unknown's avatar
      Fix for BUG#13419: In "ref" optimizer, take into account that item=Item_func_in(x,y) is · 32de9735
      unknown authored
      not equivalent to "x=y" when item->negated == TRUE.
      
      
      mysql-test/r/func_in.result:
        Testcase for BUG#13419
      mysql-test/t/func_in.test:
        Testcase for BUG#13419
      sql/sql_select.cc:
        Fix for BUG#13419:
        * Take into account that item=Item_func_in(x,y) is not equivalent to "x=y" when 
          item->negated == TRUE.
        * Removed comment that is no longer true.
      32de9735
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0-4000 · c08721e5
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      myisam/mi_dbug.c:
        Auto merged
      myisam/mi_rkey.c:
        Auto merged
      myisam/mi_search.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisammrg/myrg_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Manual merge
      mysql-test/r/merge.result:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Manual merge
      mysql-test/t/merge.test:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Manual merge
      c08721e5
    • unknown's avatar
      Bug#9112 - Merge table with composite index producing invalid results with some queries · 674c8165
      unknown authored
      The problem was an ab-use of last_rkey_length.
      Formerly we saved the packed key length (of the search key)
      in this element. But in certain cases it got replaced by 
      the (packed) result key length.
      Now we use a new element of MI_INFO to save the packed key 
      length of the search key.
      
      
      myisam/mi_dbug.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Fixed the recognition of NULL values in _mi_print_key().
      myisam/mi_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Saved the packed key length in a new element of MI_INFO.
      myisam/mi_search.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Added a comment and trace prints.
      myisam/myisamdef.h:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Added a new element to store the packed key length
        for use by the MyISAMMRG engine.
      myisammrg/myrg_rkey.c:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        Changed to use the new element of MI_INFO to get at the
        packed key length.
      mysql-test/r/merge.result:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        The test result.
      mysql-test/t/merge.test:
        Bug#9112 - Merge table with composite index producing invalid results with some queries
        The test case.
      674c8165
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1e4a93e2
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      1e4a93e2
  7. 22 Sep, 2005 10 commits