An error occurred fetching the project authors.
  1. 24 Jun, 2003 1 commit
  2. 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
  3. 03 Jun, 2003 1 commit
    • unknown's avatar
      -- Waiting for Monty's approval before push -- · ccb398b9
      unknown authored
      Bug 571: play LOAD DATA INFILE the same way on the slave as it was on the master: 
      if it was with IGNORE, do it with IGNORE,
      if it was with REPLACE, do it with REPLACE,
      and (the change) if it was with nothing, do it with nothing (not with IGNORE !!).
      Bug 573: print a proper error message in case of duplicate entry in LOAD DATA INFILE
      on the slave, i.e. a message where the keyname and key value appear :
      'Duplicate entry '1' for key 1' and not 'Duplicate entry '%-.64s' for key %d'
      
      
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/t/rpl_loaddata.test:
        check if duplicate entries on the slave trigger an error 
        when the slave replicates LOAD DATA INFILE (without IGNORE or REPLACE)
        (bug 571).
      sql/log_event.cc:
        Bug 571: play LOAD DATA INFILE the same way on the slave as it was on the master: 
        if it was with IGNORE, do it with IGNORE,
        if it was with REPLACE, do it with REPLACE,
        and (the change) if it was with nothing, do it with nothing (not with IGNORE !!).
        Bug 573: print a proper error message in case of duplicate entry in LOAD DATA INFILE
        on the slave, i.e. a message where the keyname and key value appear :
        'Duplicate entry '1' for key 1' and not 'Duplicate entry '%-.64s' for key %d'
      ccb398b9
  4. 26 May, 2003 1 commit
    • unknown's avatar
      Added testing of LOAD DATA ... STARTING BY · e864f259
      unknown authored
      Added read_only variable
      
      
      mysql-test/r/loaddata.result:
        Added testing of STARTING BY
      mysql-test/t/loaddata.test:
        Added testing of STARTING BY
      sql/log_event.cc:
        Code cleanup
      sql/set_var.cc:
        Added read_only variable
      sql/sql_update.cc:
        Remove not used variable
      e864f259
  5. 21 May, 2003 3 commits
    • unknown's avatar
      fixed "LINES STARTING" in load data replication · bddd75d2
      unknown authored
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      bddd75d2
    • unknown's avatar
      fixed 'STARTING BY' in replication · 530accba
      unknown authored
      mysql-test/r/rpl_loaddata.result:
        added test for 'STARTING BY'
      mysql-test/std_data/rpl_loaddata2.dat:
        added test for 'STARTING BY'
      mysql-test/t/rpl_loaddata.test:
        added test for 'STARTING BY'
      sql/log_event.cc:
        fixed 'STARTING BY'
      530accba
    • unknown's avatar
      After merge fixes · f72611b4
      unknown authored
      Added initialization of all important global variables
      
      
      BUILD/SETUP.sh:
        build with readline
      client/mysqltest.c:
        Added variable SERVER_VERSION
      myisam/mi_key.c:
        Indentation change
      myisam/mi_open.c:
        After merge fix
      myisam/mi_range.c:
        After merge fix
      myisam/mi_rkey.c:
        After merge fix
      myisam/mi_search.c:
        After merge fix
      myisam/myisamdef.h:
        After merge fix
      mysql-test/include/not_embedded.inc:
        Fix test (because of wrong utf8 test)
      mysql-test/r/alter_table.result:
        Updated results after merge
      mysql-test/r/create.result:
        Updated results after merge
      mysql-test/r/ctype_recoding.result:
        Updated results after merge
      mysql-test/r/fulltext.result:
        Updated results after merge
      mysql-test/r/func_group.result:
        Updated results after merge
      mysql-test/r/group_by.result:
        Updated results after merge
      mysql-test/r/innodb.result:
        Updated results after merge
      mysql-test/r/join_outer.result:
        Updated results after merge
      mysql-test/r/null_key.result:
        Updated results after merge
      mysql-test/r/order_by.result:
        Updated results after merge
      mysql-test/r/query_cache.result:
        Updated results after merge
      mysql-test/r/repair.result:
        Updated results after merge
      mysql-test/r/rpl_flush_tables.result:
        Updated results after merge
      mysql-test/r/union.result:
        Updated results after merge
      mysql-test/r/update.result:
        Updated results after merge
      mysql-test/t/ansi.test:
        After merge fixes
      mysql-test/t/create.test:
        After merge fixes
      mysql-test/t/ctype_recoding.test:
        After merge fixes
      mysql-test/t/ctype_ujis.test:
        After merge fixes
      mysql-test/t/fulltext.test:
        After merge fixes
      mysql-test/t/innodb.test:
        After merge fixes
      mysql-test/t/join_outer.test:
        After merge fixes
      mysql-test/t/loaddata.test:
        After merge fixes
      mysql-test/t/order_by.test:
        After merge fixes
      mysql-test/t/rpl_flush_tables.test:
        After merge fixes
      mysql-test/t/status.test:
        After merge fixes
      mysql-test/t/subselect.test:
        After merge fixes
      sql/convert.cc:
        Code cleanup
      sql/field.cc:
        After merge fixes
      sql/filesort.cc:
        Remove compiler warning
      sql/item.cc:
        More efficient set_name() (no mallocs)
      sql/item_cmpfunc.cc:
        Code Code cleanup
        Item_bool_func2::fix_fields() added to get error handling right for cmp_charset
      sql/item_cmpfunc.h:
        New prototypes
      sql/item_func.cc:
        After merge fix
      sql/item_strfunc.cc:
        Faster check for BINARY
      sql/log_event.cc:
        Comment cleanup
      sql/mysql_priv.h:
        New prototypes and variables
      sql/mysqld.cc:
        Added initialization of all important global variables.
        Cleanup of variable declarations
        This is needed ot make the embedded version restartable
      sql/opt_sum.cc:
        After merge fix
      sql/set_var.cc:
        Code cleanup
      sql/sql_acl.cc:
        After merge fix
        Better error message
      sql/sql_db.cc:
        After merge fix
      sql/sql_derived.cc:
        After merge fix
      sql/sql_insert.cc:
        Indentation cleanups
      sql/sql_list.h:
        Added empty() to base_ilist
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        After merge fix
        Fixed derived name handling in EXPLAIN
      sql/sql_show.cc:
        After merge fix
      sql/sql_string.cc:
        Made copy_and_convert global
      sql/sql_string.h:
        Made copy_and_convert global
      sql/sql_update.cc:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
      sql/thr_malloc.cc:
        Added sql_strmake_with_convert()
      sql/unireg.h:
        Added MAX_ALIAS_NAME
      strings/ctype-ujis.c:
        Fixed bug in converting to ujis
      f72611b4
  6. 20 May, 2003 1 commit
    • unknown's avatar
      changed processing of LOAD DATA in mysqlbinlog · 2ff9aee8
      unknown authored
      client/Makefile.am:
        added ../mysys/mf_tempdir.c to mysqlbinlog_SOURCES
      client/mysqlbinlog.cc:
        changed processing of LOAD DATA
      mysql-test/r/rpl_loaddata.result:
        added LINE STARTING BY '>'
      mysql-test/std_data/rpl_loaddata2.dat:
        added LINE STARTING BY '>'
      mysql-test/t/rpl_loaddata.test:
        added LINE STARTING BY '>'
      sql/log_event.cc:
        fixed some bugs in processing of LOAD DATA
      2ff9aee8
  7. 24 Apr, 2003 1 commit
    • unknown's avatar
      Replication: new code to not modify in-memory log positions until the COMMIT · 9f4f19d9
      unknown authored
      is executed, even if the transaction spans on >=2 relay logs (bug #53).
      New variable relay_log_purge =0|1
      New test to verify bug #53
      
      
      sql/log.cc:
        Now we purge a relay log only when we are sure we won't need it,
        i.e. we have executed the final query (if autocommit=1) or the COMMIT.
      sql/log_event.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
      sql/mysql_priv.h:
        new option relay_log_purge (the user can now decide himself
        if he wants his relay logs to be automatically purged or not,
        we don't make unsafe guesses like before)
      sql/mysqld.cc:
        new option --innodb (replaces --skip-innodb).
        Useful for the test suite : we have skip-innodb in mysql-test-run,
        but we can ('-opt.info' file) choose to start the server with
        InnoDB for this test only.
        New option --bdb
      sql/repl_failsafe.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
      sql/set_var.cc:
        new variable relay_log_purge
      sql/slave.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
        Now we purge a relay log only when we are sure we won't need it,
        i.e. we have executed the final query (if autocommit=1) or the COMMIT
      sql/slave.h:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
      sql/sql_class.h:
        prototypes change
      sql/sql_parse.cc:
        removed thd argument (was not used in the function's body)
      sql/sql_repl.cc:
        Better tracking of the relay log's name and position
        lastly executed, even if we are in a transaction which spans on
        2 or more relay logs.
        Turn relay_log_purge silently off when someone does CHANGE
        MASTER TO RELAY_LOG_*
      9f4f19d9
  8. 23 Apr, 2003 1 commit
    • unknown's avatar
      Task 761:'mysqlbinlog should not die when reading · c14f989f
      unknown authored
      unknown event'
      
      
      client/mysqlbinlog.cc:
        Task 761:'mysqlbinlog should not die when reading
        unknown event'
        The 'force-read' option has been added.
      sql/log_event.cc:
        Task 761:'mysqlbinlog should not die when reading
        unknown event'
        The'Unknown_log_event' class has been added
      sql/log_event.h:
        Task 761:'mysqlbinlog should not die when reading
        unknown event'
        The 'Unknown_log_event' class has been added.
      c14f989f
  9. 22 Apr, 2003 2 commits
  10. 09 Apr, 2003 1 commit
    • unknown's avatar
      fix for #254 · 8cad4f70
      unknown authored
      (3.23 master, 4.0 slave. 
      Slave loss temp tables everytime FLUSH LOGS on master). 
      This fix is less bad than the bug, it will cause a problem only maybe
      if the master dies the hard way (I say maybe because I could not
      cause a problem, and I don't see how it could happen).
      
      
      sql/log_event.cc:
        fix for #254
        (3.23 master, 4.0 slave. 
        Slave loss temp tables everytime FLUSH LOGS on master). 
        This fix is less bad than the bug, it will cause a problem only maybe
        if the master dies the hard way. (I say maybe because I could not
        cause a problem, and I don't see how it could happen).
      8cad4f70
  11. 03 Apr, 2003 2 commits
  12. 01 Apr, 2003 1 commit
    • unknown's avatar
      Small-and-safe fix for bug #218: "LOAD DATA INFILE IGNORE is well · 241b6c05
      unknown authored
      logged, but read as LOAD DATA INFILE REPLACE"
      This was just bad && instead of &, but nasty consequences.
      This should be merged to 4.0 BUT it will not be automatic (some code
      has moved from log_event.h to log_event.cc, and log_event.cc has changed);
      please Merging Man, do 'bk grep REPLACE_FLAG' in 4.0/sql
      to find all the new places.
      
      
      sql/log_event.cc:
        & instead of && when testing flags
      sql/slave.cc:
        & instead of && when testing flags
      241b6c05
  13. 25 Mar, 2003 1 commit
  14. 21 Mar, 2003 1 commit
  15. 19 Mar, 2003 1 commit
    • unknown's avatar
      Added support for ULONG division with DIV · d7bedeb9
      unknown authored
      Fixed non fatal memory leak in slave code.
      
      
      mysql-test/r/func_test.result:
        Added test for DIV
      mysql-test/t/func_test.test:
        Added test for DIV
      mysys/my_alloc.c:
        More DBUG statements
      sql/item_func.cc:
        Added support for ULONG division with DIV
      sql/log_event.cc:
        Fixed memory leak (Wrong call to init_sql_alloc)
      sql/slave.cc:
        Fixed memory leak (Wrong call to init_sql_alloc)
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Added init_for_queries() to fix memory leak in slave code
      sql/sql_class.h:
        Added init_for_queries() to fix memory leak in slave code
      sql/sql_error.cc:
        More DBUG statements
      sql/sql_parse.cc:
        Added init_for_queries() to fix memory leak in slave code
      sql/unireg.h:
        Moved memory defaults to include file
      d7bedeb9
  16. 18 Mar, 2003 2 commits
  17. 17 Mar, 2003 1 commit
  18. 05 Mar, 2003 1 commit
  19. 04 Mar, 2003 1 commit
  20. 03 Mar, 2003 1 commit
    • unknown's avatar
      Coercibility is now stored in user vars · 48df5b75
      unknown authored
      sql/item.h:
        Change constant values order according to the word "coercibility" nature
      sql/item_func.cc:
        Change constant values order according to the word "coercibility" nature
      48df5b75
  21. 01 Mar, 2003 1 commit
  22. 28 Feb, 2003 1 commit
    • unknown's avatar
      LOAD DATA INFILE is not replicated if replicate_*_table is set · b276b60e
      unknown authored
      LOAD DATA LOCAL INFILE was not replicated correctly
      
      
      VC++Files/bdb/bdb.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/Berkeley_DB.dsw:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_archive.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_buildall.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_checkpoint.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_deadlock.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_dll.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_dump.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_java.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_load.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_printlog.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_recover.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_stat.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_static.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_static1.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_tcl.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_test.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_upgrade.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/db_verify.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/ex_access.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/ex_btrec.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/ex_env.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/ex_lock.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/ex_mpool.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/ex_tpcb.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/excxx_access.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/excxx_btrec.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/excxx_env.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/excxx_lock.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/excxx_mpool.dsp:
        Updated VC++ files +end space removed
      VC++Files/bdb/build_win32/excxx_tpcb.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysql.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysqladmin.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysqlcheck.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysqlclient.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysqlclient.dsw:
        Updated VC++ files +end space removed
      VC++Files/client/mysqldump.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysqlimport.dsp:
        Updated VC++ files +end space removed
      VC++Files/client/mysqlshow.dsp:
        Updated VC++ files +end space removed
      VC++Files/comp_err/comp_err.dsp:
        Updated VC++ files +end space removed
      VC++Files/contrib/asm386/zlibvc.dsp:
        Updated VC++ files +end space removed
      VC++Files/contrib/asm386/zlibvc.dsw:
        Updated VC++ files +end space removed
      VC++Files/contrib/minizip/zlibvc.dsp:
        Updated VC++ files +end space removed
      VC++Files/contrib/minizip/zlibvc.dsw:
        Updated VC++ files +end space removed
      VC++Files/dbug/dbug.dsp:
        Updated VC++ files +end space removed
      VC++Files/dbug/dbug.dsw:
        Updated VC++ files +end space removed
      VC++Files/heap/heap.dsp:
        Updated VC++ files +end space removed
      VC++Files/innobase/innobase.dsp:
        Updated VC++ files +end space removed
      VC++Files/isam/isam.dsp:
        Updated VC++ files +end space removed
      VC++Files/isam/isam.dsw:
        Updated VC++ files +end space removed
      VC++Files/isamchk/isamchk.dsp:
        Updated VC++ files +end space removed
      VC++Files/libmysql/libmysql.dsp:
        Updated VC++ files +end space removed
      VC++Files/libmysql/libmysql.dsw:
        Updated VC++ files +end space removed
      VC++Files/libmysqld/examples/test_libmysqld.dsp:
        Updated VC++ files +end space removed
      VC++Files/libmysqld/libmysqld.dsp:
        Updated VC++ files +end space removed
      VC++Files/libmysqltest/myTest.dsp:
        Updated VC++ files +end space removed
      VC++Files/libmysqltest/mytest.dsw:
        Updated VC++ files +end space removed
      VC++Files/merge/merge.dsp:
        Updated VC++ files +end space removed
      VC++Files/merge/merge.dsw:
        Updated VC++ files +end space removed
      VC++Files/my_print_defaults/my_print_defaults.dsp:
        Updated VC++ files +end space removed
      VC++Files/myisam/myisam.dsp:
        Updated VC++ files +end space removed
      VC++Files/myisamchk/myisamchk.dsp:
        Updated VC++ files +end space removed
      VC++Files/myisamlog/myisamlog.dsp:
        Updated VC++ files +end space removed
      VC++Files/myisammrg/myisammrg.dsp:
        Updated VC++ files +end space removed
      VC++Files/myisampack/myisampack.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysql.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysql.dsw:
        Updated VC++ files +end space removed
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqldemb/mysqldemb.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqlmanager/MySqlManager.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqlmanager/mysqlmanager.dsw:
        Updated VC++ files +end space removed
      VC++Files/mysqlserver/mysqlserver.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqlshutdown/myshutdown.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqlshutdown/mysqlshutdown.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysqlwatch/mysqlwatch.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysys/mysys.dsp:
        Updated VC++ files +end space removed
      VC++Files/mysys/mysys.dsw:
        Updated VC++ files +end space removed
      VC++Files/pack_isam/pack_isam.dsp:
        Updated VC++ files +end space removed
      VC++Files/perror/perror.dsp:
        Updated VC++ files +end space removed
      VC++Files/regex/regex.dsp:
        Updated VC++ files +end space removed
      VC++Files/regex/regex.dsw:
        Updated VC++ files +end space removed
      VC++Files/replace/replace.dsp:
        Updated VC++ files +end space removed
      VC++Files/sql/mysqld.dsp:
        Updated VC++ files +end space removed
      VC++Files/sql/mysqld.dsw:
        Updated VC++ files +end space removed
      VC++Files/sql/mysqldmax.dsp:
        Updated VC++ files +end space removed
      VC++Files/sql/old/mysqld.dsw:
        Updated VC++ files +end space removed
      VC++Files/strings/MASM6x/strings.dsp:
        Updated VC++ files +end space removed
      VC++Files/strings/MASM6x/strings.dsw:
        Updated VC++ files +end space removed
      VC++Files/strings/backup/strings.dsp:
        Updated VC++ files +end space removed
      VC++Files/strings/backup/strings.dsw:
        Updated VC++ files +end space removed
      VC++Files/strings/noMASM/strings.dsp:
        Updated VC++ files +end space removed
      VC++Files/strings/noMASM/strings.dsw:
        Updated VC++ files +end space removed
      VC++Files/strings/strings.dsp:
        Updated VC++ files +end space removed
      VC++Files/strings/strings.dsw:
        Updated VC++ files +end space removed
      VC++Files/test1/test1.dsp:
        Updated VC++ files +end space removed
      VC++Files/thr_insert_test/thr_insert_test.dsp:
        Updated VC++ files +end space removed
      VC++Files/thr_test/thr_test.dsp:
        Updated VC++ files +end space removed
      VC++Files/vio/vio.dsp:
        Updated VC++ files +end space removed
      VC++Files/zlib/zlib.dsp:
        Updated VC++ files +end space removed
      include/my_global.h:
        Always include errno.h
      sql/log_event.cc:
        LOAD DATA INFILE is not replicated if replicate_*_table is set
      sql/mf_iocache.cc:
        LOAD DATA LOCAL INFILE was not replicated correctly
      b276b60e
  23. 27 Feb, 2003 1 commit
    • unknown's avatar
      Added detection if pthread_attr_getstacksize() exists · e6dad704
      unknown authored
      Fixed bug in RAND() usage in mysqlbinlog
      
      
      configure.in:
        Added detection if pthread_attr_getstacksize() exists
      include/thr_lock.h:
        Fixed wrong comment
      sql/log_event.cc:
        Fixed bug in RAND() usage in mysqlbinlog
      sql/mysqld.cc:
        Portablity fix
      sql/repl_failsafe.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/slave.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_class.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_insert.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_show.cc:
        Set host_or_ip for system threads (to make other code simpler)
      e6dad704
  24. 17 Feb, 2003 1 commit
    • unknown's avatar
      Bug fix: for SHOW STATUS (when ssl is used) · c40bcc57
      unknown authored
      Added ROW_RESULT to switchs(for documentation purposes)
      
      
      sql/filesort.cc:
        For documentation purposes
      sql/item_cmpfunc.cc:
        For documentation purposes
      sql/item_func.cc:
        For documentation purposes
      sql/item_sum.cc:
        For documentation purposes
      sql/log_event.cc:
        For documentation purposes
      sql/sql_lex.cc:
        For documentation purposes
      sql/sql_select.cc:
        For documentation purposes
      sql/sql_show.cc:
        Bug fix: for SHOW STATUS (when ssl is used)
      c40bcc57
  25. 14 Feb, 2003 1 commit
    • unknown's avatar
      Fixed problem when connecting to user without a password. · 5a12dff3
      unknown authored
      Fixed problem with LIKE and BINARY
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables
      client/mysqltest.c:
        Better error messages
      libmysql/libmysql.c:
        Simple code cleanup
        Simplified connect() and change_user() by using sub function
      libmysqld/lib_sql.cc:
        Ensure that new fields in MYSQL_FIELD structure is used
      mysql-test/r/rpl_user_variables.result:
        Cleaned up test
      mysql-test/r/type_blob.result:
        New test
      mysql-test/t/rpl_user_variables.test:
        Cleaned up test
      mysql-test/t/type_blob.test:
        New test
      sql/item.cc:
        Fixed that Item_ref returns the right character set
      sql/item_cmpfunc.cc:
        Fixed problem with LIKE and BINARY
      sql/item_func.cc:
        Don't store end ASCII(0) for string user variables
        (Made some other code easier)
      sql/log_event.cc:
        Don't store end ASCII(0) for string user variables.
        Fixed comment style
        Some optimizations
      sql/log_event.h:
        Optimized type
      sql/mini_client.cc:
        Indentation changes
      sql/mysql_priv.h:
        Made is_update_query extern
      sql/protocol.cc:
        Simple code cleanup
      sql/sql_acl.cc:
        Code cleanup
        Fixed problem when connecting to user without a password.
      sql/sql_lex.h:
        Fixed problem with uninitialized memory
      sql/sql_parse.cc:
        Fixed problem with user without passwords
        Fixed some connect problems.
      sql/time.cc:
        removed reference to uninitialized memory
      5a12dff3
  26. 10 Feb, 2003 1 commit
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
  27. 31 Jan, 2003 3 commits
  28. 30 Jan, 2003 2 commits
    • unknown's avatar
      fixed bug in determinating uncacheable queries · c7c45bf2
      unknown authored
      new fatal_error interface to assign is_fatal_error and ne.report_error
      commant about Item_row
      
      
      mysql-test/r/subselect.result:
        test of inheritence of uncacheability
      mysql-test/t/subselect.test:
        test of inheritence of uncacheability
      sql/item.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_func.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_row.cc:
        comment about row
      sql/item_subselect.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
        (message should be sent by allocate routine
      sql/log_event.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/mysqld.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/protocol.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_base.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.h:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_delete.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_insert.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_lex.h:
        fixed bug in determinating uncacheable queries
      sql/sql_parse.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_prepare.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_select.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_show.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_union.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_update.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/thr_malloc.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      c7c45bf2
    • unknown's avatar
      'Replicate user variables' task · 6828a4c0
      unknown authored
      include/my_sys.h:
        Addet reset_dinamic
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      6828a4c0
  29. 29 Jan, 2003 1 commit
  30. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  31. 19 Jan, 2003 1 commit
    • unknown's avatar
      Fixes cases where thd->query was not protected. · 88df4e73
      unknown authored
      This fixes a problem with SHOW PROCESSLIST
      
      
      sql/log_event.cc:
        Fixes cases where thd->query was not protected
      sql/sql_acl.cc:
        Table privileges was not reset on FLUSH PRIVILEGES if tables_priv was empty
      sql/sql_db.cc:
        Fixes cases where thd->query was not protected
      88df4e73
  32. 17 Jan, 2003 1 commit
    • unknown's avatar
      new option --local-load in mysqlbinlog · b27c8cc1
      unknown authored
      client/mysqlbinlog.cc:
        new option --local-load
      sql/log_event.cc:
        converting 'load' to 'local load'
      sql/log_event.h:
        converting 'load' to 'local load'
      b27c8cc1