1. 08 Dec, 2003 2 commits
    • unknown's avatar
      post-merge fixes · 4429ed7e
      unknown authored
      
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_create.h:
        Auto merged
      sql/lex.h:
        Auto merged
      4429ed7e
    • unknown's avatar
      WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions · 417354ea
      unknown authored
      Syntax for TIMESTAMPADD:
      
      TIMESTAMPADD(interval, integer_expression, datetime_expression)
      
      interval:= FRAC_SECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | 
      QUARTER | YEAR
      
      Supported SQL_TSI_  prefix  (like SQL_TSI_SECOND)
      
      Syntax for TIMESTAMPDIFF:
      
      TIMESTAMPDIFF(interval, datetime_expression1, datetime_expression2)
      
      interval:= FRAC_SECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | 
      QUARTER | YEAR
      
      Supported SQL_TSI_  prefix  (like SQL_TSI_SECOND)
      
      
      mysql-test/r/func_sapdb.result:
        Additional tests for timediff
      mysql-test/r/func_time.result:
        Tests for timestampadd, timestampdiff functions
      mysql-test/r/keywords.result:
        Test for new keywords
      mysql-test/t/func_sapdb.test:
        Additional tests for timediff
      mysql-test/t/func_time.test:
        Tests for timestampadd, timestampdiff functions
      mysql-test/t/keywords.test:
        Test for new keywords
      sql/item_create.cc:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/item_create.h:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/item_timefunc.cc:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/item_timefunc.h:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/lex.h:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      sql/sql_yacc.yy:
        WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions
      417354ea
  2. 05 Dec, 2003 3 commits
    • unknown's avatar
      New test cases for BUG#1653 (recalling a procedure after replacing a faulty · 7f9ba01f
      unknown authored
      table definition crashed), and recursive calls.
      
      
      mysql-test/r/sp.result:
        New test cases for BUG#1653 and recursive calls.
      mysql-test/t/sp.test:
        New test cases for BUG#1653 and recursive calls.
      7f9ba01f
    • unknown's avatar
      Post-merge fixes. · b7310403
      unknown authored
      b7310403
    • unknown's avatar
      Merged 4.1 -> 5.0 · 4cc04190
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/sort.c:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      4cc04190
  3. 04 Dec, 2003 18 commits
    • unknown's avatar
      Merge mysql.com:/home/kostja/mysql/mysql-4.1-root · 07de836b
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-max_prep_stmt_count
      
      
      sql/mysqld.cc:
        Auto merged
      07de836b
    • unknown's avatar
      unused variable max_prep_stmt_count removed · 997c4550
      unknown authored
      997c4550
    • unknown's avatar
      test result fixed · c135ce02
      unknown authored
      c135ce02
    • unknown's avatar
      cleanup · 7c3be1ba
      unknown authored
      7c3be1ba
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · cf45aa2b
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      cf45aa2b
    • unknown's avatar
    • unknown's avatar
      after-review fixes · 3cbe967f
      unknown authored
      3cbe967f
    • unknown's avatar
      Fixup error number - Broke during merge · 580d754d
      unknown authored
      
      mysql-test/t/create.test:
        Fixup error number
      mysql-test/t/variables.test:
        Fixup error number
      580d754d
    • unknown's avatar
      Merge gweir@build.mysql.com:/home/bk/mysql-4.1 · cebe1c0e
      unknown authored
      into mysql.com:/bk/mysql-4.1
      
      
      cebe1c0e
    • unknown's avatar
      Add charset #defines for Windows platform (as of 4.1.1) · d535144e
      unknown authored
      
      include/config-win.h:
        Add HAVE_CHARSET_* defines for Windows
      d535144e
    • unknown's avatar
      comment to user-level lock added · 270b72ff
      unknown authored
      270b72ff
    • 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
      - Bumped up version number in configure.in 4.1.1-alpha -> 4.1.2-alpha · 2e939d77
      unknown authored
       - tagged ChangeSet 1.1641 as "mysql-4.1.1"
      
      
      BitKeeper/etc/ignore:
        Added INSTALL-WIN-SOURCE to the ignore list
      configure.in:
         - Bumped up version number: 4.1.1-alpha -> 4.1.2-alpha
      2e939d77
    • 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
    • unknown's avatar
      README: · a7990d02
      unknown authored
        minor edits
      
      
      sql-bench/README:
        minor edits
      a7990d02
  4. 03 Dec, 2003 4 commits
  5. 02 Dec, 2003 13 commits
    • unknown's avatar
      Merge for update · 09eadf65
      unknown authored
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      include/mysqld_error.h:
        Merge for updates
      mysql-test/r/rpl_change_master.result:
        Merge for updates
      sql/share/czech/errmsg.txt:
        Merge for updates
      sql/share/danish/errmsg.txt:
        Merge for updates
      sql/share/dutch/errmsg.txt:
        Merge for updates
      sql/share/english/errmsg.txt:
        Merge for updates
      sql/share/estonian/errmsg.txt:
        Merge for updates
      sql/share/french/errmsg.txt:
        Merge for updates
      sql/share/german/errmsg.txt:
        Merge for updates
      sql/share/greek/errmsg.txt:
        Merge for updates
      sql/share/hungarian/errmsg.txt:
        Merge for updates
      sql/share/italian/errmsg.txt:
        Merge for updates
      sql/share/japanese/errmsg.txt:
        Merge for updates
      sql/share/korean/errmsg.txt:
        Merge for updates
      sql/share/norwegian-ny/errmsg.txt:
        Merge for updates
      sql/share/norwegian/errmsg.txt:
        Merge for updates
      sql/share/polish/errmsg.txt:
        Merge for updates
      sql/share/portuguese/errmsg.txt:
        Merge for updates
      sql/share/romanian/errmsg.txt:
        Merge for updates
      sql/share/russian/errmsg.txt:
        Merge for updates
      sql/share/serbian/errmsg.txt:
        Merge for updates
      sql/share/slovak/errmsg.txt:
        Merge for updates
      sql/share/spanish/errmsg.txt:
        Merge for updates
      sql/share/swedish/errmsg.txt:
        Merge for updates
      sql/share/ukrainian/errmsg.txt:
        Merge for updates
      09eadf65
    • unknown's avatar
      WorkLog#1280 - Remove fixed table handler from lex/yacc · c74c90ee
      unknown authored
      
      include/mysqld_error.h:
        New error message: unknown table engine
      mysql-test/r/create.result:
        New error message: unknown table engine
      mysql-test/t/create.test:
        New error message: unknown table engine
      sql/lex.h:
        Remove some keywords: HEAP, ISAM, MERGE, MEMORY, MRG_MYISAM, MYISAM
      sql/mysql_priv.h:
        Remove unused symbol
      sql/set_var.h:
        New system variable type: sys_var_thd_table_type
      sql/sql_yacc.yy:
        Remove tokens and make table_types resolve at run time
      sql/sql_show.cc:
        Tidy up
      sql/sql_table.cc:
        Tidy up
      include/sql_state.h:
        Fix indent
      sql/mysqld.cc:
        optimize
      mysql-test/r/rpl_change_master.result:
        It wouldn't pass the tests
      mysql-test/r/variables.result:
        Fix for changes
      mysql-test/r/warnings.result:
        Fix for changes
      mysql-test/t/variables.test:
        Fix for changes
      sql/handler.h:
        parameter is a const
      sql/set_var.cc:
        Code clean up for sys_var_thd_table_type::check()
      sql/handler.cc:
        More tidyup
      sql/share/czech/errmsg.txt:
        Fixups during review
      sql/share/danish/errmsg.txt:
        Fixups during review
      sql/share/dutch/errmsg.txt:
        Fixups during review
      sql/share/english/errmsg.txt:
        Fixups during review
      sql/share/estonian/errmsg.txt:
        Fixups during review
      sql/share/french/errmsg.txt:
        Fixups during review
      sql/share/german/errmsg.txt:
        Fixups during review
      sql/share/greek/errmsg.txt:
        Fixups during review
      sql/share/hungarian/errmsg.txt:
        Fixups during review
      sql/share/italian/errmsg.txt:
        Fixups during review
      sql/share/japanese/errmsg.txt:
        Fixups during review
      sql/share/korean/errmsg.txt:
        Fixups during review
      sql/share/norwegian-ny/errmsg.txt:
        Fixups during review
      sql/share/norwegian/errmsg.txt:
        Fixups during review
      sql/share/polish/errmsg.txt:
        Fixups during review
      sql/share/portuguese/errmsg.txt:
        Fixups during review
      sql/share/romanian/errmsg.txt:
        Fixups during review
      sql/share/russian/errmsg.txt:
        Fixups during review
      sql/share/serbian/errmsg.txt:
        Fixups during review
      sql/share/slovak/errmsg.txt:
        Fixups during review
      sql/share/spanish/errmsg.txt:
        Fixups during review
      sql/share/swedish/errmsg.txt:
        Fixups during review
      sql/share/ukrainian/errmsg.txt:
        Fixups during review
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c74c90ee
    • 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
      - removed INSTALL-WIN-SOURCE from the BK tree as its content has been · d1a673c8
      unknown authored
         added to manual.texi - extract it from there instead.
      
      
      BitKeeper/deleted/.del-INSTALL-WIN-SOURCE~8b030042cb95ca9:
        Delete: INSTALL-WIN-SOURCE
      Docs/Makefile.am:
         - Create INSTALL-WIN-SOURCE from mysql.info
      d1a673c8
    • 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