1. 04 Dec, 2003 6 commits
    • unknown's avatar
      after-review fixes · 3cbe967f
      unknown authored
      3cbe967f
    • unknown's avatar
      manual merge · 567e9fa5
      unknown authored
      
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      567e9fa5
    • unknown's avatar
      Fixed another compiler error on HP-UX. · 722d19c3
      unknown authored
      722d19c3
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 2eb70647
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      2eb70647
    • unknown's avatar
      Fixed BUG#336: Subselects with tables does not work as values for local SP variables · 3aaa8ab9
      unknown authored
       and BUG#1654: Stored Procedure Crash if contains subquery and set function
      
      Disallowed subselects in RETURN (for FUNCTIONs) and SET of local variables.
      The latter should work, but turned out to be difficult to fix, so we just
      disallow it for the time being.
      
      
      include/mysqld_error.h:
        New error message for unsupported subselect as SP set values (for the time being).
      include/sql_state.h:
        New error message for unsupported subselect as SP set values (for the time being).
      mysql-test/r/sp-error.result:
        Test cases for BUG#336 and BUG#1654. (Unsupported use of subselect)
      mysql-test/t/sp-error.test:
        Test cases for BUG#336 and BUG#1654. (Unsupported use of subselect)
      sql/item.cc:
        Made Item_splocal::type() work at compile time, for error checking.
      sql/item.h:
        Made Item_splocal::type() work at compile time, for error checking.
      sql/share/czech/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/danish/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/dutch/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/english/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/estonian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/french/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/german/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/greek/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/hungarian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/italian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/japanese/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/korean/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/norwegian-ny/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/norwegian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/polish/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/portuguese/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/romanian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/russian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/serbian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/slovak/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/spanish/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/swedish/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/share/ukrainian/errmsg.txt:
        New error message for unsupported subselect as SP set values (for the time being).
      sql/sp_head.cc:
        Fixed (bogus) compile error on HP-UX alpha.
      sql/sql_yacc.yy:
        Disallowed subselects in RETURN (for FUNCTIONs) and SET of local variables.
        The latter should work, but turned out to be difficult to fix, so we just
        disallow it for the time being.
      3aaa8ab9
    • unknown's avatar
      - Added missing backslash to sql/Makefile.am that prevented the sp_* header · 4b994e77
      unknown authored
         files from being included in the source distribution
      
      
      sql/Makefile.am:
         - Added missing backslash that prevented the sp_* header files from being
           included in the source distribution
      4b994e77
  2. 02 Dec, 2003 11 commits
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-5.0 · 43ad6617
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-compile
      
      
      43ad6617
    • unknown's avatar
      Fix for bug #1980 · d010fd10
      unknown authored
      d010fd10
    • unknown's avatar
      Merge mysql.com:/home/pem/work/mysql-4.1 · a17de3dd
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/r/null.result:
        Auto merged
      mysql-test/t/null.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      a17de3dd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0e286c90
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      0e286c90
    • unknown's avatar
      Fix for #1189 (Mess with names about CONSTRAINT) · 6990f6cf
      unknown authored
      Second edition: error message was deleted as Segey suggested
      Now name of the constraint will be used as the name of the key
      if the last not specified
      
      
      mysql-test/r/constraints.result:
        appropriate test result
      mysql-test/t/constraints.test:
        test case for 1189
      sql/sql_yacc.yy:
        language definitions changed so that we can obtaint constraint's name
        and send it as the name of the key if it's not specified
      6990f6cf
    • unknown's avatar
      Item_param::save_in_field(): · 5ea174a9
      unknown authored
      thd->command can be anything except COM_EXECUTE in no cases
      except programming error.
      
      
      5ea174a9
    • unknown's avatar
      Ensure that innodb is created for the first replication test as the... · 40d2de8e
      unknown authored
      Ensure that innodb is created for the first replication test as the slave-timeout is lower for future tests and this failed on some slower machines
      
      
      
      40d2de8e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7bdb1b1e
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      7bdb1b1e
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 7daa6cdc
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
      
      
      sql/item_cmpfunc.h:
        Auto merged
      7daa6cdc
    • unknown's avatar
      index_merge.result: · 49278596
      unknown authored
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      
      
      mysql-test/r/index_merge.result:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      49278596
    • unknown's avatar
      join_outer.result, null.result, null.test: · a65c6989
      unknown authored
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      
      
      sql/item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (big #1990).
      mysql-test/t/null.test:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/r/null.result:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/r/join_outer.result:
        Fixed inconsistency of values of used_tables_cache
        and const_item_cache for Item_func_isnull objects (bug #1990).
      a65c6989
  3. 01 Dec, 2003 7 commits
    • unknown's avatar
      join_outer.result, null.result, null.test, item_cmpfunc.h: · 17119e6d
      unknown authored
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects (bug #1990).
      
      
      sql/item_cmpfunc.h:
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/t/null.test:
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/r/null.result:
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects (bug #1990).
      mysql-test/r/join_outer.result:
        Fixed inconsistency of values of used_tables_cache and
        const_item_cache for Item_func_isnull objects (bug #1990).
      17119e6d
    • unknown's avatar
      cleanup: unused variable removed · 524ab904
      unknown authored
      followup of Bordeaux Optimizer session
      
      
      524ab904
    • unknown's avatar
      Post-merge fixes. · da7ca9ba
      unknown authored
      da7ca9ba
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 49a8ca4d
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      49a8ca4d
    • unknown's avatar
      Merge 4.1 to 5.0 · 38f853d2
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisam/sort.c:
        Auto merged
      mysql-test/install_test_db.sh:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/protocol.h:
        Auto merged
      sql/protocol_cursor.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_error.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      38f853d2
    • unknown's avatar
      don't delete select_lex->having and select_lex->where as we delete · 6736de28
      unknown authored
      all items in free_prep_stmt(free_items);
      
      indentation fix
      
      
      6736de28
    • unknown's avatar
      Portability fixes (for binary build) · 91de6fdb
      unknown authored
      Added --protocol to mysqlbinlog
      
      
      client/mysql.cc:
        Indentation cleanup
      client/mysqlbinlog.cc:
        Added protocol option
      mysql-test/r/rpl_until.result:
        Update results
      mysql-test/t/rpl_until.test:
        If --sleep option was given then the salve could do many retries, which affected the size of the binary log. This is fixed by not comparing the binary log size/position
      sql/mysqld.cc:
        More debugging with set_maximum_open_files()
      vio/viosocket.c:
        Portability fix.
      91de6fdb
  4. 28 Nov, 2003 16 commits