1. 25 Jul, 2013 1 commit
    • Sergey Petrunya's avatar
      MDEV-4687: impossible where with < operation, but =-5 return one row · 05e756d2
      Sergey Petrunya authored
      - Let _ma_record_pos() set SEARCH_PART_KEY when doing a search on
        a prefix of a [unique] key.  Otherwise, _ma_search_pos() would 
        find the first key equal to search key, and assume it is also 
        the last one, which will make a wrong estimate of key's position.
      
        A wrong key position may cause min_pos > max_pos and records_in_range()
        will return 0, which will make the optimizer think it's an impossible 
        range while in fact it is not.
      05e756d2
  2. 19 Jul, 2013 1 commit
  3. 18 Jul, 2013 1 commit
  4. 17 Jul, 2013 2 commits
  5. 16 Jul, 2013 9 commits
  6. 15 Jul, 2013 2 commits
  7. 11 Jul, 2013 2 commits
  8. 09 Jul, 2013 4 commits
    • Alexander Barkov's avatar
      Merge from 5.3 · 34b7c474
      Alexander Barkov authored
      34b7c474
    • Vladislav Vaintroub's avatar
      MDEV-4409 - Fix deadlock in MySQL key cache code, that can happen if there is... · 5f4318b6
      Vladislav Vaintroub authored
      MDEV-4409 - Fix deadlock in MySQL key cache code, that can happen if there is a key cache resize running in parallel with an update.
      
      If there is a key cache resize,a  thread writing to key cache, will pause waiting  until resize finishes. However this thread is won't be woken, because resize does not  signaling waiters anymore. This is a regression introduced in WL#86(segmented MyISAM key cache)
      The fix is to unconditionally release  threads waiting on resize_queue when resize  finishes, as in pre-WL#86 code.
      5f4318b6
    • Alexander Barkov's avatar
      Merge from 5.2 · da3c97c3
      Alexander Barkov authored
      modified:
        mysql-test/suite/plugins/r/fulltext_plugin.result
        mysql-test/suite/plugins/t/fulltext_plugin.test
        plugin/fulltext/plugin_example.c
        sql/sql_show.cc
      pending merges:
        Alexander Barkov 2013-07-09 [merge] Merge from 5.1
          Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninst...
          Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
      da3c97c3
    • Alexander Barkov's avatar
      Merge from 5.1 · 4555a0b3
      Alexander Barkov authored
      modified:
        mysql-test/suite/plugins/r/fulltext_plugin.result
        mysql-test/suite/plugins/t/fulltext_plugin.test
        plugin/fulltext/plugin_example.c
        sql/sql_show.cc
      pending merges:
        Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninstall ...
          Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
      4555a0b3
  9. 08 Jul, 2013 1 commit
    • Alexander Barkov's avatar
      Merging from 5.3 · 3f8c0271
      Alexander Barkov authored
      modified:
        include/my_time.h
        libmysql/libmysql.c
        mysql-test/r/adddate_454.result
        mysql-test/r/cast.result
        mysql-test/r/date_formats.result
        mysql-test/r/func_sapdb.result
        mysql-test/r/func_time.result
        mysql-test/r/mdev316.result
        mysql-test/r/parser.result
        mysql-test/r/partition_datatype.result
        mysql-test/r/partition_pruning.result
        mysql-test/r/type_date.result
        mysql-test/r/type_datetime.result
        mysql-test/suite/vcol/r/vcol_misc.result
        mysql-test/t/cast.test
        sql-common/my_time.c
        sql/field.cc
        sql/field_conv.cc
        sql/filesort.cc
        sql/item.cc
        sql/item.h
        sql/item_cmpfunc.cc
        sql/item_func.cc
        sql/item_strfunc.cc
        sql/item_timefunc.cc
        sql/sql_time.cc
      pending merges:
        Sergei Golubchik 2013-07-03 MDEV-4667 DATE('string') incompability betwe...
      3f8c0271
  10. 06 Jul, 2013 1 commit
  11. 05 Jul, 2013 3 commits
  12. 04 Jul, 2013 1 commit
  13. 03 Jul, 2013 1 commit
  14. 01 Jul, 2013 3 commits
  15. 28 Jun, 2013 4 commits
    • Alexander Barkov's avatar
      Merge · 3c10d0b0
      Alexander Barkov authored
      pending merges:
        Alexander Barkov 2013-06-28 A clean-up for MDEV-4634
      3c10d0b0
    • Alexander Barkov's avatar
      A clean-up for MDEV-4634 · b78e5617
      Alexander Barkov authored
      modified:
        sql/time.cc
      b78e5617
    • Alexander Barkov's avatar
      Merge from 5.3 · 985b6cb4
      Alexander Barkov authored
      modified:
        mysql-test/r/type_date.result
        mysql-test/r/type_datetime.result
        mysql-test/r/type_time.result
        mysql-test/t/type_date.test
        mysql-test/t/type_datetime.test
        mysql-test/t/type_time.test
        sql/item_func.cc
        sql/item_timefunc.cc
        sql/sql_time.cc
        sql/sql_time.h
      pending merges:
        Alexander Barkov 2013-06-28 MDEV-4634 Crash in CONVERT_TZ
      985b6cb4
    • Alexander Barkov's avatar
      MDEV-4634 Crash in CONVERT_TZ · 3c4db61e
      Alexander Barkov authored
      Item_func_min_max::get_date() did not check the
      returned value against the fuzzy_date flags, so
      it could return a bad value to the caller that
      expects a good date (e.h. CONVERT_TZ).
      
      
      modified:
        mysql-test/r/type_date.result
        mysql-test/r/type_datetime.result
        mysql-test/r/type_time.result
        mysql-test/t/type_date.test
        mysql-test/t/type_datetime.test
        mysql-test/t/type_time.test
        sql/item_func.cc
        sql/item_timefunc.cc
        sql/mysql_priv.h
        sql/time.cc
      3c4db61e
  16. 27 Jun, 2013 1 commit
  17. 22 Jun, 2013 1 commit
  18. 18 Jun, 2013 1 commit
    • Alexander Barkov's avatar
      Merging MDEV-4635 from 5.3. · 57a5cf08
      Alexander Barkov authored
      Also, fixing a bug in STR_TO_DATE(). It erroneously returned
      error in strict mode for dates like '0000-01-01'
      (zero year, but non-zero month and day).
      
      According to the manual:
      - NO_ZERO_DATE disallows 0000-00-00 (all date parts are zeros)
      - NO_ZERO_IN_DATE disallows zero month (YYYY-00-DD) or day (YYYY-MM-00).
      
      0000-01-01 is a valid date, even in strict mode.
      
      
      modified:
        mysql-test/r/func_time.result
        mysql-test/r/strict.result
        mysql-test/t/func_time.test
        mysql-test/t/strict.test
        sql/item_timefunc.cc
        sql/sql_time.h
      pending merges:
        Alexander Barkov 2013-06-17 MDEV-4635 Crash in UNIX_TIMESTAMP(STR_TO_DAT...
      57a5cf08
  19. 17 Jun, 2013 1 commit