1. 16 Sep, 2014 2 commits
  2. 15 Sep, 2014 1 commit
  3. 13 Sep, 2014 3 commits
  4. 12 Sep, 2014 12 commits
  5. 11 Sep, 2014 9 commits
    • Elena Stepanova's avatar
      Fixes in storage_engine test suite · d2ae40ac
      Elena Stepanova authored
        - after a change in 5.6.20, tests with big blobs require bigger
          innodb_log_file_size value;
        - innobase relay was running with the default InnoDB (XtraDB)
      d2ae40ac
    • Michael Widenius's avatar
      Automatic merge · c6051a4b
      Michael Widenius authored
      c6051a4b
    • Michael Widenius's avatar
      MDEV-6255 DUPLICATE KEY Errors on SELECT .. GROUP BY that uses temporary and filesort. · c4f5326b
      Michael Widenius authored
      The problem was that my_hash_sort didn't properly delete end-space characters properly, so strings that should compare
      identically was seen as different strings.  (Space was handled correctly, but not NBSP)
      This caused duplicate key errors when a heap table was converted to Aria as part of overflow in group by.
      
      Fixed by removing all characters that compares as end space when creating a hash.
      
      Other things:
      - Fixed that --sorted_results also works for errors in mysqltest.
      - Speed up hash by not comparing strings that has different hash.
      - Speed up many my_hash_sort functions by using registers to calculate hash instead of pointers.
        This was previously done for some functions, but not for all.
      - Made a macro of the hash function, to simplify code and to be able to experiment with new hash functions.
      
      
      
      
      
      
      
      client/mysqltest.cc:
        Fixed that --sorted_results also works for error messages.
      mysql-test/r/ctype_partitions.result:
        New test to ensure that partitions on hash works
      mysql-test/suite/multi_source/gtid.result:
        Updated result
      mysql-test/suite/multi_source/gtid.test:
        Test that --sorted_result works for error messages
      mysql-test/suite/multi_source/gtid_ignore_duplicates.result:
        Updated result
      mysql-test/suite/multi_source/gtid_ignore_duplicates.test:
        Updated result
      mysql-test/suite/multi_source/load_data.result:
        Updated result
      mysql-test/suite/multi_source/load_data.test:
        Updated result
      mysql-test/t/ctype_partitions.test:
        New test to ensure that partitions on hash works
      storage/heap/hp_write.c:
        Speed up hash by not comparing strings that has different hash.
      storage/maria/ma_check.c:
        Extra debug
      strings/ctype-bin.c:
        Use macro for hash function
      strings/ctype-latin1.c:
        Use macro for hash function
        Use registers to calculate hash (speedup)
      strings/ctype-mb.c:
        Use macro for hash function
        Use registers to calculate hash (speedup)
      strings/ctype-simple.c:
        Use macro for hash function
        Use same variable names as in other my_hash_sort functions.
        Update my_hash_sort_simple() to properly remove end space (patch by Bar)
      strings/ctype-uca.c:
        Ignore duplicated space inside strings and end space in my_hash_sort_uca(). This fixed MDEV-6255
        Use macro for hash function
        Use registers to calculate hash (speedup)
      strings/ctype-ucs2.c:
        Use macro for hash function
        Use registers to calculate hash (speedup)
      strings/ctype-utf8.c:
        Use macro for hash function
        Use registers to calculate hash (speedup)
      strings/strings_def.h:
        Made a macro of the hash function, to simplify code and to be able to experiment with new hash functions.
      c4f5326b
    • Sergei Golubchik's avatar
      XtraDB 5.6.20-68.0 · 4a68817d
      Sergei Golubchik authored
      4a68817d
    • Sergei Golubchik's avatar
      InnoDB 5.6.20 · 75796d9e
      Sergei Golubchik authored
      75796d9e
    • Jan Lindström's avatar
      MDEV-6729: InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED in · c30a8442
      Jan Lindström authored
      file trx0trx.ic line 60 
      
      Problem was that trx might have not been started when we enter release
      savepoint, this can happen when trx with savepoint is already aborted 
      or when we try to release non-existing savepoint.
      c30a8442
    • Sergei Golubchik's avatar
      percona-server-5.6.20-68.0 · 89b6517c
      Sergei Golubchik authored
      89b6517c
    • Sergei Golubchik's avatar
      2.1.9-release · f16be240
      Sergei Golubchik authored
      f16be240
    • Sergei Golubchik's avatar
      5.6.20 · 993395bf
      Sergei Golubchik authored
      993395bf
  6. 10 Sep, 2014 5 commits
  7. 09 Sep, 2014 3 commits
    • Igor Babaev's avatar
      Fixed bug mdev-6292. · 5023bb89
      Igor Babaev authored
      Avoided exponential recursive calls of JOIN_CACHE::join_records() in the case
      of non-nested outer joins.
      A different solution is required to resolve this performance problem for
      nested outer joins.
      5023bb89
    • Sergei Golubchik's avatar
      MDEV-6561 libedit detection is broken · ae3cc4f1
      Sergei Golubchik authored
      fix readline/libedit detection:
      * search in readline/, editline/ and edit/readline/
      * fix typos CMAKE_REQUIRES_LIBRARIES -> CMAKE_REQUIRED_LIBRARIES
      * use correct libedit API
      * use different cmake variables for libedit and readline
      ae3cc4f1
    • Michael Widenius's avatar
      MDEV-6698: safe_mutex: Found wrong usage of mutex 'log_space_lock' and 'LOCK_log' · 2362d984
      Michael Widenius authored
      Moved freeing of mutex earlier, as we don't need to have log_space_cond locked for doing rotate_relay_log()
      
      sql/slave.cc:
        Moved freeing of mutex earlier, as we don't need to have log_space_cond locked for doing rotate_relay_log()
      2362d984
  8. 08 Sep, 2014 4 commits
    • Michael Widenius's avatar
      Fixed two bugs with CREATE OR REPLACE and LOCK TABLES: · 9c79227c
      Michael Widenius authored
      MDEV-6560 Assertion `! is_set() ' failed in Diagnostics_area::set_ok_status on killing CREATE OR REPLACE
      MDEV-6525 Assertion `table->pos_in_locked _tables == __null || table->pos_in_locked_tables->table = table' failed in mark_used_tables_as_free_for_reuse, locking problems and binlogging problems on CREATE OR REPLACE under lock.
       
      
      mysql-test/r/create_or_replace.result:
        Added test for MDEV-6560
      mysql-test/t/create_or_replace.test:
        Added test for MDEV-6560
      mysql-test/valgrind.supp:
        Added suppression for OpenSuse 12.3
      sql/sql_base.cc:
        More DBUG
      sql/sql_class.cc:
        Changed that thd_sqlcom_can_generate_row_events() does not report that CREATE OR REPLACE is generating row events.
        This is safe as this function is only used by InnoDB/XtraDB to check if a query is generating row events as part of another transaction. As CREATE is always run as it's own transaction, this isn't a problem.
        This fixed MDEV-6525.
      sql/sql_table.cc:
        Remember if reopen_tables() generates an error (which can only happen in case of KILL).
        This fixed MDEV-6560
      9c79227c
    • Sergei Golubchik's avatar
      MDEV-6605 Multiple Clients Inserting Causing Error: Failed to read... · 6b720ae4
      Sergei Golubchik authored
      MDEV-6605 Multiple Clients Inserting Causing Error: Failed to read auto-increment value from storage engine
      
      * handler::get_auto_increment() was not expecting any errors from the storage engine.
        That was wrong, errors could happen.
      * ha_partition::get_auto_increment() was doing index lookups in partition under a mutex.
        This was redundant (engine transaction isolation was covering that anyway)
        and harmful (causing deadlocks).
      6b720ae4
    • Sergei Golubchik's avatar
      8deb9066
    • Sergei Golubchik's avatar
      4d4ce59d
  9. 07 Sep, 2014 1 commit