1. 17 Feb, 2014 1 commit
  2. 13 Feb, 2014 1 commit
    • Sergey Vojtovich's avatar
      MDEV-5616 - Deadlock between CREATE/DROP FUNCTION and SELECT from view · e2a99f18
      Sergey Vojtovich authored
      Deadlock happened due to mixed lock order.
      CREATE/DROP function: wrlock(THR_LOCK_udf) -> lock(LOCK_open)
      SELECT from view: lock(LOCK_open) -> rdlock(THR_LOCK_udf)
      
      Fixed CREATE/DROP function so that LOCK_open does not intersect with
      wrlock(THR_LOCK_udf).
      
      10.0 is not affected: it doesn't hold LOCK_open while opening view.
      e2a99f18
  3. 12 Feb, 2014 1 commit
  4. 11 Feb, 2014 9 commits
  5. 10 Feb, 2014 1 commit
  6. 08 Feb, 2014 1 commit
  7. 07 Feb, 2014 3 commits
  8. 06 Feb, 2014 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-5468. · 5b441013
      Igor Babaev authored
      The field JOIN::select_lex->where should be updated after the call
      of remove_eq_conds() in the function make_join_statistics(). This
      matters for subselects.
      5b441013
  9. 05 Feb, 2014 1 commit
  10. 31 Jan, 2014 1 commit
  11. 28 Jan, 2014 9 commits
  12. 27 Jan, 2014 5 commits
  13. 26 Jan, 2014 6 commits
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      workaround test failures in buildbot: · 8ece9de8
      Sergei Golubchik authored
      in some VMs readline thinks that the window size is zero. ignore it.
      8ece9de8
    • Sergei Golubchik's avatar
      MDEV-5461 Assertion `length <= column->length' fails in write_block_record... · 90e22408
      Sergei Golubchik authored
      MDEV-5461 Assertion `length <= column->length' fails in write_block_record with functions in select list, GROUP BY, ORDER BY
      
      Old code in create_tmp_table(), that created an extra one-byte field (recinfo)
      before every NULL-able grouping field (Field) in the tmp table, did not actually work.
      Because the matching code in end_update(), that was supposed to update this byte,
      was using a wrong offset, updating the first byte of the Field, not a byte before it.
      Normally this wasn't an issue, because the Field value (written later in end_update)
      was overwriting this byte anyway. But in this bug the Field was Field_null, with zero
      length, so end_update() was overwriting the first byte of the following field.
      And the following field was not-nullable constant, which was stored only once in
      create_tmp_table and never updated later.
      
      Fixed by removing the code that didn't do any useful work anyway.
      90e22408
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      0df3c203
    • Michael Widenius's avatar
      Fix for MDEV-5168: MariaDB returns warnings for INSERT IGNORE · 68028887
      Michael Widenius authored
      Added variable "OLD_MODE" that can be used to turn off the new behavior
      
      mysql-test/r/insert.result:
        Added test case
      mysql-test/r/mysqld--help.result:
        Added old_mode
      mysql-test/suite/sys_vars/r/old_mode_basic.result:
        Added testing of new variable
      mysql-test/suite/sys_vars/t/old_mode_basic.test:
        Added testing of new variable
      mysql-test/t/insert.test:
        Added test case
      sql/sql_class.h:
        Added bit flags for OLD_MODE
      sql/sql_insert.cc:
        Disable duplicate key warnings for INSERT IGNORE of OLD_MODE NO_DUP_KEY_WARNINGS_WITH_IGNORE is used
      sql/sql_show.cc:
        Don't show progress reporting on SHOW PROCESSLIST if OLD_MODE NO_PROGRESS_INFO is used
      sql/sys_vars.cc:
        Added OLD_MODE
      68028887