1. 09 Dec, 2003 3 commits
  2. 08 Dec, 2003 3 commits
    • unknown's avatar
      post-merge fixes · 7f85aae9
      unknown authored
      7f85aae9
    • unknown's avatar
      post-merge fixes · 042b300e
      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
      042b300e
    • unknown's avatar
      WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions · 726adf1d
      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
      726adf1d
  3. 05 Dec, 2003 3 commits
    • unknown's avatar
      New test cases for BUG#1653 (recalling a procedure after replacing a faulty · d2f94d13
      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.
      d2f94d13
    • unknown's avatar
      Post-merge fixes. · d4f2d4e3
      unknown authored
      d4f2d4e3
    • unknown's avatar
      Merged 4.1 -> 5.0 · 6af82c07
      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
      6af82c07
  4. 04 Dec, 2003 18 commits
    • unknown's avatar
      Merge mysql.com:/home/kostja/mysql/mysql-4.1-root · 5ff40e02
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-max_prep_stmt_count
      
      
      sql/mysqld.cc:
        Auto merged
      5ff40e02
    • unknown's avatar
      unused variable max_prep_stmt_count removed · f09346d0
      unknown authored
      f09346d0
    • unknown's avatar
      test result fixed · be972a50
      unknown authored
      be972a50
    • unknown's avatar
      cleanup · ab569943
      unknown authored
      ab569943
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 1ba87aa7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      1ba87aa7
    • unknown's avatar
    • unknown's avatar
      after-review fixes · 46e6fb01
      unknown authored
      46e6fb01
    • unknown's avatar
      Fixup error number - Broke during merge · d675b570
      unknown authored
      
      mysql-test/t/create.test:
        Fixup error number
      mysql-test/t/variables.test:
        Fixup error number
      d675b570
    • unknown's avatar
      Merge gweir@build.mysql.com:/home/bk/mysql-4.1 · 649b9f42
      unknown authored
      into mysql.com:/bk/mysql-4.1
      
      649b9f42
    • unknown's avatar
      Add charset #defines for Windows platform (as of 4.1.1) · a1792c21
      unknown authored
      
      include/config-win.h:
        Add HAVE_CHARSET_* defines for Windows
      a1792c21
    • unknown's avatar
      comment to user-level lock added · 2ff00faf
      unknown authored
      2ff00faf
    • unknown's avatar
      manual merge · af1c407d
      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
      af1c407d
    • unknown's avatar
      Fixed another compiler error on HP-UX. · 045e46a4
      unknown authored
      045e46a4
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · dafaf14c
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      dafaf14c
    • unknown's avatar
      - Bumped up version number in configure.in 4.1.1-alpha -> 4.1.2-alpha · 7dc82927
      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
      7dc82927
    • unknown's avatar
      Fixed BUG#336: Subselects with tables does not work as values for local SP variables · 3ef6f2aa
      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.
      3ef6f2aa
    • unknown's avatar
      - Added missing backslash to sql/Makefile.am that prevented the sp_* header · de752b52
      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
      de752b52
    • unknown's avatar
      README: · 48f26881
      unknown authored
        minor edits
      
      
      sql-bench/README:
        minor edits
      48f26881
  5. 03 Dec, 2003 4 commits
  6. 02 Dec, 2003 9 commits
    • unknown's avatar
      Merge for update · 4d445feb
      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
      4d445feb
    • unknown's avatar
      WorkLog#1280 - Remove fixed table handler from lex/yacc · f4a0e903
      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
      f4a0e903
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-5.0 · 068770c3
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-compile
      
      068770c3
    • unknown's avatar
      Fix for bug #1980 · 4c10216e
      unknown authored
      4c10216e
    • unknown's avatar
      Merge mysql.com:/home/pem/work/mysql-4.1 · 8eb3d599
      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
      8eb3d599
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5a8f0009
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      5a8f0009
    • unknown's avatar
      Fix for #1189 (Mess with names about CONSTRAINT) · 1906e569
      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
      1906e569
    • unknown's avatar
      - removed INSTALL-WIN-SOURCE from the BK tree as its content has been · 44e8b7e8
      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
      44e8b7e8
    • unknown's avatar
      Item_param::save_in_field(): · e34536fc
      unknown authored
      thd->command can be anything except COM_EXECUTE in no cases
      except programming error.
      
      e34536fc