1. 03 Feb, 2014 1 commit
  2. 02 Feb, 2014 3 commits
  3. 01 Feb, 2014 7 commits
  4. 31 Jan, 2014 3 commits
  5. 29 Jan, 2014 2 commits
  6. 28 Jan, 2014 12 commits
  7. 27 Jan, 2014 5 commits
  8. 26 Jan, 2014 7 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
    • Michael Widenius's avatar
      Fixed that setup_natural_join_row_types can safely be called twice · fb018850
      Michael Widenius authored
      sql/item.h:
        Added cache for setup_natural_join_row_types
      sql/sql_base.cc:
        Cache old value of first_name_resolution_table for next call.
        (It's not safe to try to recalculate the value as the join structure may have been changed by the optimizer)
      fb018850