1. 22 Nov, 2003 1 commit
    • unknown's avatar
      Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes... · 2ca30725
      unknown authored
      Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes the server if cur_log is 'hot' and the io_thread has changed log file.
      Updated project files for windows
      Made rpl_change_master.test portable
      Ensure that mutex are not freed if not initilized
      
      
      VC++Files/client/mysql.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/comp_err/comp_err.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/innobase/innobase.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/libmysqld/examples/test_libmysqld.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/libmysqld/libmysqld.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/myisamchk/myisamchk.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/myisamlog/myisamlog.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/myisampack/myisampack.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/mysqlmanager/MySqlManager.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/mysqlshutdown/mysqlshutdown.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/mysys/mysys.dsp:
        Updated project files for windows according to suggestions from Intel
      libmysql/libmysql.c:
        Removed not used include files (which caused problems on Win64)
      mysql-test/r/rpl_change_master.result:
        Made test portable
      mysql-test/t/rpl_change_master.test:
        Made test portable
      sql-common/client.c:
        Removed not used include files (which caused problems on Win64)
      sql/ha_innodb.cc:
        Ensure that mutex is not freed if not initilized
      sql/hostname.cc:
        Ensure that mutex is not freed if not initilized
      sql/slave.cc:
        Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes the server if cur_log is 'hot' and the io_thread has changed log file.
      2ca30725
  2. 21 Nov, 2003 4 commits
    • unknown's avatar
      Fixed memory leak with RAID tables · 20eba3e0
      unknown authored
      Fixed tests for RAID tables
      Detect uninitialized mutexes on lock and destroy
      
      
      mysql-test/r/raid.result:
        Updated results
      mysql-test/r/rpl_change_master.result:
        Update results missing from last patch
      mysql-test/t/raid.test:
        Clean up test
      mysys/mf_iocache.c:
        Comments
        Small safety fix
      mysys/thr_mutex.c:
        Detect uninitialized mutexes on lock and destroy
      sql/sql_db.cc:
        Fixed memory leak with RAID tables
      20eba3e0
    • unknown's avatar
      Added missing file keycache.h · dcd6c9dc
      unknown authored
      
      BUILD/compile-pentium-debug-max:
        s
      dcd6c9dc
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 24d3b08f
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.1727
      
      
      mysql-test/r/derived.result:
        Auto merged
      mysql-test/t/derived.test:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      24d3b08f
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · de035068
      unknown authored
      into ice.snake.net:/Users/paul/mysql-4.1
      
      
      mysql-test/r/rpl_loaddata.result:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      de035068
  3. 20 Nov, 2003 19 commits
    • unknown's avatar
      Update VC++ files · c3cce96e
      unknown authored
      Portability fixes
      After merge fixes
      
      
      VC++Files/mysql.dsw:
        Added dependencys
      VC++Files/mysys/mysys.dsp:
        Add missing files
      client/mysqlcheck.c:
        Added comment
      client/mysqltest.c:
        Remove not used variables
      include/keycache.h:
        Removed not used element
      include/m_ctype.h:
        Portability fix
      include/my_base.h:
        Removed not used define
      myisam/mi_keycache.c:
        Added mutex for extra safety
      mysql-test/r/count_distinct3.result:
        Faster test
      mysql-test/r/rpl_change_master.result:
        updated results
      mysql-test/t/count_distinct3.test:
        Faster test
      mysql-test/t/rpl_change_master.test:
        Make test repeatable
      mysys/default.c:
        Remove compiler warning
      mysys/mf_keycache.c:
        Removed not used 'action' element
      mysys/my_getopt.c:
        Remove not used variable
      sql/ha_myisam.cc:
        Remove compiler warning
      sql/item.cc:
        Fixed wrong patch from last changeset
      sql/item_timefunc.cc:
        Remove compiler warnings
      sql/set_var.cc:
        Remove compiler warnings
      sql/sql_prepare.cc:
        Remove not used variables
      sql/sql_repl.cc:
        After merge fix
      sql/sql_select.h:
        Added comments
      sql/sql_table.cc:
        Remove not used define
      strings/ctype-tis620.c:
        Remove not used variables
      c3cce96e
    • unknown's avatar
      Merge with 4.0 to revert patch for BIGINT assignment to double · 989277e8
      unknown authored
      
      mysql-test/r/bigint.result:
        Auto merged
      mysql-test/t/bigint.test:
        Auto merged
      989277e8
    • unknown's avatar
      Revert patch for bigint handling in double context as it broke normal bigint handling · e85337c9
      unknown authored
      The right way to fix this is to change the Field::store(longlong) method to be
      Field::store(longlong, bool unsigned_flag), but this is better to do in 4.1 than in 4.0
      
      
      mysql-test/r/bigint.result:
        New tests to show how the last bigint patch broke MySQL
      mysql-test/t/bigint.test:
        New tests to show how the last bigint patch broke MySQL
      sql/item.cc:
        Revert patch for bigint handling in double context as it broke normal bigint handling
      sql/item.h:
        Revert patch for bigint handling in double context as it broke normal bigint handling
      e85337c9
    • unknown's avatar
      Merge with 4.0 to get: · 98c27e21
      unknown authored
      Fix for storing negative values in decimal fields
      Fix for FLUSH TABLE with HANDLER
      
      
      BitKeeper/etc/ignore:
        auto-union
      libmysql_r/Makefile.am:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      mysql-test/r/bigint.result:
        Auto merged
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/t/bigint.test:
        Auto merged
      mysql-test/t/user_var.test:
        Auto merged
      mysql-test/r/rpl_loaddata.result:
        Merge with 4.0
      sql/item.cc:
        Merge with 4.0 to get fix for storing negative values in decimal fields
      sql/item.h:
        Merge with 4.0 to get fix for storing negative values in decimal fields
      sql/sql_handler.cc:
        Merge with 4.0 to get fix for FLUSH TABLE with HANDLER
      sql/sql_repl.cc:
        Merge with 4.0
      sql/sql_select.cc:
        Used original file.
        (Comments moved to sql/sql_select.h)
      98c27e21
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · bbb22280
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      bbb22280
    • unknown's avatar
      Merge key cache structures to one · 4286e203
      unknown authored
      Fixed compiler warnings (IRIX C compiler and VC++)
      
      
      VC++Files/client/mysqlclient.dsp:
        Add missing file to project
      VC++Files/libmysql/libmysql.dsp:
        Add missing file to project
      VC++Files/myisam/myisam.dsp:
        Add missing file to project
      VC++Files/mysys/mysys.dsp:
        Add missing file to project
      heap/hp_test1.c:
        Fixed wrong call to heap_rkey()
      heap/hp_test2.c:
        Fixed wrong call to heap_rkey()
      include/hash.h:
        Move not used (internal) struct to hash.c
      include/my_pthread.h:
        Made some structs 'const char*' to avoid warnings
      include/my_sys.h:
        Moved key cache structs and functions to keycache.h
      include/myisam.h:
        Merge key cache structures to one
      include/mysql.h:
        Remove STDCALL from internal functions
      include/sql_common.h:
        Remove STDCALL from internal functions
      include/violite.h:
        Fixed compiler warning
      isam/_locking.c:
        Merge key cache structures to one
      isam/_page.c:
        Merge key cache structures to one
      isam/close.c:
        Merge key cache structures to one
      isam/extra.c:
        Merge key cache structures to one
      isam/isamchk.c:
        Merge key cache structures to one
      isam/isamdef.h:
        Merge key cache structures to one
      isam/isamlog.c:
        Merge key cache structures to one
      isam/panic.c:
        Merge key cache structures to one
      isam/test2.c:
        Merge key cache structures to one
      isam/test3.c:
        Merge key cache structures to one
      libmysql/client_settings.h:
        Remove STDCALL from internal functions
      libmysql/libmysql.c:
        Remove STDCALL from internal functions
      myisam/ft_boolean_search.c:
        Fixed compiler warning
      myisam/ft_dump.c:
        Fixed compiler warnings (%qx is not portable)
      myisam/ft_update.c:
        Fixed compiler warnings
      myisam/mi_check.c:
        Merge key cache structures to one
      myisam/mi_close.c:
        Merge key cache structures to one
      myisam/mi_delete_all.c:
        Merge key cache structures to one
      myisam/mi_extra.c:
        Merge key cache structures to one
      myisam/mi_keycache.c:
        Merge key cache structures to one
      myisam/mi_locking.c:
        Merge key cache structures to one
      myisam/mi_page.c:
        Merge key cache structures to one
      myisam/mi_panic.c:
        Merge key cache structures to one
      myisam/mi_preload.c:
        Merge key cache structures to one
      myisam/mi_test1.c:
        Merge key cache structures to one
      myisam/mi_test2.c:
        Merge key cache structures to one
      myisam/mi_test3.c:
        Merge key cache structures to one
      myisam/myisamchk.c:
        Merge key cache structures to one
      myisam/myisamdef.h:
        Merge key cache structures to one
      myisam/myisamlog.c:
        Merge key cache structures to one
        Removed not used option
      myisam/sort.c:
        Fixed compiler warnings
      myisam/sp_test.c:
        Fixed compiler warnings
      mysql-test/r/case.result:
        Updated results after fix of correct NULL detection in WHEN
      mysql-test/r/date_formats.result:
        Updated results after fixing date handling
      mysql-test/r/symlink.result:
        Updated results after adding DEFAULT CHARSET
      mysql-test/t/case.test:
        New test
      mysql-test/t/symlink.test:
        Updated error numbers
      mysys/hash.c:
        Made HASH_LINK struct local
      mysys/mf_keycache.c:
        Merge key cache structures to one
        Fixed key_cache_read() and key_cache_write() to be resize-safe.
      mysys/mf_keycaches.c:
        Merge key cache structures to one
      mysys/thr_mutex.c:
        Added test if mutex is initalized
      sql-common/client.c:
        Remove STDCALL from internal functions
      sql/derror.cc:
        Added comment
      sql/field.cc:
        Removed not used variables
      sql/ha_innodb.cc:
        Fixed compiler warnings (removed not used variables)
      sql/ha_myisam.cc:
        Merge key cache structures to one
      sql/ha_myisammrg.cc:
        Removed not used variables
      sql/handler.cc:
        Merge key cache structures to one
      sql/handler.h:
        Merge key cache structures to one
      sql/item.cc:
        Fixed compiler warning
      sql/item_cmpfunc.cc:
        Remove not used variables
      sql/item_func.cc:
        Remove not used variables
      sql/item_strfunc.cc:
        Removed not used variables
      sql/item_sum.cc:
        Removed not used variables
        Moved setting of item_thd to fix_fields()
      sql/item_timefunc.cc:
        Removed not used variables
      sql/mysql_priv.h:
        Merge key cache structures to one
      sql/mysqld.cc:
        Merge key cache structures to one
        init_thread_environment() is not called before mysql_init_variables(). This fixes a case where a mutex was not initialized before it was used
      sql/opt_sum.cc:
        Remove not used variables
      sql/protocol.cc:
        Don't send errors after ok has been sent
      sql/protocol_cursor.cc:
        Remove not used variable
        Simple optimization
      sql/repl_failsafe.cc:
        Remove not used variables
      sql/set_var.cc:
        Merge key cache structures to one
      sql/set_var.h:
        Merge key cache structures to one
      sql/sql_acl.cc:
        Remove not used variables
      sql/sql_base.cc:
        Remove not used function
      sql/sql_db.cc:
        Remove not used variables
      sql/sql_handler.cc:
        Remove not used variables
      sql/sql_insert.cc:
        More DBUG statements
        Simple code cleanup
      sql/sql_lex.cc:
        Remove not used variables
      sql/sql_parse.cc:
        Remove not used variables
      sql/sql_prepare.cc:
        Remove not used variables
      sql/sql_repl.cc:
        Remove not used variables
      sql/sql_select.cc:
        Remove not used variables
      sql/sql_show.cc:
        Remove not used variables
      sql/sql_table.cc:
        Merge key cache structures to one
        Removed not used variables
      sql/sql_test.cc:
        Merge key cache structures to one
      sql/strfunc.cc:
        Fixed that find_type() returns correct value for partly matched words.
        (This fixed the error found by date_formats.test)
      sql/time.cc:
        Remove not used variables
      strings/my_strtoll10.c:
        Fixed compiler warnings
      4286e203
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · de2eee1d
      unknown authored
      into ice.snake.net:/Users/paul/mysql-4.1
      
      de2eee1d
    • unknown's avatar
      Use same style for SHOW MASTER STATUS fields as · 799baea3
      unknown authored
      for SHOW SLAVE STATUS.
      
      799baea3
    • unknown's avatar
      Write slave status field names using consistent style. · 1bebd11a
      unknown authored
      (Initial caps for each word.) For example, instead of writing
      Until_condition, Until_Log_File, and Until_log_pos, write
      Until_Condition, Until_Log_File, and Until_Log_pos.
      
      
      mysql-test/r/rpl000015.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_empty_master_crash.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_error_ignored_table.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_flush_log_loop.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_loaddata.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_log.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_log_pos.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_max_relay_size.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_openssl.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_redirect.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_replicate_do.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_reset_slave.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_rotate_logs.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_trunc_binlog.result:
        Write slave status field names using consistent style.
      mysql-test/r/rpl_until.result:
        Write slave status field names using consistent style.
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Write slave status field names using consistent style.
      mysql-test/t/rpl_max_relay_size.test:
        Write slave status field names using consistent style.
      sql/slave.cc:
        Write slave status field names using consistent style.
      1bebd11a
    • unknown's avatar
      Typo. · bf072f98
      unknown authored
      bf072f98
    • unknown's avatar
    • unknown's avatar
      Added error reporting if one of the multi queries failed. · 1dac77e8
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      1dac77e8
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 6d81c2a9
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      6d81c2a9
    • unknown's avatar
      Added multi command support for mysql client. · cbe06d22
      unknown authored
      cbe06d22
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 4084271e
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      4084271e
    • unknown's avatar
      fixed memory allocation · 686d368e
      unknown authored
      686d368e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ef9e422f
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      ef9e422f
    • unknown's avatar
      Portability fixes (AIX43) · c2935047
      unknown authored
      Add missing file to VC++ project
      
      
      VC++Files/mysys/mysys.dsp:
        Add new file to project
      include/my_sys.h:
        Remove old variables
      sql/set_var.h:
        Portability fix
      c2935047
    • unknown's avatar
      Portability fixes for AIX43 · 1e9ef316
      unknown authored
      
      include/my_base.h:
        Portability fix
      include/my_global.h:
        Portability fix for AIX43
        (Having _Export gave a lot of errors/warnings and I think this is not needed anymore)
      include/my_sys.h:
        Remove compiler warning on AIX43 with xlc_r compiler
      include/mysql.h:
        Portability fix
      innobase/fil/fil0fil.c:
        Fixed compiler warnings (xlc_r)
      libmysql/libmysql.c:
        Portability fix
      strings/my_strtoll10.c:
        Portability fix (for AIX43)
      1e9ef316
  4. 19 Nov, 2003 11 commits
  5. 18 Nov, 2003 5 commits