1. 12 Jun, 2003 1 commit
    • unknown's avatar
      See each file's changeset for details. · a921cb31
      unknown authored
      - Comments for future devs.
      - Start_log_event::exec_event() : when we hit it, do a rollback.
      - We don't need LOG_EVENT_FORCED_ROTATE_F.
      - Stop_log_event::exec_event() : when we hit it, we needn't clean anything.
      - Removed LOG_EVENT_TIME_F and LOG_EVENT_FORCED_ROTATE_F.
      - We don't need Stop events in the relay log.
      - Now filtering of server id is done in the I/O thread first.
      
      
      sql/log.cc:
        We don't need LOG_EVENT_FORCED_ROTATE_F
      sql/log_event.cc:
        - Comments for future devs.
        - Start_log_event::exec_event() : when we hit it, do a rollback. If the SQL
        thread was inside a transaction (for example, the master died while writing
        to the binlog, so did not commit (because we write to the binlog before committing),
        so will rollback), it's sensible to rollback. If we're not in a transaction,
        rollback will not hurt (it will do nothing).
        - We don't need LOG_EVENT_FORCED_ROTATE_F.
        - Stop_log_event::exec_event() : when we hit it, we needn't clean anything, because
        each threads has already written some cleaning statements (DROP TEMPORARY TABLE,
        DO RELEASE_LOCK); we still clean in Start_log_event::exec_event() (if 4.x).
      sql/log_event.h:
        - Comments for future devs.
        - Removed LOG_EVENT_TIME_F and LOG_EVENT_FORCED_ROTATE_F.
      sql/slave.cc:
        - We don't need Stop events in the relay log (see changeset's description about
        log_event.cc). So we can make event queuing (writing to the relay log) simpler.
        - Something that was marked TODO: now filtering of server id (if the server id
        of this event is the same as mine ignore it) is done in the I/O thread if
        the master is 4.x (it still also done in the SQL thread whatever the version of
        the master is, for safe upgrades). This saves disk space.
      sql/slave.h:
        We don't need master_info.ignore_stop_event anymore, as we don't write Stop_event
        to the relay log anymore.
      a921cb31
  2. 11 Jun, 2003 4 commits
  3. 10 Jun, 2003 13 commits
  4. 09 Jun, 2003 3 commits
  5. 08 Jun, 2003 1 commit
    • unknown's avatar
      Fix for mysql_list_fields & reset stmt buffers from stmt_free_result · 0bb5b9ea
      unknown authored
        Windows build fix 
      
      
      VC++Files/sql/mysqld.dsp:
        Added sql_state.c to wrk space
      include/mysql_com.h:
        Windows build fix (mismatch declaration of my_bool and bool from defination)
      include/thr_alarm.h:
        Windows build fix
      libmysql/libmysql.c:
        Fix for mysql_list_fields & reset stmt buffers from stmt_free_result
      tests/client_test.c:
        Updated test for DEFAULT value for mysql_list_fields()
        New tests for mysql_stmt_free_result()
      0bb5b9ea
  6. 06 Jun, 2003 4 commits
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7fac151b
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.revoke
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      7fac151b
    • unknown's avatar
      REVOKE all privileges and delete user(244) · d1a1d24c
      unknown authored
      
      include/mysqld_error.h:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/r/grant.result:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/t/grant.test:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/czech/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/danish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/dutch/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/english/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/estonian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/french/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/german/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/greek/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/hungarian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/italian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/japanese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/korean/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian-ny/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/polish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/portuguese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/romanian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/russian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/serbian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/slovak/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/spanish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/swedish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/ukrainian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      d1a1d24c
    • unknown's avatar
      client.c: · ac366a4b
      unknown authored
        Compilation falure fix
      
      
      sql-common/client.c:
        Compilation falure fix
      ac366a4b
    • unknown's avatar
      my_global.h: · 3177fb55
      unknown authored
        ulong was used before the line it have been declared
      
      
      include/my_global.h:
        ulong was used before the line it have been declared
      3177fb55
  7. 05 Jun, 2003 14 commits
    • unknown's avatar
      After merge fixes · 824dd7f5
      unknown authored
      
      mysql-test/r/repair_part1.result:
        Rename: mysql-test/r/repair.result -> mysql-test/r/repair_part1.result
      mysql-test/t/repair_part1.test:
        Rename: mysql-test/t/repair.test -> mysql-test/t/repair_part1.test
      include/sql_common.h:
        Declare not_error_sqlstate
      scripts/Makefile.am:
        Added back fill_help_tables.sql
      824dd7f5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · cc66b447
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      cc66b447
    • unknown's avatar
      fixed bug (writting outside mallocced buffer in sql_help.cc) · d9a6a9ac
      unknown authored
      
      sql/sql_help.cc:
        fixed bug (writting outside mallocced buffer)
      d9a6a9ac
    • unknown's avatar
      Merge with 4.0.13 · 64d11bb3
      unknown authored
      
      BitKeeper/deleted/.del-internals.texi~62b6f580a41c2a43:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/r/rpl_loaddata.result:
        Auto merged
      mysql-test/t/rpl_loaddata.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      64d11bb3
    • unknown's avatar
      Added function comment · a3afb2bc
      unknown authored
      a3afb2bc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · a86c80e4
      unknown authored
      into ua126d19.elisa.omakaista.fi:/home/my/bk/mysql-4.0
      
      
      a86c80e4
    • unknown's avatar
      mysqld won't give a warning any more, if --user=user_name is used, · 35cd3cba
      unknown authored
      if 'user_name' is the current user and it is not root.
      
      
      35cd3cba
    • unknown's avatar
      ha_innodb.cc: · d3d86c12
      unknown authored
        Revert a change to dict_mem_index_add_field which slipped prematurely into the bk tree
      
      
      sql/ha_innodb.cc:
        Revert a change to dict_mem_index_add_field which slipped prematurely into the bk tree
      d3d86c12
    • unknown's avatar
      ha_innodb.cc, handler.cc: · 6d4ed167
      unknown authored
        Fix the BDB crash in the previous push; to save CPU remove duplicate calls of commit in InnoDB
      
      
      sql/handler.cc:
        Fix the BDB crash in the previous push; to save CPU remove duplicate calls of commit in InnoDB
      sql/ha_innodb.cc:
        Fix the BDB crash in the previous push; to save CPU remove duplicate calls of commit in InnoDB
      6d4ed167
    • unknown's avatar
      Merged fix for alarm on big blocks · d6f2e8c1
      unknown authored
      d6f2e8c1
    • unknown's avatar
      Fixed test if thr_alarm() failed · 4916da25
      unknown authored
      4916da25
    • unknown's avatar
      Merge jani@192.168.0.2:/my/mysql-4.0 · fb286d8b
      unknown authored
      into ua126d19.elisa.omakaista.fi:/home/my/bk/mysql-4.0
      
      
      fb286d8b
    • unknown's avatar
      Fixed a bug in concat_ws(), which did not add concat separator · 5bc53e8a
      unknown authored
      in case of an empty string. Bug ID 586.
      
      
      5bc53e8a
    • unknown's avatar
      Print error if we can't delete an alarm · cd714847
      unknown authored
      More debugging variables
      Increment aborted_threads in case of killed or too big packet
      
      
      include/thr_alarm.h:
        made prototype more portable
      mysys/thr_alarm.c:
        Print error if we can't delete an alarm
      sql/mysqld.cc:
        Statistics variable (for debugging)
      sql/net_serv.cc:
        statistics variable (for debugging)
      sql/sql_parse.cc:
        Increment aborted_threads in case of killed or too big packet
      cd714847