1. 08 Mar, 2005 3 commits
  2. 07 Mar, 2005 6 commits
  3. 06 Mar, 2005 1 commit
  4. 05 Mar, 2005 1 commit
    • 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
  5. 04 Mar, 2005 13 commits
    • 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
    • unknown's avatar
      Fix for a build bug. · 62539e1e
      unknown authored
      Added a missing comma.
      
      62539e1e
  6. 03 Mar, 2005 16 commits
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 627b9eaa
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      627b9eaa
    • unknown's avatar
      after merge fixes · de3b7745
      unknown authored
      de3b7745
    • unknown's avatar
      typos fixed · 1be34a72
      unknown authored
      1be34a72
    • unknown's avatar
      merge · 62debb76
      unknown authored
      
      include/my_global.h:
        Auto merged
      mysys/mf_tempfile.c:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/table.cc:
        Auto merged
      62debb76
    • unknown's avatar
      Fix symlink test to avoid filenames with paths · c732f26f
      unknown authored
      
      mysql-test/r/symlink.result:
        Update test results
      mysql-test/t/symlink.test:
        Fix test to avoid filenames including path in results
      c732f26f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · a4eb7ebb
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      a4eb7ebb
    • unknown's avatar
      uninit variable fixed · 87033bad
      unknown authored
      87033bad
    • unknown's avatar
      Fixes for bugs reported by Stefano Di Paola (stefano.dipaola@wisec.it) · 70e24138
      unknown authored
      
      include/my_global.h:
        O_NOFOLLOW
      isam/create.c:
        create table files with O_EXCL|O_NOFOLLOW
      merge/mrg_create.c:
        create table files with O_EXCL|O_NOFOLLOW
      myisam/mi_create.c:
        create files of temporary tables with O_EXCL|O_NOFOLLOW
      myisammrg/myrg_create.c:
        create table files with O_EXCL|O_NOFOLLOW
      mysys/mf_tempfile.c:
        create temporary files with O_EXCL|O_NOFOLLOW
      sql/ha_myisam.cc:
        let mi_create know if the table is TEMPORARY
      sql/mysql_priv.h:
        --allow_suspicious_udfs
      sql/mysqld.cc:
        --allow_suspicious_udfs
      sql/share/english/errmsg.txt:
        typo
      sql/sql_udf.cc:
        --allow_suspicious_udfs
        don't allow xxx() udf without any of xxx_init/deinit/add/reset
        check paths when loading from mysql.func
      sql/table.cc:
        create frm of temporary table with O_EXCL|O_NOFOLLOW
      70e24138
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8707 · 90ec8dcd
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      90ec8dcd
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8136 · be3b4bc9
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      be3b4bc9
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-3309 · e9d5c283
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      e9d5c283
    • unknown's avatar
      srv0start.c: · ce2e3722
      unknown authored
        Work around the AIX 5.1 security patch ML7 problem in errno when it should be EEXIST
      
      
      innobase/srv/srv0start.c:
        Work around the AIX 5.1 security patch ML7 problem in errno when it should be EEXIST
      ce2e3722
    • unknown's avatar
      Merge · 5c86db66
      unknown authored
      
      innobase/os/os0file.c:
        Auto merged
      innobase/srv/srv0start.c:
        SCCS merged
      5c86db66
    • unknown's avatar
      srv0start.c: · 7910ce77
      unknown authored
        Work around the AIX 5.1 ML7 patch problem in errno at a higher level, in srv0start.c
      os0file.c:
        Revert the AIX patch here
      
      
      innobase/os/os0file.c:
        Revert the AIX patch here
      innobase/srv/srv0start.c:
        Work around the AIX 5.1 ML7 patch problem in errno at a higher level, in srv0start.c
      7910ce77
    • unknown's avatar
      Merge hundin.mysql.fi:/home/heikki/mysql-4.0 · 1bd4c397
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      innobase/os/os0file.c:
        Auto merged
      1bd4c397
    • unknown's avatar
      os0file.c: · c7c8f25f
      unknown authored
        AIX 5.1 after security patch ML7 seems to contain a bug that instead of EEXIST it sets errno to 0 if a file creation fails because the file already exists. Work around that bug by interpreting errno 0 in AIX as EEXIST.
      
      
      innobase/os/os0file.c:
        AIX 5.1 after security patch ML7 seems to contain a bug that instead of EEXIST it sets errno to 0 if a file creation fails because the file already exists. Work around that bug by interpreting errno 0 in AIX as EEXIST.
      c7c8f25f