1. 28 Mar, 2005 1 commit
    • unknown's avatar
      Fix for bug #8894 "TIMESTAMP values scrambled/misaligned when using --new". · 22f6c58b
      unknown authored
      Fixed Field_timestamp::val_int() so now it works correctly in --new mode
      (or for TIMESTAMP(19) columns). 
      Also removed unused Field_timestamp::fill_and_store() method.
      
      
      mysql-test/r/type_timestamp.result:
        Added test for bug #8894 "TIMESTAMP values scrambled/misaligned when 
        using --new".
      mysql-test/t/type_timestamp.test:
        Added test for bug #8894 "TIMESTAMP values scrambled/misaligned when 
        using --new".
      sql/field.cc:
        Field_timestamp::fill_and_store() 
          Removed unused method.
        Field_timestamp::val_int()
          Even in --new mode integer representation of TIMESTAMP value should
          not exceed 14 digits.
      sql/field.h:
        Removed unused Field_timestamp::fill_and_store() method.
      22f6c58b
  2. 26 Mar, 2005 2 commits
  3. 21 Mar, 2005 1 commit
    • unknown's avatar
      trx0trx.c, trx0trx.h: · 7656b6da
      unknown authored
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      
      
      innobase/include/trx0trx.h:
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      innobase/trx/trx0trx.c:
        If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
      7656b6da
  4. 17 Mar, 2005 6 commits
  5. 15 Mar, 2005 2 commits
  6. 14 Mar, 2005 1 commit
    • unknown's avatar
      dict0load.c: · 10852be9
      unknown authored
        dict_load_table(): Refuse to open ROW_FORMAT=COMPACT tables
        of MySQL 5.0.3 and later.
      
      
      innobase/dict/dict0load.c:
        dict_load_table(): Refuse to open ROW_FORMAT=COMPACT tables
        of MySQL 5.0.3 and later.
      10852be9
  7. 10 Mar, 2005 1 commit
    • unknown's avatar
      Fix for BUG#8711: "<=>" may have true value for NULL arguments, so make · 7c90fa7b
      unknown authored
      Item_func_equal::not_null_tables() always return 0.
      
      
      mysql-test/r/join_outer.result:
        Testcase for BUG#8711
      mysql-test/t/join_outer.test:
        Testcase for BUG#8711
      sql/item_cmpfunc.h:
        Fix for BUG#8711: "<=>" may have true value for NULL arguments, i.e. it can accept NULL-complemented 
        table rows. This differs from assumptions made in Item_func::not_null_tables(), so add 
        Item_func_equal::not_null_tables().
        Item_func_equal::not_null_tables_cache value doesn't make sense now, but we still let it be
        calculated (and ignore it)
      7c90fa7b
  8. 09 Mar, 2005 1 commit
    • unknown's avatar
      func_str.result, func_str.test: · 44d66d26
      unknown authored
        Added a test case for bug #8669.
      item_strfunc.cc:
        Fixed bug #8669.
        Function AES_DECRYPT can return NULL value.
      
      
      sql/item_strfunc.cc:
        Fixed bug #8669.
        Function AES_DECRYPT can return NULL value.
      mysql-test/t/func_str.test:
        Added a test case for bug #8669.
      mysql-test/r/func_str.result:
        Added a test case for bug #8669.
      44d66d26
  9. 08 Mar, 2005 8 commits
  10. 07 Mar, 2005 3 commits
  11. 04 Mar, 2005 7 commits
  12. 03 Mar, 2005 6 commits
    • unknown's avatar
      typos fixed · 4e09f68e
      unknown authored
      4e09f68e
    • 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
      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
      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
  13. 01 Mar, 2005 1 commit
    • unknown's avatar
      InnoDB: Fix compilation errors on IA-64 Windows · 61ffbc31
      unknown authored
      
      innobase/include/srv0srv.h:
        Declare srv_auto_extend_increment and srv_max_purge_lag as ulong,
        because ulint and ulong are of different size on Win64.
      innobase/srv/srv0srv.c:
        Declare srv_auto_extend_increment and srv_max_purge_lag as ulong,
        because ulint and ulong are of different size on Win64.
      61ffbc31