An error occurred fetching the project authors.
  1. 08 Sep, 2005 1 commit
  2. 02 Sep, 2005 2 commits
    • konstantin@mysql.com's avatar
      Rename: · a3ddcdf8
      konstantin@mysql.com authored
      - current_arena to stmt_arena: the thread may have more than one
      'current' arenas: one for runtime data, and one for the parsed 
      tree of a statement. Only one of them is active at any moment.
      - set_item_arena -> set_query_arena, because Item_arena was renamed to 
      Query_arena a while ago
      - set_n_backup_item_arena -> set_n_backup_active_arena;
      the active arena is the arena thd->mem_root and thd->free_list
      are currently pointing at.
      - restore_backup_item_arena -> restore_active_arena (with the same
      rationale)
      - change_arena_if_needed -> activate_stmt_arena_if_needed; this
      method sets thd->stmt_arena active if it's not done yet.
      a3ddcdf8
    • bell@sanja.is.com.ua's avatar
      postmerge changes · da64c1ea
      bell@sanja.is.com.ua authored
      da64c1ea
  3. 24 Aug, 2005 2 commits
  4. 23 Aug, 2005 2 commits
    • timour@mysql.com's avatar
      Fix for BUG#6276. · 9a6aefab
      timour@mysql.com authored
      9a6aefab
    • timour@mysql.com's avatar
      WL#2486 - natural and using join according to SQL:2003 · e0403003
      timour@mysql.com authored
      * Provide backwards compatibility extension to name resolution of
        coalesced columns. The patch allows such columns to be qualified
        with a table (and db) name, as it is in 4.1.
        Based on a patch from Monty.
      
      * Adjusted tests accordingly to test both backwards compatible name
        resolution of qualified columns, and ANSI-style resolution of
        non-qualified columns.
        For this, each affected test has two versions - one with qualified
        columns, and one without. 
      e0403003
  5. 21 Aug, 2005 1 commit
  6. 20 Aug, 2005 1 commit
  7. 19 Aug, 2005 1 commit
  8. 18 Aug, 2005 1 commit
  9. 17 Aug, 2005 3 commits
  10. 16 Aug, 2005 1 commit
  11. 12 Aug, 2005 3 commits
    • serg@sergbook.mysql.com's avatar
      BUG#12162 - one can start two transactions with the same XID. · f5ff607c
      serg@sergbook.mysql.com authored
      Now we keep all active XID's in a hash
      f5ff607c
    • timour@mysql.com's avatar
      Implementation of WL#2486 - · a247282a
      timour@mysql.com authored
      "Process NATURAL and USING joins according to SQL:2003".
      
      * Some of the main problems fixed by the patch:
        - in "select *" queries the * expanded correctly according to
          ANSI for arbitrary natural/using joins
        - natural/using joins are correctly transformed into JOIN ... ON
          for any number/nesting of the joins.
        - column references are correctly resolved against natural joins
          of any nesting and combined with arbitrary other joins.
      
      * This patch also contains a fix for name resolution of items
        inside the ON condition of JOIN ... ON - in this case items must
        be resolved only against the JOIN operands. To support such
        'local' name resolution, the patch introduces a stack of
        name resolution contexts used at parse time.
      
      NOTICE:
      - This patch is not complete in the sense that
        - there are 2 test cases that still do not pass -
          one in join.test, one in select.test. Both are marked
          with a comment "TODO: WL#2486".
        - it does not include a new test specific for the task
      a247282a
    • igor@rurik.mysql.com's avatar
      sql_base.cc: · da441e94
      igor@rurik.mysql.com authored
        Fixed bug #12470.
        A misplaced initialization of the cond_count counter
        resulted in a wrong calculation of it. This caused a memory
        corruption since this counter was used as a parameter of
        some memory allocation.
      view.test:
        Added a test case for bug #12470.
      da441e94
  12. 11 Aug, 2005 2 commits
    • igor@rurik.mysql.com's avatar
      sql_base.cc: · 0aff8a13
      igor@rurik.mysql.com authored
        Fixed bug #12382.
        INSERT statement effectively changed thd->set_query_id to 0,
        while SELECT statement changed it to 0. As a result
        the insert_fields function that expanded '*' was called
        with different values of thd->set_query_id for the query
        SELECT * FROM view depending on whether it was run after
        an INSERT or after a SELECT statement. This was corrected
        by restoring the old value of thd->set_query_id when
        returning from the function setup_fields where possible
        reset could occur.
        If the value of thd->set_query_id == 0 then the fields
        substituted instead of '*' were not registered as used
        for bitmaps used_keys. This caused selection of an invalid
        execution plan for the query SELECT * from <view>.
      view.result, view.test:
        Added a test case for bug #12382.
      0aff8a13
    • monty@mysql.com's avatar
      Cleanups during review of new code · 7b80e625
      monty@mysql.com authored
      7b80e625
  13. 08 Aug, 2005 1 commit
    • dlenev@mysql.com's avatar
      Fix for bug #10055 "Using stored function with information_schema causes empty · 615baa9f
      dlenev@mysql.com authored
      result set".
      
      To enable full access to contents of I_S tables from stored functions
      or statements that use them, we manipulate with thread's open tables
      state and ensure that we won't cause deadlock when we open tables by
      ignoring flushes and name-locks.
      Building of contents of I_S.TABLES no longer requires locking of tables
      since we use use handler::info() method with HA_STATUS_AUTO flag instead
      of handler::update_auto_increment() for obtaining information about
      auto-increment values. But this also means that handlers have to implement
      support for HA_STATUS_AUTO flag (particularly InnoDB needs it).
      615baa9f
  14. 03 Aug, 2005 1 commit
  15. 02 Aug, 2005 1 commit
  16. 31 Jul, 2005 1 commit
    • monty@mishka.local's avatar
      Fixes during review of new pushed code · 8437e9c1
      monty@mishka.local authored
      Change bool in C code to my_bool
      Added to mysqltest --enable_parsning and --disable_parsing to avoid to have to comment parts of tests
      Added comparison of LEX_STRING's and use this to compare file types for view and trigger files.
      8437e9c1
  17. 30 Jul, 2005 1 commit
  18. 28 Jul, 2005 2 commits
  19. 26 Jul, 2005 1 commit
    • monty@mysql.com's avatar
      Review fixes: · 4098c40d
      monty@mysql.com authored
      Fixed portability problem with bool in C programs
      Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      my_sleep() -> pthread_cond_timedwait()
      4098c40d
  20. 21 Jul, 2005 1 commit
  21. 20 Jul, 2005 1 commit
  22. 19 Jul, 2005 1 commit
  23. 18 Jul, 2005 1 commit
    • mronstrom@mysql.com's avatar
      Bug #10600 · 2d23c691
      mronstrom@mysql.com authored
      remove_table_from_cache fails to signal other thread and gets
      blocked when other thread also gets blocked
      2d23c691
  24. 14 Jul, 2005 1 commit
  25. 13 Jul, 2005 1 commit
    • dlenev@mysql.com's avatar
      Implementation of Monty's idea: Now we can open mysql.proc table for lookup · f334ea1f
      dlenev@mysql.com authored
      of stored routines definitions even if we already have some tables open and
      locked. To avoid deadlocks in this case we have to put certain restrictions
      on locking of mysql.proc table.
      
      This allows to use stored routines safely under LOCK TABLES without explicitly
      mentioning mysql.proc in the list of locked tables. It also fixes bug #11554
      "Server crashes on statement indirectly using non-cached function".
      f334ea1f
  26. 12 Jul, 2005 2 commits
    • evgen@moonbone.local's avatar
      Fix bug #11399 Column alias was lost during view preraration. · dc5949b3
      evgen@moonbone.local authored
      New item created in find_field_in_table() to fix view's item, was created 
      without taking into account original item's alias. This patch checks if alias 
      is set to the original item and if so sets it to newly created item.
      dc5949b3
    • igor@igor-inspiron.creware.com's avatar
      view.result, view.test: · 26ee0b2e
      igor@igor-inspiron.creware.com authored
        Added a test case for bug #11771.
      item.h:
        Fixed bug #11771.
        Added method reset_query_id_processor to be able to adjust
        query_id for fields generated from * in queries like this:
        SELECT * FROM <view> ...
      sql_base.cc:
        Fixed bug #11771.
        Adjusted query_id for fields generated from * in queries
        like this: SELECT * FROM <view> ...
      26ee0b2e
  27. 09 Jul, 2005 1 commit
    • dlenev@mysql.com's avatar
      Enable support of access to tables from triggers. Thus fix bug #8406 "Triggers · 923fe817
      dlenev@mysql.com authored
      crash if referencing a table" and several other related bugs.
      Fix for bug #11834 "Re-execution of prepared statement with dropped function
      crashes server." which was spotted during work on previous bugs.
      
      Also couple of nice cleanups:
      - Replaced two separate hashes for stored routines used by statement with one.
      - Now instead of doing one pass through all routines used in statement for
        caching them and then doing another pass for adding their tables to table
        list, we do only one pass during which do both things.
      923fe817
  28. 04 Jul, 2005 1 commit
  29. 02 Jul, 2005 1 commit
  30. 01 Jul, 2005 1 commit