1. 07 Mar, 2005 20 commits
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 4205b955
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      4205b955
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 0c75e24d
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      0c75e24d
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 80685f3b
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      80685f3b
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · aa4e407e
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-4.1
      
      aa4e407e
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 49647bc3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      49647bc3
    • unknown's avatar
      trx0trx.c: · ad02261c
      unknown authored
        Print a hex dump of the trx_t object if trx->n_mysql_tables_in_use != 0 at trx_free()
      
      
      innobase/trx/trx0trx.c:
        Print a hex dump of the trx_t object if trx->n_mysql_tables_in_use != 0 at trx_free()
      ad02261c
    • unknown's avatar
      mysql-test-run.sh: · eeb092f2
      unknown authored
        added skip-ndbcluster switch
      
      
      mysql-test/mysql-test-run.sh:
        added skip-ndbcluster switch
      eeb092f2
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 87c211d8
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      87c211d8
    • unknown's avatar
      Fixed crash if max_connections is exceeded. BUG#8996 · 47cf12a1
      unknown authored
      
      sql/mysqld.cc:
        mark the thread as killed in close_connection
      sql/protocol.cc:
        don't bother remembering warnings if the thread is dying
      47cf12a1
    • unknown's avatar
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7769f533
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-4.1
      
      7769f533
    • unknown's avatar
      Various fixes for Windows 2003 Platform SDK SP1 beta · ec5c4d5a
      unknown authored
      
      VC++Files/client/mysqladmin_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/client/mysqldump_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/client/mysqlimport_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/client/mysqlshow_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/client/mysqltest_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/comp_err/comp_err_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/isamchk/isamchk_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/libmysql/libmysql_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/libmysqld/examples/test_libmysqld_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/libmysqld/libmysqld_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/libmysqltest/myTest_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/my_print_defaults/my_print_defaults_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/myisam_ftdump/myisam_ftdump_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/myisamchk/myisamchk_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/myisamlog/myisamlog_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/myisampack/myisampack_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/mysql-test/mysql_test_run_new_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/mysql_ia64.dsw:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
        Changed project order (dependency doesn't work with platform SDK)
      VC++Files/mysqlbinlog/mysqlbinlog_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/mysqlcheck/mysqlcheck_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/mysqlmanager/MySqlManager_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/mysqlshutdown/mysqlshutdown_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/mysqlwatch/mysqlwatch_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/pack_isam/pack_isam_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/perror/perror_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/replace/replace_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/sql/mysqld_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/sql/mysqldmax_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/strings/strings_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/test1/test1_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/tests/mysql_client_test_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      VC++Files/thr_test/thr_test_ia64.dsp:
        Fixes for Platform SDK SP1 beta1 (Window IA64)
      ec5c4d5a
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 44a8f723
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      44a8f723
    • unknown's avatar
      InnoDB: Portability fixes for warnings reported on IA-64 Windows · c604328d
      unknown authored
      
      innobase/buf/buf0lru.c:
        Portability fix: Use %p for printing pointers
      innobase/dict/dict0dict.c:
        Properly cast the arguments of toupper()
      innobase/eval/eval0proc.c:
        Declare loop_var_value with a matching data type.
      innobase/include/mem0mem.ic:
        Remove implicit type conversion
      innobase/include/page0page.ic:
        Portability fix: Use %p for printing pointers
      innobase/include/pars0pars.h:
        Remove implicit type conversion
      innobase/include/pars0sym.h:
        Remove implicit type conversion
      innobase/mem/mem0dbg.c:
        Portability fix: Use %p for printing pointers
      innobase/os/os0file.c:
        Add DWORD casts for Windows
      innobase/os/os0sync.c:
        Add DWORD casts for Windows
      innobase/os/os0thread.c:
        Add DWORD casts for Windows
      innobase/rem/rem0cmp.c:
        Make implicit type conversions explicit
      innobase/row/row0mysql.c:
        Make implicit type conversions explicit
      innobase/row/row0sel.c:
        Portability fix: Use %p for printing pointers
      innobase/trx/trx0sys.c:
        Declare trx_sys_mysql_bin_log_pos_high and
        trx_sys_mysql_bin_log_pos_low with a matching data type
      innobase/ut/ut0ut.c:
        Make implicit type conversion explicit
      c604328d
    • unknown's avatar
      Review fixes for Bug #8753 Invalid schema · 1c8e9f1f
      unknown authored
      object version after dropping index
      
      1c8e9f1f
    • unknown's avatar
      Manual merge. · a23f4f96
      unknown authored
      a23f4f96
    • unknown's avatar
      Merge 4.0.24 compile changes into the 4.1 tree. · a4208de0
      unknown authored
      
      mysys/my_bitmap.c:
        Resolved merge conflict (identical change in 4.0 and 4.1).
      a4208de0
    • unknown's avatar
      Manual merge of the 4.0.24 compile changes into the 4.1 tree. · 642ff7ae
      unknown authored
      
      include/my_sys.h:
        Auto merged
      mysys/hash.c:
        Manually merged: 'static' for all, 'inline' for most platforms.
      642ff7ae
    • unknown's avatar
    • unknown's avatar
      fixed conversion errors (Windows IA64 build) · 76072e0a
      unknown authored
      76072e0a
  2. 06 Mar, 2005 3 commits
  3. 05 Mar, 2005 2 commits
    • unknown's avatar
      A fix for a bug #8830, which occured when binary data from blob was · b5402613
      unknown authored
      dumped with --hex-blob and --skip-extended-insert options.
      
      
      BitKeeper/etc/ignore:
        Added support-files/ndb-config-2-node.ini to the ignore list
      client/mysqldump.c:
        A fix for a bug #8830. All that was necessary was to use unsigned  char
        instead of signed  char.
      mysql-test/r/mysqldump.result:
        A result for   test case for bug #8830.
      mysql-test/t/mysqldump.test:
        Test case for bug #8830.
      b5402613
    • unknown's avatar
      logging_ok: · cadeb0dd
      unknown authored
        Logging to logging@openlogging.org accepted
      func_group.result, func_group.test:
        Added a test case for bug #8893.
      opt_sum.cc:
        A misplaced initialization for the returned parameter
        prefix_len in the function find_key_for_maxmin caused
        usage of a wrong key prefix by the min/max optimization
        in cases when the matching index was not the first index
        that contained the min/max field.
      
      
      sql/opt_sum.cc:
        A misplaced initialization for the returned parameter
        prefix_len in the function find_key_for_maxmin caused
        usage of a wrong key prefix by the min/max optimization
        in cases when the matching index was not the first index
        that contained the min/max field.
      mysql-test/t/func_group.test:
        Added a test case for bug #8893.
      mysql-test/r/func_group.result:
        Added a test case for bug #8893.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      cadeb0dd
  4. 04 Mar, 2005 15 commits
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 6c66b7e9
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      myisam/mi_create.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      6c66b7e9
    • unknown's avatar
      Merge serg.mylan:/usr/home/serg/Abk/mysql-4.0 · 37159ebb
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      myisam/mi_create.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      37159ebb
    • unknown's avatar
      typo fixed · fb6d9284
      unknown authored
      fb6d9284
    • unknown's avatar
      ut0mem.c: · 823f6f1d
      unknown authored
        If InnoDB cannot allocate memory, keep retrying for 60 seconds before we crash mysqld; maybe the memory shortage is just temporary
      
      
      innobase/ut/ut0mem.c:
        If InnoDB cannot allocate memory, keep retrying for 60 seconds before we crash mysqld; maybe the memory shortage is just temporary
      823f6f1d
    • unknown's avatar
      trx0trx.c: · fe4ad2e9
      unknown authored
        Do not assert, but print diagnostics if MySQL tries to free a trx where n_mysql_tables_in_use > 0
      
      
      innobase/trx/trx0trx.c:
        Do not assert, but print diagnostics if MySQL tries to free a trx where n_mysql_tables_in_use > 0
      fe4ad2e9
    • unknown's avatar
      ha_innodb.cc: · 0b4f6673
      unknown authored
        write_row(): Detect SQLCOM_OPTIMIZE, so that also OPTIMIZE TABLE
        will commit at every 10,000 copied rows.
      
      
      sql/ha_innodb.cc:
        write_row(): Detect SQLCOM_OPTIMIZE, so that also OPTIMIZE TABLE
        will commit at every 10,000 copied rows.
      0b4f6673
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · b2d3b879
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-4.1
      
      b2d3b879
    • unknown's avatar
    • unknown's avatar
      Qualify 'inline' functions as 'static inline' to please the Sun C compiler. · bd81deff
      unknown authored
      
      mysys/hash.c:
        The Sun C compiler insists on seeing 'static inline', or else it will not resolve the symbol.
      bd81deff
    • unknown's avatar
      type_blob.result, func_system.result, func_str.result, ctype_collate.result: · 4b06e5a4
      unknown authored
        fixing test results accordingly.
      func_system.test:
        New test that illegal mix of collations does not happen anymore.
      item_strfunc.h:
          safe_charset_converter() was added for system constants.
      item_strfunc.cc:
        safe_charset_converter() was added for system constants.
      item_func.cc, item.h, item.cc:
        Bug#8291: Illegal collation mix with USER() function.
        After discussion with PeterG and Serge, a new coercibility
        level for "system constants" was introduced, between
        COERRIBLE and IMPLICIT. Thus:
        SELECT col1 = USER() FROM t1; - is done according to col1 collation.
        SELECT 'string' = USER(); - is done according to USER() collation.
        At the same time, "nagg" and "strong" members were removed as unused.
      item_create.cc:
        Version is a system constant too.
      
      
      sql/item.cc:
        Bug#8291: Illegal collation mix with USER() function.
        After discussion with PeterG and Serge, a new coercibility
        level for "system constants" was introduced, between
        COERRIBLE and IMPLICIT. Thus:
        SELECT col1 = USER() FROM t1; - is done according to col1 collation.
        SELECT 'string' = USER(); - is done according to USER() collation.
        At the same time, "nagg" and "strong" members were removed as unused.
      sql/item.h:
        Bug#8291: Illegal collation mix with USER() function.
        After discussion with PeterG and Serge, a new coercibility
        level for "system constants" was introduced, between
        COERRIBLE and IMPLICIT. Thus:
        SELECT col1 = USER() FROM t1; - is done according to col1 collation.
        SELECT 'string' = USER(); - is done according to USER() collation.
        At the same time, "nagg" and "strong" members were removed as unused.
      sql/item_create.cc:
        Version is a system constant too.
      sql/item_func.cc:
        Bug#8291: Illegal collation mix with USER() function.
        After discussion with PeterG and Serge, a new coercibility
        level for "system constants" was introduced, between
        COERRIBLE and IMPLICIT. Thus:
        SELECT col1 = USER() FROM t1; - is done according to col1 collation.
        SELECT 'string' = USER(); - is done according to USER() collation.
        At the same time, "nagg" and "strong" members were removed as unused.
      sql/item_strfunc.cc:
        safe_charset_converter() was added for system constants.
      sql/item_strfunc.h:
          safe_charset_converter() was added for system constants.
      mysql-test/t/func_system.test:
        New test that illegal mix of collations does not happen anymore.
      mysql-test/r/ctype_collate.result:
        fixing test results accordingly.
      mysql-test/r/func_str.result:
        fixing test results accordingly.
      mysql-test/r/func_system.result:
        fixing test results accordingly.
      mysql-test/r/type_blob.result:
        fixing test results accordingly.
      4b06e5a4
    • unknown's avatar
      Changed C++ style comment to C style for 'sql/net_serv.cc' which will be symlinked · 4df48b26
      unknown authored
      to 'libmysql/net.c'.
      
      
      sql/net_serv.cc:
        Even though this is (by name) a C++ file, it is later symlinked to 'libmysql/net.c'
        and so the source will be treated as plain C: No C++ comments in here!
      4df48b26
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 19ca312b
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      myisam/mi_create.c:
        Auto merged
      19ca312b
    • unknown's avatar
      Fix compilation failure in mi_create.c · 7bfc7223
      unknown authored
      
      myisam/mi_create.c:
        Fix typo.
      7bfc7223
    • unknown's avatar
      Prevent a collision with the system's '#define errno ...' by guarding the variable declaration. · 12f66aa2
      unknown authored
      
      include/my_sys.h:
        There are platforms which use '#define errno ...' and then cause a collision with
        'extern int errno;', one example is OpenBSD.
        Rather than treat them explicitly by the 'HAVE_ERRNO_AS_DEFINE', we can check for these
        by using '#ifndef errno'.
        (Backported from 5.0, as the problem was discovered there first.)
      12f66aa2
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0 · a46385b1
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      myisam/mi_create.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      a46385b1