1. 08 May, 2016 2 commits
  2. 01 Apr, 2016 2 commits
  3. 31 Mar, 2016 3 commits
  4. 29 Mar, 2016 1 commit
  5. 28 Mar, 2016 2 commits
  6. 25 Mar, 2016 3 commits
  7. 24 Mar, 2016 5 commits
  8. 23 Mar, 2016 12 commits
    • Sergei Golubchik's avatar
      after merge fixes · 21ee0ca4
      Sergei Golubchik authored
      21ee0ca4
    • Sergei Golubchik's avatar
      Merge branch '10.1' into 10.2 · f67a2211
      Sergei Golubchik authored
      f67a2211
    • Sergei Golubchik's avatar
      thread cache: cleanup DBUG state when caching a thread · a75d2694
      Sergei Golubchik authored
      this fixes 40 failures in mysql-test
      a75d2694
    • Monty's avatar
      Fixed failures from changing values of thread_stack and thread_cache_size · 06b45564
      Monty authored
      Added --thread_cache_size=0 to some tests that was depending on not having
      a thread cache.
      06b45564
    • Monty's avatar
      Fixed failures from changing values of thread_stack and thread_cache_size · 02d75ae1
      Monty authored
      Added --thread_cache_size=0 to slow_launch_time_func.test as otherwise
      the new thread would start too fast to be counted as a slow_launch_thread.
      02d75ae1
    • Alexander Barkov's avatar
      Removing duplicate code: sharing implementation of "strnxfrm" · 0a83caf4
      Alexander Barkov authored
      between gbk_chinese_ci and big5_chinese_ci.
      0a83caf4
    • Alexander Barkov's avatar
      Removing unused code in ctype-bin5.c · 0d42d4e9
      Alexander Barkov authored
      0d42d4e9
    • Alexander Barkov's avatar
      Fixing compilation warnings introduced in: · 1170d23c
      Alexander Barkov authored
      > commit e0929951
      > Author: Alexander Barkov <bar@mariadb.org>
      > Date:   Wed Mar 16 10:55:12 2016 +0400
      >
      >     MDEV-9665 Remove cs->cset->ismbchar()
      >     Using a more powerfull cs->cset->charlen() instead.
      1170d23c
    • Oleksandr Byelkin's avatar
      aa77bc5c
    • Alexey Botchkov's avatar
      MDEV-717 LP:1003679 - Wrong binlog order on concurrent DROP schema and CREATE function. · 2783fc7d
      Alexey Botchkov authored
              The cause of the issue is when DROP DATABASE takes
              metadata lock and is in progress through it's
              execution, a concurrently running CREATE FUNCTION checks
              for the existence of database which it succeeds and then it
              waits on the metadata lock.  Once DROP DATABASE writes to
              BINLOG and finally releases the metadata lock on schema
              object, the CREATE FUNCTION waiting on metadata lock
              gets in it's code path and succeeds and writes to binlog.
      2783fc7d
    • Alexander Barkov's avatar
      MDEV-9604 crash in Item::save_in_field with empty enum value · e4435b5e
      Alexander Barkov authored
      1. Fixing Field_time::get_equal_const_item() to pass TIME_FUZZY_DATES
         and TIME_INVALID_DATES to get_time_with_conversion().
         This is needed to make the recursively called Item::get_date() return
         non-NULL values on garbage input. This makes Field_time::get_equal_const_item()
         work consistently with how Item::val_time_packed() works.
      
      2. Fixing Item::get_date() to return TIME'00:00:00' rather than
         DATE'0000-00-00' on empty or garbage input when:
         - TIME_FUZZY_DATES is enabled
         - The caller requested a TIME value (by passing TIME_TIME_ONLY).
         This is needed to avoid conversion of DATE'0000-00-00' to TIME
         in get_time_with_conversion(), which would erroneously try to subtract
         CURRENT_DATE from DATE'0000-00-00' and return TIME'-838:59:59' rather than
         the desired zero value TIME'00:00:00'.
      
         #1 and #2 fix these type of scripts to return one row with both
         MyISAM and InnoDB, with and without an index on t1.b:
      
           CREATE TABLE t1 (a ENUM('a'), b TIME, c INT, KEY(b));
           INSERT INTO t1 VALUES ('','00:00:00',0);
           SELECT * FROM t1 WHERE b='';
           SELECT * FROM t1 WHERE a=b;
           SELECT * FROM t1 IGNORE INDEX(b) WHERE b='';
           SELECT * FROM t1 IGNORE INDEX(b) WHERE a=b;
      
         Additionally, #1 and #2 fix the originally reported in MDEV-9604 crash
         in Item::save_in_field(), because now execution goes through a different
         path, so save_in_field() is called for a Item_time_literal instance
         (which is non-NULL) rather than a Item_cache_str instance (which could
         return NULL without setting null_value).
      
      3. Fixing Field_temporal::get_equal_const_item_datetime() to enable
         equal field propagation for DATETIME and TIMESTAMP in case of
         comparison (e.g. when ANY_SUBST), for symmetry with
         Field_newdate::get_equal_const_item(). This fixes a number of problems
         with empty set returned on comparison to empty/garbage input.
         Now all SELECT queries in this script return one row for MyISAM and InnoDB,
         with and without an index on t1.b:
      
           CREATE TABLE t1 (a ENUM('a'), b DATETIME, c INT, KEY(b));
           INSERT INTO t1 VALUES ('','0000-00-00 00:00:00',0);
           SELECT * FROM t1 WHERE b='';
           SELECT * FROM t1 WHERE a=b;
           SELECT * FROM t1 IGNORE INDEX(b) WHERE b='';
           SELECT * FROM t1 IGNORE INDEX(b) WHERE a=b;
      e4435b5e
    • Elena Stepanova's avatar
      Fix sysvar tests - embedded and 32-bit · f66303dc
      Elena Stepanova authored
      f66303dc
  9. 22 Mar, 2016 10 commits