An error occurred fetching the project authors.
  1. 13 Oct, 2005 1 commit
  2. 21 Sep, 2005 1 commit
    • konstantin@mysql.com's avatar
      A fix and a test case for Bug#6513 "Test Suite: Values inserted by using · 6f8d3c48
      konstantin@mysql.com authored
      cursor is interpreted latin1 character and Bug#9819 "Cursors: Mysql Server
      Crash while fetching from table with 5 million records."
      A fix for a possible memory leak when fetching into an SP cursor
      in a long loop.
      The patch uses a common implementation of cursors in the binary protocol and 
      in stored procedures and implements materialized cursors.
      For implementation details, see comments in sql_cursor.cc
      6f8d3c48
  3. 08 Sep, 2005 1 commit
  4. 12 Aug, 2005 1 commit
  5. 10 Aug, 2005 1 commit
    • konstantin@mysql.com's avatar
      A fix for Bug#11901 "mysql_stmt_attr_set CURSOR_TYPE_READ_ONLY join in · f6306a8d
      konstantin@mysql.com authored
      subqry order by server crash": failing DBUG_ASSERT(curr_join == this)
      when opening a cursor.
      Ensure that for top-level join curr_join == join (always), 
      and thus fix the failing assert.
      curr_join is a hack to ensure that uncacheable subqueries can be
      re-evaluated safely, and should be never different from main join
      in case of top-level join.
      f6306a8d
  6. 08 Aug, 2005 1 commit
  7. 20 Jul, 2005 1 commit
    • konstantin@mysql.com's avatar
      Implement MySQL framework to support consistent read views in · 21957c42
      konstantin@mysql.com authored
      cursors. This should fix Bug#11813 when InnoDB part is in 
      (tested with a draft patch).
      The idea of the patch is that if a storage engine supports
      consistent read views, we open one when open a cursor,
      set is as the active view when fetch from the cursor, and close
      together with cursor close.
      21957c42
  8. 19 Jul, 2005 1 commit
    • konstantin@mysql.com's avatar
      A fix and a test case for Bug#10760 and complementary cleanups. · 14344b65
      konstantin@mysql.com authored
      The idea of the patch
      is that every cursor gets its own lock id for table level locking.
      Thus cursors are protected from updates performed within the same 
      connection. Additionally a list of transient (must be closed at
      commit) cursors is maintained and all transient cursors are closed
      when necessary. Lastly, this patch adds support for deadlock
      timeouts to TLL locking when using cursors.
      + post-review fixes.
      14344b65
  9. 14 Jul, 2005 1 commit
  10. 01 Jul, 2005 1 commit
  11. 24 Jun, 2005 1 commit
    • konstantin@mysql.com's avatar
      - don't call JOIN::join_free(1) twice for every join in JOIN::cleanup(). · 56a37f8e
      konstantin@mysql.com authored
      The reason it happened was that both, JOIN::cleanup() and JOIN::join_free(),
      went over all nested joins and called cleanup/join_free for them.
      For that:
      - split recursive and non-recursive parts of JOIN::cleanup() and
      JOIN::join_free()
      - rename JOIN::cleanup to JOIN::destroy, as it actually destroys its
        argument
      - move the recursive part of JOIN::cleanup to st_select_lex::cleanup
      - move the non-recursive part of JOIN::join_free to the introduced
        method JOIN::cleanup().
      56a37f8e
  12. 23 Jun, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      func_str.result, func_str.test: · c73c2af6
      igor@rurik.mysql.com authored
        Added a test case for bug #10124.
      sql_select.h, item_subselect.cc, sql_select.cc:
        Fixed bug #10124.
        The copy method of the store_key classes can return
        STORE_KEY_OK=0, STORE_KEY_FATAL=1, STORE_KEY_CONV=2 now.
      field.cc:
        Fixed bug #10124.
        When ussuing a warning the store methods return 2 instead of 1 now.
      c73c2af6
  13. 22 Jun, 2005 1 commit
  14. 15 Jun, 2005 1 commit
    • serg@serg.mylan's avatar
      renamed: · 01b3c709
      serg@serg.mylan authored
        Item_buff -> Cached_item
        Item_arena -> Query_arena
        TEST_ASSERT -> YYERROR_UNLESS
      01b3c709
  15. 09 Jun, 2005 1 commit
  16. 12 May, 2005 1 commit
  17. 04 May, 2005 1 commit
  18. 30 Apr, 2005 1 commit
  19. 18 Apr, 2005 1 commit
    • sergefp@mysql.com's avatar
      Fix for BUG#9103: · a76ecc5b
      sergefp@mysql.com authored
      Don't produce data truncation warnings from within cp_buffer_from_ref(). This function
      is only used to make index search tuples and data truncation that occurs here has no
      relation with truncated values being saved into tables.
      a76ecc5b
  20. 04 Apr, 2005 1 commit
    • sergefp@mysql.com's avatar
      Fix for BUG#8877: Implementation of · d0c9b362
      sergefp@mysql.com authored
      "Early NULL-values filtering for ref access" (attempt2+post-review fixes)
      1. update_ref_and_keys() accumulates info about null-rejecting
      predicates in in KEY_FIELD::null_rejecting, add_key_part saves
      these to KEYUSE.
      2. create_ref_for_key copies them to TABLE_REF.
      3. add_not_null_conds adds "x IS NOT NULL" to join_tab->select_cond of
      appropiate JOIN_TAB members.
      
      Includes code cleanups: 
      * add_key_field() params: s/COND/Item_func/ (as only Item_funcs are
      passed to it)
      * add_key_fields() params: JOIN_TAB *stat removed (wasn't used)
      d0c9b362
  21. 30 Mar, 2005 1 commit
  22. 24 Mar, 2005 1 commit
  23. 19 Mar, 2005 1 commit
  24. 16 Mar, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      olap.result, olap.test: · ce6c390c
      igor@rurik.mysql.com authored
        Added a test case for bug #8616.
      item.h:
        Fixed bug #8616.
        Added class Item_null_result used in rollup processing.
      sql_select.h, sql_select.cc:
        Fixed bug #8616.
        Added JOIN::rollup_write_data to cover rollup queries
        with DISTINCT. Modified other rollup methods.
      ce6c390c
  25. 13 Mar, 2005 1 commit
    • konstantin@mysql.com's avatar
      WL#926 "SUM(DISTINCT) and AVG(DISTINCT)": improvement of SUM(DISTINCT) and · 983c75f0
      konstantin@mysql.com authored
       implementation of AVG(DISTINCT) which utilizes the approach with Fields.
      The patch implemented in October is portede to the up-to-date tree 
      containing DECIMAL type.
      Tests for AVG(DISTINCT) (although there is not much to test provided
      that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT()
      will follow in another changeset.
      983c75f0
  26. 01 Mar, 2005 1 commit
  27. 19 Dec, 2004 1 commit
  28. 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
  29. 24 Nov, 2004 1 commit
  30. 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
  31. 20 Oct, 2004 1 commit
  32. 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
  33. 17 Sep, 2004 1 commit
  34. 10 Sep, 2004 1 commit
  35. 31 Aug, 2004 1 commit
  36. 27 Aug, 2004 1 commit
  37. 03 Aug, 2004 1 commit
  38. 11 Jun, 2004 1 commit
  39. 12 May, 2004 1 commit
  40. 11 May, 2004 1 commit