1. 14 Dec, 2004 8 commits
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3aa1605f
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      
      3aa1605f
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · e0527832
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      e0527832
    • unknown's avatar
      mysql-test-run.sh: · 16de8531
      unknown authored
        removed diskless option for ndb test
      
      
      mysql-test/mysql-test-run.sh:
        removed diskless option for ndb test
      16de8531
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3606df23
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-merge-fix
      
      
      3606df23
    • unknown's avatar
      Bug#7242 · 17d1552b
      unknown authored
      The "insert_update" causes a server crash when using prepared statements
      
      Must clear table->insert_values after completing every prepared statement
      
      
      17d1552b
    • unknown's avatar
      Test for BUG#7242: Testing prepare + several times execute · 379fe351
      unknown authored
      (here in client_test.c because we need to check if several PS execution works and the bug shows up with binary protocol only ) 
      
      
      tests/client_test.c:
        Test for BUG#7242: Testing prepare + several times execute
      379fe351
    • 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 32 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
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6daf2bcf
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      
      6daf2bcf
    • unknown's avatar
      Makefile.am: · 844c6e34
      unknown authored
        s/spaces/TAB/
      
      
      Makefile.am:
        s/spaces/TAB/
      844c6e34
    • unknown's avatar
      Small bug fix · bd8f96f7
      unknown authored
      ps-modify1 used the user variables @1, @2, @100 set within ps_query and 
                 ps_modify. That architecture was wrong, because the dependence
                 of ps_modify1 on ps_query and ps_modify makes the test script
                 maintenance and the use of these test cases during bug fixing/
                 debugging of single sub test cases very uncomfortable.
      Therefore these user variables (@1, @2, @100) are also set within ps-modify1.
      
      The result files of the test cases ps_2myisam, ps_3innodb, ps_4heap, ps_6bdb,
      ps_7ndb will be affected by that change and show 3 additional lines, but
      nothing else will change.    
      
      
      mysql-test/include/ps_modify1.inc:
        Initialization of three user variables, with values derived from ps_query
        and ps_modify
      mysql-test/r/ps_2myisam.result:
        updated result set
      mysql-test/r/ps_3innodb.result:
        updated result set
      mysql-test/r/ps_4heap.result:
        updated result sset
      mysql-test/r/ps_6bdb.result:
        updated result set
      mysql-test/r/ps_7ndb.result:
        updated result set
      bd8f96f7
    • 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 mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · fdffe61f
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      
      fdffe61f
    • 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
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0e21e511
      unknown authored
      into three.local.lan:/home/matthias/Arbeit/mysql-4.1/src
      
      
      0e21e511
    • 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