1. 18 Sep, 2003 2 commits
    • unknown's avatar
      configure.in: · cf104c99
      unknown authored
        Fix the problem with errmsg compilation
      
      
      configure.in:
        Fix the problem with errmsg compilation
      cf104c99
    • unknown's avatar
      SCRUM · bfb441a5
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql_com.h:
        to make net_flush() working in expressions
      libmysqld/lib_sql.cc:
        some bugs fixed
      libmysqld/libmysqld.c:
        we already have the define in client_settings.h
      sql/protocol.cc:
        net_store_data should work that way in Protocol_prep (embedded server)
      sql/protocol.h:
        definition for net_store_data
      sql/sql_prepare.cc:
        now it works in embedded library
      bfb441a5
  2. 17 Sep, 2003 7 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ee7f8d15
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      ee7f8d15
    • unknown's avatar
      SCRUM: · dc35d021
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql.h:
        Another 'virtual' method
      libmysql/client_settings.h:
        client implementation declared
      libmysql/libmysql.c:
        mysql_execute edited to work with embedded implementation
      libmysqld/lib_sql.cc:
        one error fixed (we do need parameter's buffer in embedded library)
        embedded recordset transfer methods implementations added
      sql-common/client.c:
        method added to the table
      sql/client_settings.h:
        no prepared statements in mimiclient
      sql/mysql_priv.h:
        these functions became global
      sql/protocol.cc:
        the stub added
      sql/protocol.h:
        had to change Protocol's interface for embedded library
      sql/sql_class.h:
        i changed this only for embedded case, but i think it's better to do the
        same for remote server also
      sql/sql_prepare.cc:
        parts of code #ifndef-ed
      dc35d021
    • unknown's avatar
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · e29cdcc2
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      e29cdcc2
    • unknown's avatar
      SCRUM · c6ac7fd4
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql.h:
        stmt_execute 'virtual' method added
      include/sql_common.h:
        two functions became global
      libmysql/client_settings.h:
        declaration for cli_stmt_execute
      libmysql/libmysql.c:
        some functions changed to be usable from embedded library
      libmysqld/lib_sql.cc:
        code for embedded stmt_execute added
      sql-common/client.c:
        cli_stmt_execute added to the methods table
      sql/client_settings.h:
        no need for prepared statements in miniclient
      c6ac7fd4
    • unknown's avatar
      d47e94fb
    • unknown's avatar
      BUG #1305: ISAM table handler should not be compiled by default under 4.1 · 894e4340
      unknown authored
      
      include/config-win.h:
        ISAM table handler is no longer compiled with 4.1
      894e4340
  3. 16 Sep, 2003 9 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · db34d536
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      db34d536
    • unknown's avatar
      Bug fix: · 30386e25
      unknown authored
        SET character_set_connection=newcharset;
        SELECT hex('text');
      
      The above sequence failed in some cases.
      
      30386e25
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 70b818a8
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      70b818a8
    • unknown's avatar
      UCS tests · 387809b8
      unknown authored
      387809b8
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · d15c8ac8
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      sql/sql_class.h:
        Auto merged
      d15c8ac8
    • unknown's avatar
      SCRUM · bfc9efe4
      unknown authored
      Prepared statements in embedded server
      Several changes in library code with two goals:
      to make mysql_prepare_stmt working in embedded server
      to get rid of #define mysql_interface_func mysql->methods->interface_func
      in user's interface
      
      
      include/mysql.h:
        modifications of interface
        two goals: to implement prepared statements and to get rid
        of #define mysql_proc (mysql->smth) in interface
      include/sql_common.h:
        read_rows function got 'virtual'
      libmysql/client_settings.h:
        interface of some functions declared in client.c moved here
      libmysql/libmysql.c:
        several functions changed with declared goals
      libmysqld/embedded_priv.h:
        libmysqld.c <--> lib_sql.cc interface moved here
      libmysqld/lib_sql.cc:
        all embedded 'virtual' functions moved here so they can be static
      libmysqld/libmysqld.c:
        embedded 'virtual' function was moved out of here
      sql-common/client.c:
        several changes with the declared goal
      sql/sql_class.h:
        place to store statement data added to THD
      sql/sql_prepare.cc:
        storing of prepare_statement result for embedded server added
      bfc9efe4
    • unknown's avatar
      Bug fix: · a798f4da
      unknown authored
      http://bugs.mysql.com/bug.php?id=1264
      
      a798f4da
    • unknown's avatar
      Bug fix: · 669f4b3b
      unknown authored
      http://bugs.mysql.com/bug.php?id=1264
      
      669f4b3b
    • unknown's avatar
      Bug fix: · 70ee358b
      unknown authored
      http://bugs.mysql.com/bug.php?id=1129
      From:	Georg Richter
      Description: there is a problem with special chars like umlauts in comments 
      
      
      70ee358b
  4. 15 Sep, 2003 14 commits
  5. 14 Sep, 2003 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 43c6748c
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-868
      
      43c6748c
    • unknown's avatar
      Post merge fixes. Fixed tests after adding UNTIL conditions · 9d77ddf9
      unknown authored
      to SHOW SLAVE STATUS.
      
      
      mysql-test/r/rpl000015.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_empty_master_crash.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_error_ignored_table.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_flush_log_loop.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_loaddata.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_log.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_log_pos.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_max_relay_size.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_openssl.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_redirect.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_replicate_do.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_reset_slave.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_rotate_logs.result:
        Fixed test after adding UNTIL conditions to SHOW SLAVE STATUS
      mysql-test/r/rpl_until.result:
        Post merge fix
      mysql-test/t/rpl_until.test:
        Post merge fix
      9d77ddf9
    • unknown's avatar
      0f019a58
  6. 13 Sep, 2003 5 commits
    • unknown's avatar
      Manual merge after commiting START SLAVE UNTIL · 95a16b69
      unknown authored
      
      sql/lex.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      include/mysqld_error.h:
        Manual merge
      mysql-test/r/rpl000015.result:
        Manual merge
      mysql-test/r/rpl_empty_master_crash.result:
        Manual merge
      mysql-test/r/rpl_flush_log_loop.result:
        Manual merge
      mysql-test/r/rpl_log.result:
        Manual merge
      mysql-test/r/rpl_log_pos.result:
        Manual merge
      mysql-test/r/rpl_redirect.result:
        Manual merge
      mysql-test/r/rpl_replicate_do.result:
        Manual merge
      mysql-test/r/rpl_rotate_logs.result:
        Manual merge
      sql/share/czech/errmsg.txt:
        Manual merge
      sql/share/danish/errmsg.txt:
        Manual merge
      sql/share/dutch/errmsg.txt:
        Manual merge
      sql/share/english/errmsg.txt:
        Manual merge
      sql/share/estonian/errmsg.txt:
        Manual merge
      sql/share/french/errmsg.txt:
        Manual merge
      sql/share/german/errmsg.txt:
        Manual merge
      sql/share/greek/errmsg.txt:
        Manual merge
      sql/share/hungarian/errmsg.txt:
        Manual merge
      sql/share/italian/errmsg.txt:
        Manual merge
      sql/share/japanese/errmsg.txt:
        Manual merge
      sql/share/korean/errmsg.txt:
        Manual merge
      sql/share/norwegian-ny/errmsg.txt:
        Manual merge
      sql/share/norwegian/errmsg.txt:
        Manual merge
      sql/share/polish/errmsg.txt:
        Manual merge
      sql/share/portuguese/errmsg.txt:
        Manual merge
      sql/share/romanian/errmsg.txt:
        Manual merge
      sql/share/russian/errmsg.txt:
        Manual merge
      sql/share/serbian/errmsg.txt:
        Manual merge
      sql/share/slovak/errmsg.txt:
        Manual merge
      sql/share/spanish/errmsg.txt:
        Manual merge
      sql/share/swedish/errmsg.txt:
        Manual merge
      sql/share/ukrainian/errmsg.txt:
        Manual merge
      sql/slave.cc:
        Manual merge
      sql/slave.h:
        Manual merge
      sql/sql_repl.cc:
        Manual merge
      sql/sql_yacc.yy:
        Manual merge
      95a16b69
    • unknown's avatar
      Implemented support for START SLAVE UNTIL (WL#868) · df7707c3
      unknown authored
      
      include/mysqld_error.h:
        Added error codes for warnings and error messages for START SLAVE UNTIL
      mysql-test/r/rpl000015.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_empty_master_crash.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_flush_log_loop.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_log.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_log_pos.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_redirect.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_replicate_do.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      mysql-test/r/rpl_rotate_logs.result:
        Fixed test because 3 new columns to SHOW SLAVE STATUS output were added
      sql/lex.h:
        Added UNTIL symbol
      sql/log.cc:
        Invalidating until_log_name comparison result if group_relay_log_name is changed
      sql/log_event.cc:
        Invalidating until_log_name comparison result if group_master_log_name is changed
      sql/repl_failsafe.cc:
        Cancel until condition if LOAD MASTER DATA is executed
      sql/share/czech/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/danish/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/dutch/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/english/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/estonian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/french/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/german/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/greek/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/hungarian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/italian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/japanese/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/korean/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/norwegian-ny/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/norwegian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/polish/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/portuguese/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/romanian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/russian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/serbian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/slovak/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/spanish/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/swedish/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/share/ukrainian/errmsg.txt:
        Added error and warning message for START SLAVE UNTIL
      sql/slave.cc:
        Fixed wrong locking order in init_relay_log_pos()
        Added until condition fields to SHOW SLAVE STATUS
        Added checking if UNTIL condition is reached 
        (added proper method, added its invocation, reorganized locking 
        in exec_relay_log_event() and next_event())
      sql/slave.h:
        Members in RELAY_LOG_INFO for storing UNTIL condition. Also 
        methods for for invalidation of cached UNTIL condition comparison
        results
      sql/sql_repl.cc:
        Now honoring UNTIL clause then starting slave thread. Proper 
        errors and warnings.
      sql/sql_yacc.yy:
        Added support for UNTIL clause in START SLAVE. This involved 
        extraction of some of master_defs to separate master_file_def
        non-terminal.
      df7707c3
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1179d87a
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      1179d87a
    • unknown's avatar
      Fixes for OPTION_FOUND_ROWS in UNION's · e08cbd11
      unknown authored
      
      mysql-test/r/subselect.result:
        A warning added to subselect test due to the recent changes.
        
        UNION in sub-select returns the empty set, which is why this warning is
        a mistery to me.
      mysql-test/r/union.result:
        two changes.
        
        First one is due to the proper handling of LIMIT offset, limit in 
        UNION without all.
        
        Second is a change in behaviour due to the fact that ORDER by in a 
        UNION without braces is not now applicable to the last SELECT node.
        
        It can not be applied until one bug is fixed (after my vacation).
        
        Should be documented.
      e08cbd11
    • unknown's avatar
      "normal" warning in test suite disabled · 7782e01c
      unknown authored
      bad merge fixed
      
      
      mysql-test/t/isam.test:
        bad merge fixed
      mysql-test/t/lock_tables_lost_commit.test:
        "normal" warning in test suite disabled
      mysql-test/t/subselect.test:
        "normal" warning in test suite disabled
      7782e01c