1. 28 Sep, 2007 3 commits
    • mhansson@dl145s.mysql.com's avatar
      Bug#30665: Post-merge fix · 44178403
      mhansson@dl145s.mysql.com authored
      44178403
    • mhansson@dl145s.mysql.com's avatar
      Merge mhansson@bk-internal:/home/bk/mysql-5.1-opt · d18df32b
      mhansson@dl145s.mysql.com authored
      into  dl145s.mysql.com:/data0/mhansson/my51-bug30665
      d18df32b
    • mhansson/martin@linux-st28.site's avatar
      Bug#30665: Inconsistent optimization of IGNORE INDEX FOR {ORDER BY|GROUP BY} · ab73b25d
      mhansson/martin@linux-st28.site authored
      The optimizer takes different execution paths during EXPLAIN than SELECT,
      this fix relates only to EXPLAIN, hence no behavior changes.
      The test of sort keys for ORDER BY was prohibited from considering keys
      that were mentioned in IGNORE KEYS FOR ORDER BY. This led to two 
      inconsistencies: One was that IGNORE INDEX FOR GROUP BY and 
      IGNORE INDEX FOR ORDER BY gave apparently different EXPLAINs; the latter 
      erroneously claimed to do filesort. The second inconsistency 
      is that the test of sort keys is called twice, finding a sort key the first
      time but not the second time, leading to the mentioned filesort.
      
      Fixed by making the test of sort keys consider all enabled 
      keys on the table. This test rejects keys that are not covering, and for 
      covering keys the hint should be ignored anyway. 
      ab73b25d
  2. 27 Sep, 2007 9 commits
  3. 26 Sep, 2007 5 commits
  4. 24 Sep, 2007 4 commits
  5. 22 Sep, 2007 4 commits
    • gkodinov/kgeorge@macbook.local's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 44292dcb
      gkodinov/kgeorge@macbook.local authored
      into  macbook.local:/Users/kgeorge/mysql/autopush/B28701-merged-5.0-opt
      44292dcb
    • gkodinov/kgeorge@macbook.local's avatar
      Merge macbook.local:/Users/kgeorge/mysql/work/B28701-5.0-opt · ae9d734f
      gkodinov/kgeorge@macbook.local authored
      into  macbook.local:/Users/kgeorge/mysql/work/B28701-merged-5.0-opt
      ae9d734f
    • evgen@sunlight.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 7ed30b97
      evgen@sunlight.local authored
      into  sunlight.local:/local_work/27216-bug-5.0-opt-mysql
      7ed30b97
    • evgen@sunlight.local's avatar
      Bug#27216: functions with parameters of different date types may return wrong · 36bf417b
      evgen@sunlight.local authored
      type of the result.
      
      There are several functions that accept parameters of different types.
      The result field type of such functions was determined based on
      the aggregated result type of its arguments. As the DATE and the DATETIME
      types are represented by the STRING type, the result field type
      of the affected functions was always STRING for DATE/DATETIME arguments.
      The affected functions are COALESCE, IF, IFNULL, CASE, LEAST/GREATEST, CASE.
      
      Now the affected functions aggregate the field types of their arguments rather
      than their result types and return the result of aggregation as their result
      field type.
      The cached_field_type member variable is added to the number of classes to
      hold the aggregated result field type.
      The str_to_date() function's result field type now defaults to the
      MYSQL_TYPE_DATETIME.
      The agg_field_type() function is added. It aggregates field types with help
      of the Field::field_type_merge() function.
      The create_table_from_items() function now uses the 
      item->tmp_table_field_from_field_type() function to get the proper field
      when the item is a function with a STRING result type.
      36bf417b
  6. 21 Sep, 2007 3 commits
  7. 20 Sep, 2007 6 commits
  8. 19 Sep, 2007 5 commits
  9. 17 Sep, 2007 1 commit
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #29985. · 2a5d9515
      gshchepa/uchum@gleb.loc authored
      Multiple-result processing is required during the execution
      of CALL statements for stored procedures, however the mysqlslap
      client lacked that processing.
      2a5d9515