1. 11 Jan, 2018 1 commit
    • Marko Mäkelä's avatar
      MDEV-14824 Assertion `!trx_is_started(trx)' failed in innobase_start_trx_and_assign_read_view · 773c3ceb
      Marko Mäkelä authored
      In CREATE SEQUENCE or CREATE TEMPORARY SEQUENCE, we should not start
      an InnoDB transaction for inserting the sequence status record into
      the underlying no-rollback table. Because we did this, a debug assertion
      failure would fail in START TRANSACTION WITH CONSISTENT SNAPSHOT after
      CREATE TEMPORARY SEQUENCE was executed.
      
      row_ins_step(): Do not start the transaction. Let the caller do that.
      
      que_thr_step(): Start the transaction before calling row_ins_step().
      
      row_ins_clust_index_entry(): Skip locking and undo logging for no-rollback
      tables, even for temporary no-rollback tables.
      
      row_ins_index_entry(): Allow trx->id==0 for no-rollback tables.
      
      row_insert_for_mysql(): Do not start a transaction for no-rollback tables.
      773c3ceb
  2. 08 Jan, 2018 1 commit
  3. 05 Jan, 2018 8 commits
    • Marko Mäkelä's avatar
      Fix a -Wimplicit-fallthrough warning · 6d49ef49
      Marko Mäkelä authored
      6d49ef49
    • Marko Mäkelä's avatar
      Fix a warning about extra parenthesis · f77fe24d
      Marko Mäkelä authored
      f77fe24d
    • Vladislav Vaintroub's avatar
      Fix warning · 23bd61a1
      Vladislav Vaintroub authored
      23bd61a1
    • Vladislav Vaintroub's avatar
      Fix warnings · 894fbe68
      Vladislav Vaintroub authored
      894fbe68
    • Monty's avatar
      Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext · e9a20826
      Monty authored
      Conflicts:
      	mysql-test/r/cte_nonrecursive.result
      	mysql-test/suite/galera/r/galera_bf_abort.result
      	mysql-test/suite/galera/r/galera_bf_abort_get_lock.result
      	mysql-test/suite/galera/r/galera_bf_abort_sleep.result
      	mysql-test/suite/galera/r/galera_enum.result
      	mysql-test/suite/galera/r/galera_fk_conflict.result
      	mysql-test/suite/galera/r/galera_insert_multi.result
      	mysql-test/suite/galera/r/galera_many_indexes.result
      	mysql-test/suite/galera/r/galera_mdl_race.result
      	mysql-test/suite/galera/r/galera_nopk_bit.result
      	mysql-test/suite/galera/r/galera_nopk_blob.result
      	mysql-test/suite/galera/r/galera_nopk_large_varchar.result
      	mysql-test/suite/galera/r/galera_nopk_unicode.result
      	mysql-test/suite/galera/r/galera_pk_bigint_signed.result
      	mysql-test/suite/galera/r/galera_pk_bigint_unsigned.result
      	mysql-test/suite/galera/r/galera_serializable.result
      	mysql-test/suite/galera/r/galera_toi_drop_database.result
      	mysql-test/suite/galera/r/galera_toi_lock_exclusive.result
      	mysql-test/suite/galera/r/galera_toi_truncate.result
      	mysql-test/suite/galera/r/galera_unicode_pk.result
      	mysql-test/suite/galera/r/galera_var_auto_inc_control_off.result
      	mysql-test/suite/galera/r/galera_wsrep_log_conficts.result
      	sql/field.cc
      	sql/rpl_gtid.cc
      	sql/share/errmsg-utf8.txt
      	sql/sql_acl.cc
      	sql/sql_parse.cc
      	sql/sql_partition_admin.cc
      	sql/sql_prepare.cc
      	sql/sql_repl.cc
      	sql/sql_table.cc
      	sql/sql_yacc.yy
      e9a20826
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 287d1053
      Marko Mäkelä authored
      287d1053
    • Marko Mäkelä's avatar
      MDEV-14059 Work around a problem exposed by InnoDB GIS debug check · 9c9db1cb
      Marko Mäkelä authored
      row_sel_get_clust_rec_for_mysql(): Look up the page from the
      buffer pool, similar to how MySQL 5.7 does it.
      9c9db1cb
    • Aleksey Midenkov's avatar
      Tests: detect table count for some encryption tests · d9e0c06b
      Aleksey Midenkov authored
      debug_key_management
      encrypt_and_grep
      innodb_encryption
      
      If real table count is different from what is expected by the test, it
      just hangs on waiting to fulfill hardcoded number. And then exits with
      **failed** after 10 minutes of wait: quite unfriendly and hard to
      figure out what's going on.
      d9e0c06b
  4. 04 Jan, 2018 8 commits
    • Marko Mäkelä's avatar
      Merge branch 10.1 into 10.2 · c8e63644
      Marko Mäkelä authored
      c8e63644
    • Marko Mäkelä's avatar
      Merge 10.0 into 10.1 · 21470de1
      Marko Mäkelä authored
      21470de1
    • Marko Mäkelä's avatar
      4496fd71
    • Marko Mäkelä's avatar
      MDEV-14057 InnoDB GIS tests fail · 8dc77a72
      Marko Mäkelä authored
      Fix and enable some of the tests; some remain disabled.
      
      The tests innodb_gis.rtree_old and innodb_gis.row_format
      duplicated some versions of the test main.gis-rtree.
      Instead of duplicating, source that test, in a new test
      innodb_gis.innodb_gis_rtree.
      
      Introduce innodb_row_format.combinations. Due to this,
      ROW_FORMAT=COMPRESSED will not be covered in some tests
      where it is covered in MySQL 5.7.
      8dc77a72
    • Marko Mäkelä's avatar
      MDEV-14058 InnoDB Assertion failure !leaf on rem0rec.cc line 566 on test innodb_gis.rtree_recovery · 218dbf68
      Marko Mäkelä authored
      The function rtr_update_mbr_field_in_place() is generating
      MLOG_REC_UPDATE_IN_PLACE or MLOG_COMP_REC_UPDATE_IN_PLACE records
      on non-leaf pages, even though MLOG_WRITE_STRING would perfectly
      suffice for updating a fixed-length data field.
      
      btr_cur_parse_update_in_place(): If flags==7, the record may be
      from rtr_update_mbr_field_in_place(), and we must check if the
      page is a leaf page. Otherwise, assume that it is.
      
      btr_cur_update_in_place(): Assert that the page is a leaf page.
      218dbf68
    • Daniel Bartholomew's avatar
      bump the VERSION · 0f253d3e
      Daniel Bartholomew authored
      0f253d3e
    • Monty's avatar
      Fixed wrong arguments to printf and related functions · 5e0b13d1
      Monty authored
      Other things, mainly to get
      create_mysqld_error_find_printf_error tool to work:
      
      - Added protection to not include mysqld_error.h twice
      - Include "unireg.h" instead of "mysqld_error.h" in server
      - Added protection if ER_XX messages are already defined
      - Removed wrong calls to my_error(ER_OUTOFMEMORY) as
        my_malloc() and my_alloc will do this automatically
      - Added missing %s to ER_DUP_QUERY_NAME
      - Removed old and wrong calls to my_strerror() when using
        MY_ERROR_ON_RENAME (wrong merge)
      - Fixed deadlock error message from Galera. Before the extra
        information given to ER_LOCK_DEADLOCK was missing because
        ER_LOCK_DEADLOCK doesn't provide any extra information.
      
      I kept #ifdef mysqld_error_find_printf_error_used in sql_acl.h
      to make it easy to do this kind of check again in the future
      5e0b13d1
    • Sergei Petrunia's avatar
      Fix out-of-date comments. · c584a496
      Sergei Petrunia authored
      c584a496
  5. 03 Jan, 2018 12 commits
  6. 02 Jan, 2018 10 commits