1. 27 Sep, 2012 1 commit
    • Sergei Golubchik's avatar
      fixes for test failures · 474fe6d9
      Sergei Golubchik authored
      and small collateral changes
      
      mysql-test/lib/My/Test.pm:
        somehow with "print" we get truncated writes sometimes
      mysql-test/suite/perfschema/r/digest_table_full.result:
        md5 hashes of statement digests differ, because yacc token codes are different in mariadb
      mysql-test/suite/perfschema/r/dml_handler.result:
        host table is not ported over yet
      mysql-test/suite/perfschema/r/information_schema.result:
        host table is not ported over yet
      mysql-test/suite/perfschema/r/nesting.result:
        this differs, because we don't rewrite general log queries, and multi-statement
        packets are logged as a one entry. this result file is identical to what mysql-5.6.5
        produces with the --log-raw option.
      mysql-test/suite/perfschema/r/relaylog.result:
        MariaDB modifies the binlog index file directly, while MySQL 5.6 has a feature "crash-safe binlog index" and modifies a special "crash-safe" shadow copy of the index file and then moves it over. That's why this test shows "NONE" index file writes in MySQL and "MANY" in MariaDB.
      mysql-test/suite/perfschema/r/server_init.result:
        MariaDB initializes the "manager" resources from the "manager" thread, and starts this thread only when --flush-time is not 0. MySQL 5.6 initializes "manager" resources unconditionally on server startup.
      mysql-test/suite/perfschema/r/stage_mdl_global.result:
        this differs, because MariaDB disables query cache when query_cache_size=0. MySQL does not
        do that, and this causes useless mutex locks and waits.
      mysql-test/suite/perfschema/r/statement_digest.result:
        md5 hashes of statement digests differ, because yacc token codes are different in mariadb
      mysql-test/suite/perfschema/r/statement_digest_consumers.result:
        md5 hashes of statement digests differ, because yacc token codes are different in mariadb
      mysql-test/suite/perfschema/r/statement_digest_long_query.result:
        md5 hashes of statement digests differ, because yacc token codes are different in mariadb
      mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result:
        will be updated to match 5.6 when alfranio.correia@oracle.com-20110512172919-c1b5kmum4h52g0ni and anders.song@greatopensource.com-20110105052107-zoab0bsf5a6xxk2y are merged
      mysql-test/suite/rpl/r/rpl_non_direct_mixed_mixing_engines.result:
        will be updated to match 5.6 when anders.song@greatopensource.com-20110105052107-zoab0bsf5a6xxk2y is merged
      474fe6d9
  2. 15 Sep, 2012 1 commit
  3. 31 Aug, 2012 1 commit
  4. 30 Aug, 2012 2 commits
  5. 25 Aug, 2012 1 commit
    • Alexey Botchkov's avatar
      SQL syntax extended with START TRANSACTION READ ONLY|READ WRITE · d99b8004
      Alexey Botchkov authored
      and SET TRANSACTION READ ONLT|READ WRITE
      statements.
      
      
      per-file comments:
        mysql-test/include/check-warnings.test
              READ ONLY transaction flag cleaned.
        mysql-test/r/commit.result
              result updated
        mysql-test/r/read_only.result
              result updated
        mysql-test/t/commit.test
              tests added.
        mysql-test/t/read_only.test
              tests added
        sql/lex.h
              ONLY symbol added.
        sql/sql_base.cc
              DBUG_RETURN added.
        sql/sql_parse.cc
              implementations added.
        sql/sql_yacc.yy
              SQL syntax extended.
        storage/perfschema/gen_pfs_lex_token
              changes forced by lex.h
        storage/perfschema/pfs_lex_token.h
              changes forced by lex.h
      d99b8004
  6. 22 Aug, 2012 1 commit
  7. 17 Aug, 2012 1 commit
  8. 14 Aug, 2012 1 commit
  9. 07 Aug, 2012 1 commit
  10. 01 Aug, 2012 2 commits
  11. 06 Jul, 2012 2 commits
    • Michael Widenius's avatar
      Fixed wrong error codes from InnoDB/XtraDB that caused %M to give system... · 5a86a612
      Michael Widenius authored
      Fixed wrong error codes from InnoDB/XtraDB that caused %M to give system dependent error messages (for unknown error code)
      - InnoDB now returns handler specific HA_WRONG_CREATE_OPTION instead of MySQL specific ER_ILLEGAL_HA_CREATE_OPTION
      - This changes the user level error message from "Unknown error" to "Wrong create options"
      
      
      mysql-test/r/lowercase_table2.result:
        Updated result file
      mysql-test/r/partition_innodb_plugin.result:
        Updated to new error message
      mysql-test/r/partition_open_files_limit.result:
        Updated result file
      mysql-test/r/row-checksum-old.result:
        Updated to new error message
      mysql-test/r/row-checksum.result:
        Updated to new error message
      mysql-test/r/symlink.result:
        Updated result file
      mysql-test/suite/innodb/r/innodb-create-options.result:
        Updated to new error message
      mysql-test/suite/innodb/r/innodb-zip.result:
        Updated to new error message
      mysql-test/suite/innodb/r/innodb.result:
        Updated to new error message
      storage/innobase/handler/ha_innodb.cc:
        Return HA_WRONG_CREATE_OPTION instead of ER_ILLEGAL_HA_CREATE_OPTION
        This gives more clear and OS indepedent error messages
      storage/xtradb/handler/ha_innodb.cc:
        Return HA_WRONG_CREATE_OPTION instead of ER_ILLEGAL_HA_CREATE_OPTION
        This gives more clear and OS indepedent error messages
      5a86a612
    • Michael Widenius's avatar
      Fixed compiler warnings · f27c26e9
      Michael Widenius authored
      client/mysqltest.cc:
        Added cast
      plugin/feedback/utils.cc:
        Added #ifdef
      sql/sql_select.cc:
        Added cast
      sql/sys_vars.h:
        Changed limits to int
      support-files/compiler_warnings.supp:
        Added suppression
      f27c26e9
  12. 27 Jun, 2012 3 commits
    • Michael Widenius's avatar
      Automatic merge with 5.5 · 69b81775
      Michael Widenius authored
      Fixed failing test case
      69b81775
    • Michael Widenius's avatar
      automatic merge with 5.5 · aa67a198
      Michael Widenius authored
      aa67a198
    • Michael Widenius's avatar
      Don't abort InnoDB/XtraDB if one can't allocate resources for AIO · 44d8fe96
      Michael Widenius authored
      - Better error messages
      
      This fixes that one again can run the test systems with many threads without having to increase fs.aio-max-nr.
      
      
      mysql-test/include/mtr_check.sql:
        Ignore the INNODB_USE_NATIVE_AIO variable (may change during execution)
      mysql-test/mysql-test-run.pl:
        Ignore warnings for failure to setup AIO
      storage/innobase/os/os0file.c:
        Continue without AIO even if we can't allocate resources for AIO
      storage/xtradb/os/os0file.c:
        Continue without AIO even if we can't allocate resources for AIO
      storage/xtradb/srv/srv0start.c:
        Give an error message (instead of core dump) if AIO can't be initialized
      44d8fe96
  13. 25 Jun, 2012 1 commit
  14. 24 Jun, 2012 1 commit
  15. 23 Jun, 2012 3 commits
  16. 22 Jun, 2012 2 commits
  17. 21 Jun, 2012 7 commits
  18. 20 Jun, 2012 7 commits
  19. 19 Jun, 2012 2 commits
    • unknown's avatar
      Merged the fix for bug lp:944706, mdev-193 · 0b93b444
      unknown authored
      0b93b444
    • Igor Babaev's avatar
      Fixed bug mdev-354. · 0c69f220
      Igor Babaev authored
      Virtual columns of ENUM and SET data types were not supported properly
      in the original patch that introduced virtual columns into MariaDB 5.2.
      The problem was that for any  virtual column the patch used the 
      interval_id field of the definition of the column in the frm file as
      a reference to the virtual column expression.
      The fix stores the optional interval_id of the virtual column in the
      extended header of the virtual column expression. 
      0c69f220