An error occurred fetching the project authors.
  1. 03 Nov, 2005 1 commit
  2. 02 Nov, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      #view.test#: · fddc99bc
      igor@rurik.mysql.com authored
        new file
      sql_table.cc, handler.h:
        Fixed bug #14540.
        Added error mnemonic code HA_ADMIN_NOT_BASE_TABLE
        to report that an operation cannot be applied for views.
      view.test, view.result:
        Added a test case for bug #14540.
      errmsg.txt:
        Fixed bug #14540.
        Added error ER_CHECK_NOT_BASE_TABLE.
      fddc99bc
  3. 01 Nov, 2005 1 commit
  4. 28 Oct, 2005 1 commit
  5. 11 Oct, 2005 1 commit
    • monty@mysql.com's avatar
      Reviewing new pushed code · f5fdf3e8
      monty@mysql.com authored
      - CHAR() now returns binary string as default
      - CHAR(X*65536+Y*256+Z) is now equal to CHAR(X,Y,Z) independent of the character set for CHAR()
      - Test for both ETIMEDOUT and ETIME from pthread_cond_timedwait()
        (Some old systems returns ETIME and it's safer to test for both values
         than to try to write a wrapper for each old system)
      - Fixed new introduced bug in NOT BETWEEN X and X
      - Ensure we call commit_by_xid or rollback_by_xid for all engines, even if one engine has failed
      - Use octet2hex() for all conversion of string to hex
      - Simplify and optimize code
      f5fdf3e8
  6. 10 Oct, 2005 1 commit
    • evgen@moonbone.local's avatar
      Fix bug#13327 check_equality() wasn't checking view's fields · 65325ecb
      evgen@moonbone.local authored
      check_equality() finds equalities among field items. It checks input items
      to be Item_fields thus skipping view's fields, which are represented by
      Item_direct_view_ref. Because of this index wasn't applied in all cases
      it can be.
      
      To fix this problem check_equality() now takes real item of
      Item_direct_view_ref, except outer view refs (with depended_from set).
      65325ecb
  7. 01 Oct, 2005 1 commit
  8. 27 Sep, 2005 2 commits
    • igor@rurik.mysql.com's avatar
      item.cc: · 6e2fb27a
      igor@rurik.mysql.com authored
        Fixed bug #13410.
        Fixed name resolution for qualified reference to a view column
        in the HAVING clause.
      view.result, view.test:
        Added a test case for bug #13410.
      6e2fb27a
    • igor@rurik.mysql.com's avatar
      sql_base.cc, item.cc: · a43b341c
      igor@rurik.mysql.com authored
        Fixed bug #13411.
        Fixed name resolution for non-qualified reference to a view column
        in the HAVING clause.
      view.result, view.test:
        Added a test case for bug #13411.
      a43b341c
  9. 25 Sep, 2005 1 commit
  10. 16 Sep, 2005 1 commit
  11. 14 Sep, 2005 3 commits
  12. 12 Sep, 2005 1 commit
    • timour@mysql.com's avatar
      Fix for BUG#6808. · 9d862db7
      timour@mysql.com authored
      The problem was in that add_table_to_list was testing for duplicate tables
      in a list of tables that included the created view.
      9d862db7
  13. 11 Sep, 2005 1 commit
    • evgen@moonbone.local's avatar
      Fix bug #12993 View column rename broken in subselect · 75841099
      evgen@moonbone.local authored
      When view column aliased in subselect alias is set on ref which represents
      field. When tmp table is created for subselect, it takes name of original field
      not ref. Because of this alias on view column in subselect is lost. Which
      results in reported error.
      
      Now when alias is set on ref, it's set on ref real item too.
      75841099
  14. 07 Sep, 2005 2 commits
  15. 02 Sep, 2005 1 commit
  16. 01 Sep, 2005 1 commit
  17. 30 Aug, 2005 1 commit
  18. 25 Aug, 2005 1 commit
  19. 18 Aug, 2005 2 commits
    • igor@rurik.mysql.com's avatar
      Manual merge · 6fae8f6c
      igor@rurik.mysql.com authored
      6fae8f6c
    • igor@rurik.mysql.com's avatar
      view.test: · 5ac7d867
      igor@rurik.mysql.com authored
        Added a test case for bug #10970.
      view.result:
        Added a test case for bug #10970.
        Modified the error messages for error ER_VIEW_SELECT_TMPTABLE.
      sql_view.cc:
        Fixed bug #10970.
        In the function mysql_create_view if a view does not refer
        any tables directly the variable table must be updated
        after the call of open_and_lock_tables.
      errmsg.txt:
        Modified the error messages for error ER_VIEW_SELECT_TMPTABLE
        (when fixing bug #10970).
      5ac7d867
  20. 17 Aug, 2005 1 commit
    • bell@sanja.is.com.ua's avatar
      sql_view.cc: · 7f48830f
      bell@sanja.is.com.ua authored
        correct exit from mysql_create_view to restore ennvironment (BUG#12468)
      view.result, view.test:
        test of CRETE VIEW in SP
      7f48830f
  21. 15 Aug, 2005 1 commit
  22. 12 Aug, 2005 2 commits
    • evgen@moonbone.local's avatar
      Fix bug #12298 Typo in timestampdiff() function name results in erroneous · 0f9b9829
      evgen@moonbone.local authored
      view being created.
      
      Item_func_timestamp_diff::func_name() were returning function name as
      "timestamp_diff" thus when view was executed function parameters wasn't 
      properly recognized and error was raised.
      0f9b9829
    • 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
  23. 11 Aug, 2005 1 commit
    • 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
  24. 08 Aug, 2005 1 commit
    • sergefp@mysql.com's avatar
      Fix for BUG#12228: SP cache code: · c6db76b0
      sergefp@mysql.com authored
      * Cleanup SP Cache code, now SP Cache only deletes sp_head objects in 
        sp_cache_flush_obsolete() invalidates all pointers to routines in the cache.
      * Use new SP Cache use contract in the code.
      
      There is no test case because it doesn't seem to be possible to cause thread races to end
      the same way they end in heavy-load test. This patch removes the crash in heavy test.
      c6db76b0
  25. 02 Aug, 2005 1 commit
  26. 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
  27. 30 Jul, 2005 2 commits
  28. 25 Jul, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      sql_select.cc: · 24d148d0
      igor@rurik.mysql.com authored
        Fixed bug #11412.
        Reversed the patch of cs 1.1934 for the function 
        create_tmp_table. Modified the function to support
        tem_ref objects created for view fields.
      item_buff.cc:
        Fixed bug #11412.
        Modified implementation of new_Cached_item to support
        cacheing of view fields.
      item.h:
        Fixed bug #11412.
        Changed implementation of Item_ref::get_tmp_table_field and
        added Item_ref::get_tmp_table_item to support Item_ref objects
        created for view fields.
      view.test, view.result:
        Added a test case for bug #11412.
      24d148d0
  29. 20 Jul, 2005 1 commit
  30. 19 Jul, 2005 1 commit
  31. 15 Jul, 2005 1 commit
  32. 14 Jul, 2005 1 commit
  33. 13 Jul, 2005 1 commit