1. 07 Mar, 2005 1 commit
    • unknown's avatar
      InnoDB: Portability fixes for warnings reported on IA-64 Windows · 9c6cc47f
      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
      9c6cc47f
  2. 06 Mar, 2005 1 commit
  3. 05 Mar, 2005 1 commit
    • unknown's avatar
      logging_ok: · f1c81bf6
      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
      f1c81bf6
  4. 04 Mar, 2005 9 commits
    • unknown's avatar
      ut0mem.c: · 58002ddd
      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
      58002ddd
    • unknown's avatar
      trx0trx.c: · 6736ce56
      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
      6736ce56
    • unknown's avatar
      ha_innodb.cc: · 8ef8cd76
      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.
      8ef8cd76
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 56c517bd
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-4.1
      
      
      56c517bd
    • unknown's avatar
      type_blob.result, func_system.result, func_str.result, ctype_collate.result: · c56d0283
      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.
      c56d0283
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · e54b545a
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      myisam/mi_create.c:
        Auto merged
      e54b545a
    • unknown's avatar
      Fix compilation failure in mi_create.c · 24cb24c0
      unknown authored
      
      myisam/mi_create.c:
        Fix typo.
      24cb24c0
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0 · f97fd0f0
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      myisam/mi_create.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      f97fd0f0
    • unknown's avatar
      Fix for a build bug. · 555ea37d
      unknown authored
      Added a missing comma.
      
      
      555ea37d
  5. 03 Mar, 2005 26 commits
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 9dd851ba
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      9dd851ba
    • unknown's avatar
      after merge fixes · 10a120ae
      unknown authored
      10a120ae
    • unknown's avatar
      typos fixed · 4e09f68e
      unknown authored
      4e09f68e
    • unknown's avatar
      merge · 9210c01c
      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
      9210c01c
    • unknown's avatar
      Fix symlink test to avoid filenames with paths · 92895d00
      unknown authored
      
      mysql-test/r/symlink.result:
        Update test results
      mysql-test/t/symlink.test:
        Fix test to avoid filenames including path in results
      92895d00
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 9a420a4f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      9a420a4f
    • unknown's avatar
      uninit variable fixed · f49cf0f2
      unknown authored
      f49cf0f2
    • unknown's avatar
      Fixes for bugs reported by Stefano Di Paola (stefano.dipaola@wisec.it) · 8104faa0
      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
      8104faa0
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8707 · aa52954f
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      aa52954f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8136 · 45058c68
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      45058c68
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-3309 · b0727186
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      b0727186
    • unknown's avatar
      srv0start.c: · 56096825
      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
      56096825
    • unknown's avatar
      Merge · f3d52f8c
      unknown authored
      
      innobase/os/os0file.c:
        Auto merged
      innobase/srv/srv0start.c:
        SCCS merged
      f3d52f8c
    • unknown's avatar
      srv0start.c: · afc85273
      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
      afc85273
    • unknown's avatar
      Merge hundin.mysql.fi:/home/heikki/mysql-4.0 · 4e4fbf48
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      innobase/os/os0file.c:
        Auto merged
      4e4fbf48
    • unknown's avatar
      os0file.c: · 969be90f
      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.
      969be90f
    • unknown's avatar
      ndb - bug#8876 third and final solution · 85f94ce9
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        lqh to forward abort within ng
      85f94ce9
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · a455733c
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      
      a455733c
    • unknown's avatar
      Bugs: #8063: make test mysqldump [ fail ] · ad5174af
      unknown authored
      See mysqldump.test diff for more details
      
      
      ad5174af
    • unknown's avatar
      ndb - bug#8876 · b6a9dc96
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        merge error?
      b6a9dc96
    • unknown's avatar
      Bug#8840 Empty string comparison and character set 'cp1250' · d6c9c194
      unknown authored
      Secondary weight out of bounds was picked up in mistake when
      the string is empty, instead of returning 0.
      
      
      d6c9c194
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 763ce399
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      763ce399
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 69a1579a
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bugs
      
      
      69a1579a
    • unknown's avatar
      Comments added · d88c56a6
      unknown authored
      d88c56a6
    • unknown's avatar
      Fix bug in checking of table-specific grats that caused IP/NETMASK · c9b4f8c3
      unknown authored
      hostnames to not be matched correctly. (Bug #3309)
      
      
      sql/sql_acl.cc:
        Use an acl_host_or_ip in the GRANT_TABLE struct instead of storing the host
        itself, and use compare_hostname() in testing it. This adds support for IP
        addresses with netmasks to table-specific grants, and results in simplified
        code by making use of compare_hostname() in more places.
      mysql-test/r/grant2.result:
        Add new results
      mysql-test/t/grant2.test:
        Add new regression test
      c9b4f8c3
    • unknown's avatar
      ndb - bug#8876 · 92014782
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        typo - use of global var, spotted by mikael
      92014782
  6. 02 Mar, 2005 2 commits