1. 17 Oct, 2017 6 commits
    • Sergei Golubchik's avatar
      MDEV-13937 Aria engine: Internal Error 160 after partition handling · b036b6b5
      Sergei Golubchik authored
      Partition wasn't setting HA_OPTION_PACK_RECORD on ALTER TABLE
      if the row format was PAGE.
      
      (so one bit in the null bitmap was reserved for a deleted bit -
      see make_empty_rec - and all actual null bits were one off)
      b036b6b5
    • Sergei Golubchik's avatar
      MDEV-14056 DROP TEMPORARY TABLE IF EXISTS causes error 1290 with read_only option · 19a702a8
      Sergei Golubchik authored
      if it's a DROP TABLE, we cannot detect whether a table is
      temporary by looking in thd->temporary_tables - because the
      table might simply not exist at all.
      19a702a8
    • Sergei Golubchik's avatar
      MDEV-13912 Can't refer the same column twice in one ALTER TABLE · 42171639
      Sergei Golubchik authored
      backport ce6c0e58
      
      MDEV-8960: Can't refer the same column twice in one ALTER TABLE
      
      Problem was that if column was created in alter table when
      it was refered again it was not tried to find from list
      of current columns.
      
      mysql_prepare_alter_table:
        There is two cases
          (1) If alter table adds a new column and then later alter
              changes the field definition, there was no check from
      	list of new columns, instead an incorrect error was given.
          (2) If alter table adds a new column and then later alter
              changes the default, there was no check from list of
      	new columns, instead an incorrect error was given.
      42171639
    • Sergei Golubchik's avatar
      MDEV-13440 mysql_install_db fails with hard-coded langdir · 93144b9e
      Sergei Golubchik authored
      always search in compile-time specified paths
      INSTALL_BINDIR, INSTALL_SBINDIR, INSTALL_MYSQLSHAREDIR. User
      can set them to arbitrary values, it's not enough to search only
      in their usual values of bin, sbin and libexec, share and share/mysql.
      93144b9e
    • Sergei Golubchik's avatar
      cleanup mysql_install_db · 52516706
      Sergei Golubchik authored
      1. detect resolveip location, don' assume it's in $basedir/bin
      2. don't guess $scriptdir to (incorrectly) construct the $0 path
      3. rename find_in_basedir -> find_in_dirs, don't prepend $basedir
         automatically. This allows to use identical path lists in
         find_in_dirs and in cannot_find_file.
      4. move search path lists to CMakeLists.txt to avoid specifying the
         same path list twice (in find_in_dirs and in cannot_find_file).
      52516706
    • Sergei Golubchik's avatar
      MDEV-13459 Warnings, when compiling with gcc-7.x · d76f5774
      Sergei Golubchik authored
      mostly caused by -Wimplicit-fallthrough
      d76f5774
  2. 13 Oct, 2017 6 commits
  3. 10 Oct, 2017 2 commits
  4. 06 Oct, 2017 1 commit
  5. 05 Oct, 2017 1 commit
  6. 02 Oct, 2017 1 commit
    • Marko Mäkelä's avatar
      MDEV-13980 InnoDB fails to discard record lock when discarding an index page · 028d253d
      Marko Mäkelä authored
      btr_cur_pessimistic_delete(): Discard a possible record lock also in
      the case when the record was the only one in the page. Failure to
      do this would corrupt the record lock data structures in a partial
      rollback (ROLLBACK TO SAVEPOINT or rolling back a row operation due
      to some error, such as a duplicate key in a unique secondary index).
      028d253d
  7. 19 Sep, 2017 1 commit
  8. 18 Sep, 2017 2 commits
  9. 18 Aug, 2017 1 commit
  10. 16 Aug, 2017 1 commit
  11. 15 Aug, 2017 1 commit
  12. 09 Aug, 2017 1 commit
  13. 19 Jul, 2017 2 commits
    • Daniel Bartholomew's avatar
      bump the VERSION · c8a0244e
      Daniel Bartholomew authored
      c8a0244e
    • Sachin Setiya's avatar
      MDEV-13065 rpl.rpl_mdev-11092 fails sporadically in buildbot · 76f7aac8
      Sachin Setiya authored
      Problem
      rpl.rpl_mdev-11092 fails in buildbot because after starting slave in
      wait_for_slave_sql_error_and_skip.inc slave is started but there may be
      chances that we have not skipped the last error and Last_SQL_Errno is
      still not zero untill the end of rpl_end.inc , which will compare
      Last_SQL_Errno to 0. So in this this case rpl_mdev-11092 fails.
      
      Solution
      After starting slave in wait_for_slave_sql_error_and_skip.inc we will wait for
      Last_SQL_Errno to become 0.
      76f7aac8
  14. 18 Jul, 2017 12 commits
  15. 17 Jul, 2017 2 commits