An error occurred fetching the project authors.
  1. 28 Feb, 2005 1 commit
    • timour@mysql.com's avatar
      Fix for BUG#8532. · 03e7620d
      timour@mysql.com authored
      The problem was in that the code that analyses the applicability of the
      QUICK_GROUP_MIN_MAX access method for DISTINC queries assumed that there
      are no duplicate column references in the DISTINCT clause, and it added
      non-exiting key parts for the duplicate column references. 
      
      The solution adds a test to check whether the select list already contained
      a field with the same name. If such field was already present, then it was
      already decided to use its key part for index access. In this such case we
      must skip the duplicate field instead of counting it as a new field.
      03e7620d
  2. 25 Feb, 2005 1 commit
  3. 23 Feb, 2005 2 commits
    • timour@mysql.com's avatar
      Fix for BUG#8576 · 5d534812
      timour@mysql.com authored
      This fix addresses a bug of the HPUX C++ compiler, in the way it uses registers.
      As result, the last comparison of the variable 'result' failed, and next_prefix()
      looped forever.
      5d534812
    • timour@mysql.com's avatar
      Fix for BUG#8576 · a6bf8c66
      timour@mysql.com authored
      The problem was in different representations of double variables depending on
      platform/compiler/compile options. In some cases double variables are represented by
      64 bits (while in memory), or by 80 bits (while in FPU register). As a result equal
      values are not considered "==". As many sources point out,  doubles should not be
      compared by '==' for this reason. This fix subtracts the scaled minimal double
      value X such that 1 + X != 1, to ensure that the inequality holds in any case.
      a6bf8c66
  4. 22 Feb, 2005 3 commits
  5. 05 Feb, 2005 1 commit
  6. 26 Jan, 2005 1 commit
  7. 25 Jan, 2005 1 commit
    • sergefp@mysql.com's avatar
      Fix for BUG#8003 attempt 2: · 3822eeb9
      sergefp@mysql.com authored
        Call file->external_lock() for handler objects that index_merge code creates in addition to 
        the handler object opened in open_and_lock_tables.
      3822eeb9
  8. 18 Jan, 2005 1 commit
  9. 16 Jan, 2005 1 commit
  10. 12 Jan, 2005 2 commits
  11. 06 Jan, 2005 1 commit
    • monty@mysql.com's avatar
      First stage of table definition cache · d35140a8
      monty@mysql.com authored
      Split TABLE to TABLE and TABLE_SHARE (TABLE_SHARE is still allocated as part of table, will be fixed soon)
      Created Field::make_field() and made Field_num::make_field() to call this
      Added 'TABLE_SHARE->db' that points to database name; Changed all usage of table_cache_key as database name to use this instead
      Changed field->table_name to point to pointer to alias. This allows us to change alias for a table by just updating one pointer.
      Renamed TABLE_SHARE->real_name to table_name
      Renamed TABLE->table_name to alias
      Renamed TABLE_LIST->real_name to table_name
      d35140a8
  12. 29 Dec, 2004 1 commit
    • sergefp@mysql.com's avatar
      Post WL#2126 fixes: · fb0845f8
      sergefp@mysql.com authored
       * remove get_next_init and move its functionality to QUICK_RANGE_SELECT::reset()
       * added more comments
       * added empty FT_SELECT::reset() 
      fb0845f8
  13. 28 Dec, 2004 1 commit
  14. 23 Dec, 2004 2 commits
  15. 19 Dec, 2004 1 commit
  16. 18 Dec, 2004 1 commit
    • monty@mysql.com's avatar
      Add 0x before pointers (to help with debugging) · 3fb088a0
      monty@mysql.com authored
      Add support for VARCHAR with 1 or 2 length bytes
      Enable VARCHAR packing in MyISAM files (previous patch didn't pack data properly)
      Give error if we got problems in temporary tables during a SELECT
      Don't use new table generated by ALTER TABLE if index generation fails
      Fixed wrong call by range_end() (Could cause an ASSERT in debug mode)
      3fb088a0
  17. 06 Dec, 2004 1 commit
    • monty@mysql.com's avatar
      Add support for up to VARCHAR (size up to 65535) · 67ce2479
      monty@mysql.com authored
      Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART
      Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors
      Added support for VARCHAR KEYS to heap
      Removed support for ISAM
      Now only long VARCHAR columns are changed to TEXT on demand (not CHAR)
      Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
      67ce2479
  18. 28 Nov, 2004 2 commits
  19. 23 Nov, 2004 1 commit
  20. 21 Nov, 2004 1 commit
    • sergefp@mysql.com's avatar
      Fix for BUG#4177: · e6a7386c
      sergefp@mysql.com authored
       * Make index merge quick selects code allow perform several scans.
       * Delay additional handler objects creation till row retrieval is started.
      e6a7386c
  21. 18 Nov, 2004 1 commit
  22. 17 Nov, 2004 1 commit
  23. 09 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      After merge fixes · 2bba55b5
      monty@mysql.com authored
      Added push_back(void *, MEM_ROOT *) to make some list-handling code easier that needs to be allocated in a different mem-root
      (Before one had to change thd->mem_root ; push_back(); restore mem_root.
      2bba55b5
  24. 07 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      Simpler arena swapping code · b903a129
      monty@mysql.com authored
      Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
      This gives us the following benefits:
      - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
      - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
      - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
      b903a129
  25. 03 Nov, 2004 2 commits
    • bar@mysql.com's avatar
      opt_range.cc, range.result, range.test: · 45451568
      bar@mysql.com authored
        Bug #6045: Binary Comparison regression in MySQL 4.1
        Binary searches didn't use a case insensitive index, now they do.
      45451568
    • monty@mysql.com's avatar
      Fixes after merge with 4.1 · 47bbf768
      monty@mysql.com authored
      FOUND is not a reserved keyword anymore
      Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
      Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
      Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
      47bbf768
  26. 01 Nov, 2004 1 commit
  27. 29 Oct, 2004 1 commit
  28. 26 Oct, 2004 1 commit
    • igor@rurik.mysql.com's avatar
      item_cmpfunc.h: · 44b9faab
      igor@rurik.mysql.com authored
        COND_EQUAL must be derived from Sql_alloc to simplify memory
        management for objects of this class.
        This fixes a leak in mysql-test-run noticed by PEM.
      opt_range.cc:
        Fixed uninitialized min_max_range member the QUICK_GROUP_MIN_MAX_SELECT class.
      44b9faab
  29. 20 Oct, 2004 3 commits
  30. 19 Oct, 2004 1 commit
    • igor@rurik.mysql.com's avatar
      table.h, sql_select.h: · 4c8e3917
      igor@rurik.mysql.com authored
        Added the code processing on expressions for applying
        multiple equalities.
      sql_select.cc:
        Post-merge fixes for Item_equal patch.
        Added the code processing on expressions for applying
        multiple equalities.
      Many files:
        Post-merge fixes for Item_equal patch.
      item_cmpfunc.cc:
        Post-merge fixes for Item_equal patch.
        Fixed a problem when an equality field=const cannot be applied to
        the predicate P(field,c) for constant propagation as a conversion
        of field is needed.
      item.h, item.cc:
        Fixed a problem when an equality field=const cannot be applied to
        the predicate P(field,c) for constant propagation as a conversion
        of field is needed.
      4c8e3917
  31. 18 Oct, 2004 1 commit