1. 10 Apr, 2005 1 commit
    • unknown's avatar
      Fix for bug #9796 "Query Cache caches queries with CURRENT_USER() · 3e0a6263
      unknown authored
      function".
      
      We should not cache queries using CURRENT_USER() function as we do it
      for some other functions, e.g. USER() function.
      
      
      mysql-test/r/query_cache.result:
        Let us test that queries with CURRENT_USER() function are not cached.
      mysql-test/t/query_cache.test:
        Let us test that queries with CURRENT_USER() function are not cached.
      sql/item_create.cc:
        create_func_current_user():
          We should not cache queries which use CURRENT_USER() function.
      3e0a6263
  2. 06 Apr, 2005 1 commit
  3. 05 Apr, 2005 3 commits
  4. 03 Apr, 2005 1 commit
  5. 02 Apr, 2005 1 commit
    • unknown's avatar
      bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names · 7d865e0b
      unknown authored
      sql/sql_table.cc: print an error with a function that respects width modifiers (%.64s)
      
      
      mysql-test/r/drop.result:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      mysql-test/t/drop.test:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      sql/share/english/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/russian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/ukrainian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/sql_table.cc:
        print an error with a function that respects width modifiers (%.64s)
      7d865e0b
  6. 31 Mar, 2005 1 commit
    • unknown's avatar
      Fix segmentation fault in mysqlcheck when the last table · 30c7d20a
      unknown authored
      checked with --auto-repair mode returned an error (such
      as being a merge table). (Bug #9492)
      
      
      client/mysqlcheck.c:
        When testing whether the last table should be added to the list of tables to
        be repaired, we don't have a valid row[] to look at, so don't.
      30c7d20a
  7. 30 Mar, 2005 3 commits
  8. 29 Mar, 2005 2 commits
  9. 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
  10. 26 Mar, 2005 2 commits
  11. 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
  12. 17 Mar, 2005 6 commits
  13. 15 Mar, 2005 2 commits
  14. 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
  15. 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
  16. 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
  17. 08 Mar, 2005 8 commits
  18. 07 Mar, 2005 3 commits
  19. 04 Mar, 2005 1 commit