1. 27 Aug, 2012 1 commit
  2. 24 Aug, 2012 1 commit
  3. 25 Aug, 2012 1 commit
    • unknown's avatar
      fix for MDEV-367 · 4d2b05b7
      unknown authored
      The problem was that was_null and null_value variables was reset in each reexecution of IN subquery, but engine rerun only for non-constant subqueries.
      
      Fixed checking constant in Item_equal sort.
      Fix constant reporting in Item_subselect.
      4d2b05b7
  4. 24 Aug, 2012 16 commits
  5. 23 Aug, 2012 4 commits
  6. 22 Aug, 2012 9 commits
  7. 21 Aug, 2012 3 commits
    • Sergey Petrunya's avatar
      Better comments · ed06ba34
      Sergey Petrunya authored
      ed06ba34
    • unknown's avatar
      Fix bug mdev-447: Wrong output from the EXPLAIN command of the test case for lp bug #714999 · 80b3f747
      unknown authored
      The fix backports from MWL#182: Explain running statements the logic that
      saves the original JOIN_TAB array of a query plan after optimization. This
      array is later used during EXPLAIN to iterate over the original JOIN plan
      nodes in the cases when this plan could be changed by early subquery
      execution during the optimization phase of the outer query.
      80b3f747
    • Michael Widenius's avatar
      Fix for bug lp:1039277 "Crash in sql_cache.cc". · a45c451e
      Michael Widenius authored
      The crash happend when combining query cache, prepared statements and using a read only cursor.
      
      sql/sql_cache.cc:
        Fixed unlikely error when one adjust query cache size in middle of operation
      sql/sql_cursor.cc:
        Disable query cache when using cursors. This fixed lp:1039277
      tests/mysql_client_test.c:
        Test case for lp:1039277
      a45c451e
  8. 20 Aug, 2012 1 commit
    • Michael Widenius's avatar
      Ensure we don't assert with debug binaries if SHOW INNODB STATUS returns with an error. · 75e8ce6d
      Michael Widenius authored
      
      sql/handler.cc:
        SHOW INNODB STATUS sometimes returns 0 even if it has generated an error.
        This code is here to catch it until InnoDB some day is fixed.
      storage/innobase/handler/ha_innodb.cc:
        Catch at least one of the possible errors from SHOW INNODB STATUS to provide a correct return code.
      storage/xtradb/handler/ha_innodb.cc:
        Catch at least one of the possible errors from SHOW INNODB STATUS to provide a correct return code.
      support-files/my-huge.cnf.sh:
        Fixed typo
      75e8ce6d
  9. 17 Aug, 2012 2 commits
    • unknown's avatar
      ee27b50f
    • Michael Widenius's avatar
      Fixed compiler warnings · 89036b9f
      Michael Widenius authored
      Fixed error in test that caused following tests to fail
      
      extra/yassl/taocrypt/src/dsa.cpp:
        Fixed compiler warning by adding cast
      mysql-test/suite/rpl/t/rpl_start_slave_deadlock_sys_vars.test:
        We have to first test for have_debug_sync to not start master wrongly
      plugin/auth_pam/auth_pam.c:
        Fixed compiler warning
      sql/sys_vars.h:
        Fixed compiler warning (Sys_var_max_user_conn is now signed)
      support-files/compiler_warnings.supp:
        Don't give warnings for auth_pam.c (Tried to fix it by changing the code, but could not find an easy way to do that on solaris)
      89036b9f
  10. 15 Aug, 2012 2 commits
    • Michael Widenius's avatar
      Fixed MDEV-366: Assertion `share->reopen == 1' failed in maria_extra on DROP... · a1bc3936
      Michael Widenius authored
      Fixed MDEV-366: Assertion `share->reopen == 1' failed in maria_extra on DROP TABLE which is locked twice
      
      mysql-test/suite/maria/lock.result:
        Added test case
      mysql-test/suite/maria/lock.test:
        Added test case
      sql/sql_table.cc:
        One can't call HA_EXTRA_FORCE_REOPEN on something that may be opened twice.
        It's safe to remove the call in this case as we will call HA_EXTRA_PREPARE_FOR_DROP for the table anyway.
        (One nice side effect is that drop is a bit faster as we are not flushing the cache to disk before the drop anymore)
      a1bc3936
    • Michael Widenius's avatar
      Fixed MDEV-365 "Got assertion when doing alter table on a partition" · fbe5ac4e
      Michael Widenius authored
      
      mysql-test/r/partition.result:
        Added test case
      mysql-test/t/partition.test:
        Added test case
      sql/sql_partition.cc:
        Do mysql_trans_prepare_alter_copy_data() after all original tables are locked.
        (We don't want to disable transactions for the original tables, that still may be in the cache)
      sql/sql_table.cc:
        Fixed two wrong DBUG_ENTER
      fbe5ac4e