1. 09 Dec, 2003 6 commits
  2. 08 Dec, 2003 11 commits
    • unknown's avatar
      post-merge fixes · 7f85aae9
      unknown authored
      7f85aae9
    • unknown's avatar
      Fixed two packaging bugs: · ffdd9bb8
      unknown authored
       - postinstall of the Mac OS X PKG failed as a parameter for 
         mysql_install_db was changed for MySQL 4.1
       - postinstall of the Server RPM failed as mysql_create_system_tables was
         missing from the file list
      
      
      support-files/MacOSX/postinstall.sh:
         - Fix parameter for mysql_install_db (it was changed from -IN-RPM to --rpm
           in the 4.1 tree)
      support-files/mysql.spec.sh:
         - Added missing file mysql_create_system_tables to the server subpackage
      ffdd9bb8
    • 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
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ebd19a7e
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      ebd19a7e
    • unknown's avatar
      commented why valgrind barks at the bug #1500 · d808b896
      unknown authored
      d808b896
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5bb51694
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      strings/ctype-gb2312.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-ujis.c:
        Auto merged
      5bb51694
    • unknown's avatar
      Portability fixes for Windows · 89607c06
      unknown authored
      
      VC++Files/client/mysqlclient.dsp:
        Update for windows
      VC++Files/libmysql/libmysql.dsp:
        Update for windows
      VC++Files/strings/strings.dsp:
        Update for windows
      libmysqld/lib_sql.cc:
        Update for windows
      scripts/make_win_src_distribution.sh:
        Update for windows
      scripts/mysql_install_db.sh:
        Update for windows
      sql/mysqld.cc:
        Remove not used variable
      sql/set_var.cc:
        Indentation cleanups
      sql/share/czech/errmsg.txt:
        Fixed wrong delimiters
      sql/share/danish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/dutch/errmsg.txt:
        Fixed wrong delimiters
      sql/share/english/errmsg.txt:
        Fixed wrong delimiters
      sql/share/estonian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/french/errmsg.txt:
        Fixed wrong delimiters
      sql/share/greek/errmsg.txt:
        Fixed wrong delimiters
      sql/share/hungarian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/italian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/japanese/errmsg.txt:
        Fixed wrong delimiters
      sql/share/korean/errmsg.txt:
        Fixed wrong delimiters
      sql/share/norwegian-ny/errmsg.txt:
        Fixed wrong delimiters
      sql/share/norwegian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/polish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/portuguese/errmsg.txt:
        Fixed wrong delimiters
      sql/share/romanian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/russian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/serbian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/slovak/errmsg.txt:
        Fixed wrong delimiters
      sql/share/spanish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/swedish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/ukrainian/errmsg.txt:
        Fixed wrong delimiters
      sql/sql_acl.cc:
        Removed compiler warnings
      strings/ctype-big5.c:
        Removed compiler warnings (VC++)
      strings/ctype-euc_kr.c:
        Removed compiler warnings (VC++)
      strings/ctype-gb2312.c:
        Removed compiler warnings (VC++)
      strings/ctype-gbk.c:
        Removed compiler warnings (VC++)
      strings/ctype-sjis.c:
        Removed compiler warnings (VC++)
      strings/ctype-ucs2.c:
        Removed compiler warnings (VC++)
      strings/ctype-ujis.c:
        Removed compiler warnings (VC++)
      89607c06
    • unknown's avatar
      Fixed test for 'init_slave' variable · 60093be8
      unknown authored
      60093be8
    • unknown's avatar
      post-merge fixes · 306b58b1
      unknown authored
      
      sql/protocol.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      306b58b1
    • unknown's avatar
      Task ID 499:Add a new settable string variable(init_connect, init_slave) · 209e976d
      unknown authored
      to mysqld that is executed for all new connections.
      (Similar to the client command: mysql_options(... MYSQL_INIT_COMMAND ...).
      
      
      sql/mysql_priv.h:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/mysqld.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/protocol.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/set_var.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/slave.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_class.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_class.h:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_parse.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_show.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      209e976d
  3. 07 Dec, 2003 1 commit
  4. 06 Dec, 2003 3 commits
  5. 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
  6. 04 Dec, 2003 16 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