1. 14 Dec, 2004 3 commits
    • unknown's avatar
      Portability fix (bug #7203: "delayed" test fails on QNX when using prepared statements) · 00d9273a
      unknown authored
      
      
      mysql-test/t/delayed.test:
        Portability fix (bug #7203: "delayed" test fails on QNX when using prepared statements)
        1 is not enough delay for QNX.
      00d9273a
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · e19a3042
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-merge-fix
      
      
      e19a3042
    • unknown's avatar
      * Added comments and one assert · 8322eb0a
      unknown authored
       * Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      
      
      sql/item.cc:
         * More comments
         * Backport of safety measures from 5.0: make numeorous replaces:
            s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item.h:
        Assert added
      sql/item_cmpfunc.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_func.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_strfunc.h:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_subselect.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_sum.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/set_var.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_base.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_handler.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_help.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_select.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      8322eb0a
  2. 13 Dec, 2004 28 commits
    • unknown's avatar
      Merge jwinstead@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8bfe7550
      unknown authored
      into mysql.com:/home/jwinstead2/mysql-4.1
      
      
      8bfe7550
    • unknown's avatar
      Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0 · 0e486852
      unknown authored
       * Added Item_ref::set_properties 
       * Item_ref::Item_ref now expects to get in *item either
           NULL - then fix_fields() will be called later  or 
           ptr to Item it will refer to - then an equivalent of fix_fields() call is performed
      
      
      sql/item.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item.h:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Item_ref::Item_ref now expects to get in *item either
             NULL - then fix_fields() will be called later or
             ptr to Item it will refer to - then an equivalent of fix_fields() call is performed
      sql/item_cmpfunc.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item_func.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item_row.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item_strfunc.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      0e486852
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 730e2722
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      730e2722
    • unknown's avatar
      - a fix for the fix - now "make test" will run the test suite with and · 01e2c3f0
      unknown authored
        without the PS protocol
      
      
      01e2c3f0
    • unknown's avatar
      Makefile.am: · 844c6e34
      unknown authored
        s/spaces/TAB/
      
      
      Makefile.am:
        s/spaces/TAB/
      844c6e34
    • unknown's avatar
      Makefile.am: · 6dad5515
      unknown authored
        Add running of test suite with --ps-protocol to 'test' target
      
      
      Makefile.am:
        Add running of test suite with --ps-protocol to 'test' target
      6dad5515
    • unknown's avatar
      Merge jwinstead@bk-internal.mysql.com:/home/bk/mysql-4.1 · 317d3dc2
      unknown authored
      into mysql.com:/home/jwinstead2/mysql-4.1
      
      
      317d3dc2
    • unknown's avatar
      Merge mysql.com:/dbdata/psergey/mysql-4.0-bug6976 · 8566aab0
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-merge
      
      
      innobase/dict/dict0load.c:
        SCCS merged
      8566aab0
    • unknown's avatar
      Merged fixes for BUG#6976 and BUG#7079 · 06cbb73f
      unknown authored
      06cbb73f
    • unknown's avatar
      Merged (will need a post-merge fix) · 75a43405
      unknown authored
      
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      75a43405
    • unknown's avatar
      Merging fix for BUG#6976 from 4.0 to 4.1 · 6d7fe852
      unknown authored
      The problem in 4.1 was the same as in 4.0 - fix_fields() not called for created Item_ref. 
      The fix is similar too - initialize Item_refs in ctor (but don't interfere with cases when 
      Item_ref is used by subselects). 
      
      
      sql/item.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_cmpfunc.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_func.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_row.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_strfunc.cc:
        Fix for BUG#6976 ported from 4.0
      6d7fe852
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · e64e4eb2
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      e64e4eb2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c9a0e4ad
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/wl2274.2
      
      
      c9a0e4ad
    • unknown's avatar
      36c7c702
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c04900be
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      c04900be
    • unknown's avatar
      BackupInit.cpp: · f61f828c
      unknown authored
        quick fix for wrong allocation of size
      
      
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        quick fix for wrong allocation of size
      f61f828c
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7abd5fdd
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      
      7abd5fdd
    • unknown's avatar
      comment of class edded · 8621164b
      unknown authored
      8621164b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · d6b66e93
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      d6b66e93
    • unknown's avatar
      changed back to just restricting max meta objects in dict to make sure we can... · fe6baf9f
      unknown authored
      changed back to just restricting max meta objects in dict to make sure we can "always" configure ourselves out of unforseen limits
      
      
      ndb/src/kernel/vm/Configuration.cpp:
        changed back to just restricting mac meta objects in dict to make sure we can "always" confiure ourselves out of unforseen limits
      fe6baf9f
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · ef8cb92f
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ref-4.1
      
      
      ef8cb92f
    • unknown's avatar
      4d3362b4
    • unknown's avatar
      fixed event thread for better error handling · ca4d47dc
      unknown authored
      ca4d47dc
    • unknown's avatar
      WL#2274 - INSERT..SELECT..UPDATE · 46364ddb
      unknown authored
        UPDATE clause conflicts with SELECT for use of item_list field.
        Alter UPDATE clause to use new lex field update_list
        Tests included
      
      
      mysql-test/r/insert_update.result:
        WL#2274
          New tests for INSERT..SELECT..UPDATE
      mysql-test/t/insert_update.test:
        WL#2274
          New tests for INSERT..SELECT..UPDATE
      sql/mysql_priv.h:
        Remove function - insert_select_precheck()
      sql/sql_class.h:
        WL#2274
          New constructor for class select_insert
      sql/sql_insert.cc:
        WL#2274
          Move code into mysql_prepare_insert
          Add checks as param values may be NULL
      sql/sql_lex.cc:
        WL#2274
          initialize lex->update_list
      sql/sql_lex.h:
        WL#2274
          New field in LEX: update_list
      sql/sql_parse.cc:
        WL#2274
          INSERT..UPDATE clause now populates lex->update_list
          Remove redundant function: insert_select_precheck()
      sql/sql_prepare.cc:
        WL#2274
          invoke insert_precheck() instead of insert_select_precheck()
      sql/sql_yacc.yy:
        WL#2274
          Enable INSERT..SELECT..UPDATE syntax
          New rule - insert_update_list, to populate lex->update_list
      46364ddb
    • unknown's avatar
      Some fixes for Netware. · f4dc786e
      unknown authored
      f4dc786e
    • unknown's avatar
      bug #7230 · be19c6f7
      unknown authored
      + fixed testcase
      
      
      mysql-test/ndb/basic.result:
        fixed testcase
      ndb/include/debugger/EventLogger.hpp:
        bug #7230
      be19c6f7
    • unknown's avatar
      dict0load.c: · f40f838f
      unknown authored
        dict_load_table(): detect the new table format of MySQL 5.0.3
      
      
      innobase/dict/dict0load.c:
        dict_load_table(): detect the new table format of MySQL 5.0.3
      f40f838f
    • unknown's avatar
      initialize variables (addition for BUG#7079) · 1e314961
      unknown authored
      
      sql/item.cc:
        initialize variables
      1e314961
  3. 12 Dec, 2004 5 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · a6c5e110
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      a6c5e110
    • unknown's avatar
      CommandInterpreter.cpp: · f916abf3
      unknown authored
        changed help text
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        changed help text
      f916abf3
    • unknown's avatar
      fix bug#7193 · 8f318cf1
      unknown authored
          added start backup parameter to enable setting wait state
          and set different timeouts depending on waitstate
          moved listen of backup event out of backup and into separete thread
          thread created at connect() and destroyed at disconnect()
          added start backup command options "nowait" "wait completed" "wait started"
          fixed log level settings
      
      
      ndb/include/mgmapi/mgmapi.h:
        added start backup parameter to enable setting wait state
      ndb/src/common/debugger/EventLogger.cpp:
        changed to unsigned printout
      ndb/src/mgmapi/mgmapi.cpp:
        added start backup parameter to enable setting wait state,
        and set different timeouts depending on waitstate
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved listen of backup event out of backup and into separete thread
        thread created at connect() and destroyed at disconnect()
        added start backup command options "nowait" "wait completed" "wait started"
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        added more options to start backup to set wait state
        + set timeout depending on wait state
        + some debug printouts
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        added more options to start backup to set wait state
      ndb/src/mgmsrv/Services.cpp:
        removed old backup code
        added use of stard backup otions
        fixed log level settings
      ndb/test/src/NdbBackup.cpp:
        adopted to new wait state option in start backup
      8f318cf1
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · f738015f
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ref-4.1
      
      
      f738015f
    • unknown's avatar
      fixed optimized SOME subquery · a9457c57
      unknown authored
      
      mysql-test/r/subselect.result:
        correct results of SOME subquery
      sql/item_cmpfunc.cc:
        some comments added
        fixed optimized SOME subquery
      a9457c57
  4. 11 Dec, 2004 4 commits
    • unknown's avatar
      Merge fix for BUG#6976 from 4.0 · 35217aea
      unknown authored
      35217aea
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0 · b18e8c92
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.0-bug6976
      
      
      b18e8c92
    • unknown's avatar
      Fix for BUG#6976: · b5c119e7
      unknown authored
      In Item_ref::Item_ref set maybe_null (and other fields fix_fields sets) to be the 
      same as in (*ref), because Item_ref::fix_fields() will not be called.  Previously 
      maybe_null was 0 always and this produced a bogus state where 
      maybe_null==0 && is_null() == true 
      which broke evaluation for some upper-level Items, like AND and OR.
      
      
      mysql-test/r/group_by.result:
        Test for BUG#6976
      mysql-test/t/group_by.test:
        Test for BUG#6976
      sql/item.cc:
        Comment added
      sql/item.h:
        Fix for BUG#6976:
          in Item_ref::Item_ref(Item**...) fix all fields because fix_fields() will not be called.
      b5c119e7
    • unknown's avatar
      new reference which refer to current value not to result used for resolving outer · 3ce0df59
      unknown authored
      refernces if subqueri is not in HAVING clause (BUG#7079)
        and the same used for subquery transformetion
      
      
      mysql-test/r/subselect.result:
        reference on changable fields from subquery
      mysql-test/t/subselect.test:
        reference on changable fields from subquery
      sql/item.cc:
        new reference which refer to current value not to result used
      sql/item.h:
        new reference which refer to current value not to result used
      sql/item_subselect.cc:
        new reference which refer to current value not to result used
      3ce0df59