An error occurred fetching the project authors.
  1. 28 Jul, 2006 1 commit
    • sergefp@mysql.com's avatar
      BUG#14940 "MySQL choose wrong index", v.2 · 699291a8
      sergefp@mysql.com authored
      - Make the range-et-al optimizer produce E(#table records after table 
                                                 condition is applied),
      - Make the join optimizer use this value,
      - Add "filtered" column to EXPLAIN EXTENDED to show 
        fraction of records left after table condition is applied
      - Adjust test results, add comments
      699291a8
  2. 13 Jun, 2006 1 commit
  3. 08 Jun, 2006 1 commit
    • gkodinov@mysql.com's avatar
      Bug #15355: Common natural join column not resolved in prepared statement nested · 395affb8
      gkodinov@mysql.com authored
        query
      Problem:
      There was a wrong context assigned to the columns that were added in insert_fields()
      when expanding a '*'. When this is done in a prepared statement it causes 
      fix_fields() to fail to find the table that these columns reference.
      Actually the right context is set in setup_natural_join_row_types() called at the 
      end of setup_tables(). However when executed in a context of a prepared statement
      setup_tables() resets the context, but setup_natural_join_row_types() was not
      setting it to the correct value assuming it has already done so.
      
      Solution:
      The top-most, left-most NATURAL/USING join must be set as a 
      first_name_resolution_table in context even when operating on prepared statements.
      395affb8
  4. 12 May, 2006 1 commit
  5. 02 Mar, 2006 1 commit
    • timour@mysql.com's avatar
      Fix for BUG#15229. · 103604ed
      timour@mysql.com authored
      The cause of this bug was a design flaw due to which the list of natural
      join columns was incorrectly computed and stored for nested joins that
      are not natural joins, but are operands (possibly indirect) of nested joins.
      
      The patch corrects the flaw in a such a way, that the result columns of a
      table reference are materialized only if it is a leaf table (that is, only
      if it is a view, stored table, or natural/using join).
      103604ed
  6. 22 Feb, 2006 1 commit
  7. 30 Nov, 2005 2 commits
  8. 23 Aug, 2005 1 commit
    • 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
  9. 19 Aug, 2005 1 commit
  10. 12 Aug, 2005 2 commits
    • timour@mysql.com's avatar
      WL#2486 · 8f115aaf
      timour@mysql.com authored
      Disabled one test case because it is still a problem due to the fix for WL#2486.
      Pushed to enable code review.
      8f115aaf
    • 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
  11. 13 Aug, 2004 1 commit
    • igor@rurik.mysql.com's avatar
      join_nested.test, join_nested.result: · 49094f58
      igor@rurik.mysql.com authored
        Added a case for bug #4976 when one of the inner tables is empty.
      select.result, join.result:
        Reversed the previous change of the erronious fix for bug #4976.
      sql_select.cc:
        The previous fix for bug 4976 was reversed as it
        erroniously converted an outer join into an innner join
        when on_expression does not refer to outer tables.
        This is not valid if inner tables return an empty set.
        Setting dependency on outer tables was added for the above cases.
        To fix the crash in the test case of bug #4976  
        a guard was added that blocks running the crashing code for
        nested outer joins.
      49094f58
  12. 11 Aug, 2004 1 commit
    • igor@rurik.mysql.com's avatar
      join.result, select.result: · 43bf2d05
      igor@rurik.mysql.com authored
        Fixed bug #4976.
      join_nested.result, join_nested.test:
        Added a test case for bug #4976.
      sql_select.cc:
        Applied conversion from an outer join to an inner join 
        when the on expression does not depend on the outer table.
        It fixed bug #4976.
      43bf2d05
  13. 02 Aug, 2004 1 commit
  14. 16 Jun, 2004 1 commit
  15. 19 Mar, 2004 1 commit
  16. 10 Dec, 2003 1 commit
  17. 27 Jun, 2003 1 commit
  18. 04 Jun, 2003 1 commit
    • monty@narttu.mysql.fi's avatar
      Added SQLSTATE to client/server protocol · 23145cfe
      monty@narttu.mysql.fi authored
      bmove_allign -> bmove_align
      Added OLAP function ROLLUP
      Split mysql_fix_privilege_tables to a script and a .sql data file
      Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
      Added table_alias_charset, for easier --lower-case-table-name handling
      Better SQL_MODE handling (Setting complex options also sets sub options)
      New (faster) assembler string functions for x86
      23145cfe
  19. 27 Apr, 2003 1 commit
  20. 26 Apr, 2003 1 commit
    • monty@mashka.mysql.fi's avatar
      Fix for -fbranch-probabilites (bug 268) · bf6cfd29
      monty@mashka.mysql.fi authored
      Fix for LEFT/RIGHT/MID with multi-byte-character sets (bug 314)
      Fix for new bison 1.875
      max_insert_delayed_threads and delayed_insert_timeout now works as documented (bug 211)
      Don't show port in SHOW PROCESSLIST for system threads
      Fix problem with ORDER BY being discarded for some DISTINCT queries (bug 275)
      Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
      using many joined tables (Bug 212)
      bf6cfd29
  21. 22 Apr, 2003 1 commit
  22. 10 Mar, 2003 1 commit
  23. 07 Mar, 2003 1 commit
  24. 06 Feb, 2003 1 commit
    • monty@mashka.mysql.fi's avatar
      Added START TRANSACTION syntax · cf9668fd
      monty@mashka.mysql.fi authored
      Added ALL as parameter option for all group functions.
      Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
      Sort NULL last if DESC is used (ANSI SQL 99 requirement)
      cf9668fd
  25. 21 Jan, 2003 1 commit
  26. 19 Jan, 2003 1 commit
  27. 16 May, 2002 1 commit
  28. 07 May, 2002 1 commit
  29. 13 Feb, 2002 1 commit
  30. 10 Feb, 2002 1 commit
  31. 31 Jan, 2002 1 commit
    • monty@hundin.mysql.fi's avatar
      Fixes for new getopt · 4000b036
      monty@hundin.mysql.fi authored
      Bug fix when using --no-deaults
      Sets ref_length to right value (faster rnd_pos() handling in InnoDB).
      Fixed problem with multi-table-delete and InnoDB
      Fixed problem with truncate table, which required a COMMIT before.
      Fixed multi-table-delete bug with InnoDB.
      Remove not used index from EXPLAIN
      4000b036
  32. 17 Jan, 2002 1 commit
  33. 05 Nov, 2001 1 commit
  34. 04 Nov, 2001 2 commits
  35. 03 Nov, 2001 1 commit
  36. 13 Oct, 2001 1 commit
  37. 03 Oct, 2001 1 commit