1. 14 Mar, 2013 2 commits
  2. 13 Mar, 2013 1 commit
    • Sergei Golubchik's avatar
      MDEV-4265 5.5 is slower than 5.3 because of many str_to_datetime calls · 372bc22b
      Sergei Golubchik authored
      get_datetime_value() should not double-cache its own Item_cache_temporal items,
      but it *should* cache other Item_cache items, such as Item_cache_str.
      
      sql/item.h:
        shortcut, to avoid going through the switch in Item::cmp_type()
      sql/item_cmpfunc.cc:
        even if the item is Item_cache_str - it still needs to be converted and cached.
      sql/item_timefunc.h:
        all descendants of Item_temporal_func always have cmp_type==TIME_RESULT.
        Even Item_date_add_interval, that might have field_type == MYSQL_TYPE_STRING.
      372bc22b
  3. 11 Mar, 2013 1 commit
  4. 12 Mar, 2013 3 commits
  5. 06 Mar, 2013 1 commit
  6. 11 Mar, 2013 1 commit
  7. 10 Mar, 2013 1 commit
  8. 08 Mar, 2013 5 commits
  9. 06 Mar, 2013 4 commits
  10. 05 Mar, 2013 3 commits
  11. 04 Mar, 2013 2 commits
  12. 02 Mar, 2013 2 commits
    • Igor Babaev's avatar
      Merge · fe6c8d42
      Igor Babaev authored
      fe6c8d42
    • Igor Babaev's avatar
      Fixed bug mdev-4220. · bd305d6b
      Igor Babaev authored
      This bug is a regression bug. The regression was introduced by
      the patch for mdev-3851, that tried to weaken the condition when
      a ref access with an extended key can be converted to an eq_ref
      access. The patch incorrectly formed this condition. As a result,
      while improving performance for some queries, the patch caused 
      worse performance for another queries.
      bd305d6b
  13. 01 Mar, 2013 8 commits
    • Vladislav Vaintroub's avatar
      MDEV-4216 : export additional functions ... · 6c4f41ff
      Vladislav Vaintroub authored
      MDEV-4216 : export additional functions  mysql_get_timeout_value(),mysql_get_timeout_value_ms(),  mysql_get_socket() from shared client library. They are documented as part of async API.
      
      Also, remove  functions mysql_close_slow_part_start() and mysql_close_slow_part_cont() from exports - they are not documented anywhere.
      6c4f41ff
    • Daniel Bartholomew's avatar
      Removed the obsolete instructions from the MySQL 5.1 manual. Instead provide a... · 7f47237f
      Daniel Bartholomew authored
      Removed the obsolete instructions from the MySQL 5.1 manual. Instead provide a link to https://kb.askmonty.org/en/compiling-mariadb-from-source/
      
      7f47237f
    • Michael Widenius's avatar
      Automatic merge · 4cace76d
      Michael Widenius authored
      4cace76d
    • Michael Widenius's avatar
      Fixed bug MPDEV-628 / LP:989055 - Querying myisam table metadata may corrupt the table. · 8ed283d8
      Michael Widenius authored
      The issue was that there was that SHOW commands could open the table in the store engine, even in cases
      where it should not be allowed to do that (ie, the storage engines meta data for that table was under big changes).
      
      The cases where this should not be allowed are:
      - ALTER TABLE DISABLE KEYS
      - ALTER TABLE ENABLE KEYS
      - REPAIR TABLE
      - OPTIMIZE TABLE
      - DROP TABLE
      
      This patch adds a new mode, protected_against_usage(). If this is used then the SHOW command will wait until the table
      is accessable. This is implemented by re-using the already exising 'version' flag for TABLE_SHARE.
      It also added functions to be used to change TABLE_SHARE->version instead of changing it directly.
      	
      
      
      mysql-test/r/myisam-metadata.result:
        Added test case
      mysql-test/t/myisam-metadata.test:
        Added test case
      sql/mysqld.cc:
        Start from refresh_version 2 as 0 and 1 are reserved.
      sql/sql_admin.cc:
        Added MYSQL_OPEN_FOR_REPAIR
        Updated call to wait_while_table_is_used()
      sql/sql_base.cc:
        Updated call to wait_while_table_is_used()
        - Allow one to specify how the table should be removed (for all commands except show or for all commands).
        - Don't allow one to reopen the table if one has called share->protect_against_usage()
      sql/sql_base.h:
        Added TDC_RT_REMOVE_NOT_OWN_AND_MARK_NOT_USABLE, which is used to mark that no one can reopen this table, except with MYSQL_OPEN_FOR_REPAIR .
        - Added MYSQL_OPEN_FOR_REPAIR
        - Updated prototype for wait_while_table_is_used()
      sql/sql_table.cc:
        Updated call to wait_while_table_is_used()
        Use MYSQL_OPEN_FOR_REPAIR for open tables that where repaired.
      sql/sql_truncate.cc:
        Updated call to wait_while_table_is_used()
      sql/table.cc:
        Use set_refresh_version()
      sql/table.h:
        Added functions to be used to change TABLE_SHARE->version instead of changing it directly
      8ed283d8
    • unknown's avatar
    • Sergey Petrunya's avatar
      Merge 5.3->5.5 · 1a998ee2
      Sergey Petrunya authored
      1a998ee2
    • Sergey Petrunya's avatar
      4ad2fd7c
    • Igor Babaev's avatar
      Merge · 8fb2919e
      Igor Babaev authored
      8fb2919e
  14. 28 Feb, 2013 6 commits
    • Sergei Golubchik's avatar
      9d72bbf8
    • Igor Babaev's avatar
      Fixed bug mdev-4209 · 90c0f3d3
      Igor Babaev authored
      Do not include BLOB fields into the key to access the temporary
      table created for a materialized view/derived table.
      BLOB components are not allowed in keys. 
      90c0f3d3
    • Sergei Golubchik's avatar
      5.3->5.5 merge · 213f1c76
      Sergei Golubchik authored
      213f1c76
    • Sergei Golubchik's avatar
      Percona-Server-5.5.29-rel30.0.tar.gz · a9f12c27
      Sergei Golubchik authored
      a9f12c27
    • Sergei Golubchik's avatar
      5.2 -> 5.3 · c4341d50
      Sergei Golubchik authored
      c4341d50
    • Sergei Golubchik's avatar
      revert · cfa94b43
      Sergei Golubchik authored
        revid:georgi.kodinov@oracle.com-20120309130449-82e3bs5v3et1x0ef
        committer: Georgi Kodinov <Georgi.Kodinov@Oracle.com>
        timestamp: Fri 2012-03-09 15:04:49 +0200
        message:
          Bug #12408412: GROUP_CONCAT + ORDER BY + INPUT/OUTPUT SAME 
          USER VARIABLE = CRASH
          Moved the preparation of the variables that receive the output from 
          SELECT INTO from execution time (JOIN:execute) to compile time 
          (JOIN::prepare). This ensures that if the same variable is used in the
          SELECT part of SELECT INTO it will be properly marked as non-const
          for this query.
          Test case added.
          Used proper fast iterator.
      
      a better fix (much smaller and without regressions) is coming from 5.1
      cfa94b43