1. 07 Apr, 2017 4 commits
    • Sergei Golubchik's avatar
      ASAN error in rpl.mysql-wsrep#110-2 · 06ee58a7
      Sergei Golubchik authored
      Annotate_rows_log_event again. When a new annotate event comes,
      the server applies it first (which backs up thd->query_string),
      then frees the old annotate event, if any. Normally there isn't.
      
      But with sub-statements (e.g. triggers) new annotate event comes
      before the first one is freed, so the second event backs up
      thd->query_string that was set by the first annotate event. Then
      the first event is freed, together with its query string. And then
      the second event restores thd->query_string to this freed memory.
      
      Fix: free old annotate event before applying the new one.
      06ee58a7
    • Sergei Golubchik's avatar
      ASAN errors in many rpl tests · 30ed99cb
      Sergei Golubchik authored
      Annotate_rows_log_event should always restore thd->query_string
      if it was backed up. Even if the backed up value is NULL.
      30ed99cb
    • Sergei Golubchik's avatar
      MDEV-11995 ALTER TABLE proceeds despite reporting ER_TOO_LONG_KEY error · 82196f01
      Sergei Golubchik authored
      automatic shortening of a too-long non-unique key should
      be not a warning, but a note. It's a normal optimization,
      doesn't affect correctness, and should never be converted to
      an error, no matter how strict sql_mode is.
      82196f01
    • Vladislav Vaintroub's avatar
      MDEV-12452 postfix - use C style cast, not reinterpret_cast · 30cbbfbf
      Vladislav Vaintroub authored
      to fix build on Win64
      30cbbfbf
  2. 06 Apr, 2017 17 commits
  3. 05 Apr, 2017 10 commits
  4. 04 Apr, 2017 9 commits