1. 03 Dec, 2009 1 commit
    • Michael Widenius's avatar
      Merge with maria-5.1-federatedx; A patch to fix bugs in federatedx and enable federated_server.test · 82e910d1
      Michael Widenius authored
      Author: Antony Curtis
      License: BSD
      
      
      client/mysql.cc:
        Reset variable if CTRL-C was used to kill running query, so that the user can do it again
      client/mysqlcheck.c:
        Indentation fix
      client/mysqlslap.c:
        Indentation fixes
      client/mysqltest.cc:
        Make testing of commands safer by also testing length
        Removed not used variable
        Fixed indentation to be as it was before last patch
      mysql-test/lib/mtr_report.pm:
        Fixed typo
      mysql-test/mysql-test-run.pl:
        Merge (Align code with default mysql-tes-run.pl)
      mysql-test/suite/federated/disabled.def:
        Removed test case
      storage/federatedx/ha_federatedx.cc:
        Removed my changes and applied Antony's instead
      82e910d1
  2. 30 Nov, 2009 1 commit
  3. 27 Nov, 2009 1 commit
    • unknown's avatar
      After-merge fixes for MySQL 5.1.41 merge into MariaDB: more fixes for Buildbot problems. · 84911a9f
      unknown authored
      mysql-test/mysql-test-run.pl:
        Manually apply similar patch to the one in Bug#47983.
      mysql-test/suite/rpl/r/rpl_temporary_errors.result:
        Fix wrong failure with warning in error log due to per-test suppressions
        not being active during server shutdown.
      mysql-test/suite/rpl/t/rpl_temporary_errors.test:
        Fix wrong failure with warning in error log due to per-test suppressions
        not being active during server shutdown.
      sql/sql_select.cc:
        Manually cherry-pick fix for Bug#45989.
        For some reason, that fix was reverted in MySQL 5.1, even though it is
        necessary to plug the memory leak.
      84911a9f
  4. 26 Nov, 2009 3 commits
  5. 25 Nov, 2009 2 commits
  6. 24 Nov, 2009 2 commits
    • unknown's avatar
      After-merge fixes for MySQL 5.1.41 merge: PBXT result file updates. · 0a656680
      unknown authored
      mysql-test/suite/pbxt/r/func_group.result:
        Result file update.
      mysql-test/suite/pbxt/r/grant.result:
        Use --sorted_result
      mysql-test/suite/pbxt/r/group_min_max.result:
        Result file update.
      mysql-test/suite/pbxt/r/join_nested.result:
        Result file update.
      mysql-test/suite/pbxt/r/negation_elimination.result:
        Result file update.
      mysql-test/suite/pbxt/r/ps_grant.result:
        Use --sorted_result
      mysql-test/suite/pbxt/r/skip_grants.result:
        Result file update.
      mysql-test/suite/pbxt/r/subselect.result:
        Adjust test case following error message change due to fix of Bug#48293
      mysql-test/suite/pbxt/r/view_grant.result:
        Result file update.
      mysql-test/suite/pbxt/t/grant.test:
        Use --sorted_result
      mysql-test/suite/pbxt/t/ps_grant.test:
        Use --sorted_result
      mysql-test/suite/pbxt/t/subselect.test:
        Adjust test case following error message change due to fix of Bug#48293
      0a656680
    • unknown's avatar
      After-merge fix for MySQL 5.1.41 merge: suppress some warnings during shutdown. · fc2f3176
      unknown authored
      The MySQL 5.1.41 merge adds back some more warning lines in error log to be
      checked. So some suppressions for these new ones need to be added to the code
      in MariaDB that checks for warnings during server shutdown (MySQL only checks
      for warnings that occur while executing the test cases themselves).
      fc2f3176
  7. 23 Nov, 2009 1 commit
    • unknown's avatar
      After-merge fixes for MySQL 5.1.41 merge into MariaDB. · e5203306
      unknown authored
      Makefile.am:
        Fix incorrect automerges.
      mysql-test/mysql-test-run.pl:
        Fix bad merge.
        We revert some of the MySQL-side changes, as the problem is that they may accidentally ignore some warnings in mysqld.err that should be reported.
        Also remove some differences between MySQL and MariaDB where there is no semantic difference (to make future merges easier).
      e5203306
  8. 18 Nov, 2009 1 commit
  9. 16 Nov, 2009 3 commits
    • unknown's avatar
      d70904c7
    • unknown's avatar
      Corrected a line from the patch for table elimination (WL#17) · efa74c7d
      unknown authored
      to fix a problem with the test case for bug#42116. 
      
      Re-commit of Igor's fix due to re-commit of MySQL 5.1.41 merge.
      efa74c7d
    • unknown's avatar
      Merge with MySQL 5.1, with following additions: · a962160e
      unknown authored
      - Moved some code from innodb_plugin to xtradb, to ensure that all tests runs
      - Did changes in pbxt and maria storage engines becasue of changes in thd->query
      - Reverted wrong code in sql_table.cc for how ROW_FORMAT is used.
      
      This is a re-commit of Monty's merge to eliminate an extra commit from
      MySQL-5.1.42 that was accidentally included in the merge.
      
      This is a merge of the MySQL 5.1.41 clone-off (clone-5.1.41-build). In
      case there are any extra changes done before final MySQL 5.1.41
      release, these will need to be merged later before MariaDB 5.1.41
      release.
      a962160e
  10. 14 Nov, 2009 2 commits
  11. 12 Nov, 2009 1 commit
  12. 11 Nov, 2009 1 commit
    • Michael Widenius's avatar
      Merge with MySQL 5.1, with following additions: · edd792fe
      Michael Widenius authored
      - Moved some code from innodb_plugin to xtradb, to ensure that all tests runs
      - Did changes in pbxt and maria storage engines becasue of changes in thd->query
      - Reverted wrong code in sql_table.cc for how ROW_FORMAT is used.
      
      Todo before joining with main 5.1 tree:
      - Join test fails (Igor to investigate)
      - mysql-test-run shows warnings from tests; Some suppression rule is not working (Kristian to investiage)
      - Run through all buildbots
      
      
      
      sql/sql_table.cc:
        Reverted code for ROW_FORMAT is used. We must set the HA_CREATE_USED_ROW_FORMAT flag in alter table
        to signal the handler that it should not change row_type in update_create_info() (as happens for SHOW CREATE).
      storage/maria/ha_maria.cc:
        Update for change in defintion of thd->query
      storage/myisam/mi_check.c:
        Simplify code
      storage/pbxt/src/discover_xt.cc:
        Update for change in defintion of thd->query
      storage/xtradb/dict/dict0dict.c:
        Update for change in defintion of thd->query
      storage/xtradb/handler/ha_innodb.cc:
        Copy some critical changes from innodb_plugin to get tests to pass
      storage/xtradb/handler/ha_innodb.h:
        Copy some critical changes from innodb_plugin to get tests to pass
      storage/xtradb/handler/handler0alter.cc:
        Copy some critical changes from innodb_plugin to get tests to pass
      edd792fe
  13. 07 Nov, 2009 2 commits
  14. 06 Nov, 2009 2 commits
  15. 05 Nov, 2009 2 commits
  16. 04 Nov, 2009 7 commits
  17. 03 Nov, 2009 8 commits
    • Davi Arnaut's avatar
      Automerge. · cca9eeb6
      Davi Arnaut authored
      cca9eeb6
    • Davi Arnaut's avatar
      69859d8d
    • Konstantin Osipov's avatar
      A fix and a test case for · cb0cca86
      Konstantin Osipov authored
      Bug#41756 "Strange error messages about locks from InnoDB".
            
      In JT_EQ_REF (join_read_key()) access method, 
      don't try to unlock rows in the handler, unless certain that 
      a) they were locked
      b) they are not used.
      
      Unlocking of rows is done by the logic of the nested join loop,
      and is unaware of the possible caching that the access method may
      have. This could lead to double unlocking, when a row
      was unlocked first after reading into the cache, and then 
      when taken from cache, as well as to unlocking of rows which
      were actually used (but taken from cache).
            
      Delegate part of the unlocking logic to the access method,
      and in JT_EQ_REF count how many times a record was actually 
      used in the join. Unlock it only if it's usage count is 0.
      
      Implemented review comments.
      
      mysql-test/r/innodb_lock_wait_timeout_1.result:
        Update results (Bug41756).
      mysql-test/t/innodb_lock_wait_timeout_1.test:
        Add a test case (Bug#41756).
      sql/item_subselect.cc:
        Complete struct READ_RECORD initialization with a new
        member to unlock records.
      sql/records.cc:
        Extend READ_RECORD API with a method to unlock read records.
      sql/sql_select.cc:
        In JT_EQ_REF (join_read_key()) access method, 
        don't try to unlock rows in the handler, unless certain that 
        a) they were locked
        b) they are not used.
      sql/sql_select.h:
        Add members to TABLE_REF to count TABLE_REF buffer usage count.
      sql/structs.h:
        Update declarations.
      cb0cca86
    • Magnus Blåudd's avatar
      Merge bug#47867 to 5.1-bugteam · 7b7f0149
      Magnus Blåudd authored
      7b7f0149
    • Konstantin Osipov's avatar
      A fix and a test case for · 06c9d62a
      Konstantin Osipov authored
      Bug#41756 "Strange error messages about locks from InnoDB".
      
      In JT_EQ_REF (join_read_key()) access method,
      don't try to unlock rows in the handler, unless certain that
      a) they were locked
      b) they are not used.
      
      Unlocking of rows is done by the logic of the nested join loop,
      and is unaware of the possible caching that the access method may
      have. This could lead to double unlocking, when a row
      was unlocked first after reading into the cache, and then
      when taken from cache, as well as to unlocking of rows which
      were actually used (but taken from cache).
      
      Delegate part of the unlocking logic to the access method,
      and in JT_EQ_REF count how many times a record was actually
      used in the join. Unlock it only if it's usage count is 0.
      
      Implemented review comments.
      
      
      mysql-test/r/bug41756.result:
        Add result file (Bug#41756)
      mysql-test/t/bug41756-master.opt:
        Use --innodb-locks-unsafe-for-binlog, as in 5.0 just
        using read_committed isolation is not sufficient to 
        reproduce the bug.
      mysql-test/t/bug41756.test:
        Add a test file (Bug#41756)
      sql/item_subselect.cc:
        Complete struct READ_RECORD initialization with a new
        member to unlock records.
      sql/records.cc:
        Extend READ_RECORD API with a method to unlock read records.
      sql/sql_select.cc:
        In JT_EQ_REF (join_read_key()) access method,
        don't try to unlock rows in the handler, unless certain that
        a) they were locked
        b) they are not used.
      sql/sql_select.h:
        Add members to TABLE_REF to count TABLE_REF buffer usage count.
      sql/structs.h:
        Update declarations.
      06c9d62a
    • Kristofer Pettersson's avatar
      automerge · cafe3c7f
      Kristofer Pettersson authored
      cafe3c7f
    • Kristofer Pettersson's avatar
    • Sergey Vojtovich's avatar
      Merge of innodb-zip-ss6129 snapshot. · 0212e736
      Sergey Vojtovich authored
      0212e736