1. 22 Jan, 2014 1 commit
  2. 21 Jan, 2014 2 commits
  3. 22 Jan, 2014 1 commit
    • Michael Widenius's avatar
      Fix for MDEV-5547: Bad error message when moving very old .frm files to MariaDB 5.5. · d367ad31
      Michael Widenius authored
      mysql_upgrade --help now also prints out --default options and variable values.
      mysql_upgrade now prints permission errors.
      mysql_upgrade doesn't print some non essential info if --silent is used.
      Added handler error message about incompatible versions
      Fixed that mysqlbug and mysql_install_db have the executable flag set.
      Removed executable flag for some non executable files.
      Changed in mysql_install_db askmonty.org to mariadb.com.
      Ensured that all client executables prints --default options the same way.
      Allow REPAIR ... USE_FRM for old .frm files if the are still compatible.
      Extended shown error for storage engine messages.
      
      
      client/mysql.cc:
        print_defaults() should be first (as in all other programs)
      client/mysql_upgrade.c:
        --help now also prints out --default options and variable values
        Print out error if wrong permissions
        Don't print info if --silent
      client/mysqladmin.cc:
        print_defaults() should be first (as in all other programs)
      client/mysqlbinlog.cc:
        Added print_defaults() to --help
      client/mysqlcheck.c:
        Added empty line in --help
      client/mysqlimport.c:
        Added empty line in --help
      client/mysqlshow.c:
        Made --help compatible
      client/mysqlslap.c:
        Made --help compatible
      client/mysqltest.cc:
        Added print_defaults() to --help
      include/handler_ername.h:
        Added handler error message
      include/my_base.h:
        Added handler error message
      mysql-test/r/mysql_upgrade.result:
        Updated results
      mysql-test/r/repair.result:
        Added test case for better error messages
      mysql-test/std_data/host_old.MYD:
        Added test case for better error messages
      mysql-test/std_data/host_old.MYI:
        Added test case for better error messages
      mysql-test/std_data/host_old.frm:
        Added test case for better error messages
      mysql-test/t/repair.test:
        Added test case for better error messages
      mysys/my_handler_errors.h:
        Added handler error message
      scripts/CMakeLists.txt:
        Fixed that mysqlbug and mysql_install_db have the executable flag set
      scripts/mysql_install_db.sh:
        askmonty.org -> mariadb.com
      sql/ha_partition.cc:
        Sometimes table_type() can be called for errors even if partition didn't manage to open any files
      sql/handler.cc:
        Write clear text for not handled, but defined error messages.
      sql/share/errmsg-utf8.txt:
        Extended shown error for storage engine messages
      sql/sql_admin.cc:
        Allow REPAIR ... USE_FRM for old .frm files if the are still compatible
      storage/myisam/ha_myisam.cc:
        Use new error message
      d367ad31
  4. 21 Jan, 2014 1 commit
    • Sergey Petrunya's avatar
      MDEV-4974: memory leak in 5.5.32-MariaDB-1~wheezy-log · 14b0c98a
      Sergey Petrunya authored
      - When a JOIN has both "optimization tabs" (JOIN_TABs used to 
        read the base tables and do the join operation) and also
        has "execution tabs" (a JOIN_TAB that is to produce result set 
        that is sent to the client), do not forget to call JOIN_TAB::cleanup()
        for the execution JOIN_TAB.
      14b0c98a
  5. 15 Jan, 2014 1 commit
  6. 13 Jan, 2014 1 commit
  7. 05 Jan, 2014 1 commit
    • Michael Widenius's avatar
      Don't writing entries to slave log about binlog_checksum not existing on... · 83e46bb7
      Michael Widenius authored
      Don't writing entries to slave log about binlog_checksum not existing on master if log_warnings is <=1.
      
      This solves the issue of getting a lot of unnecessary errors logged on the slave when connecting to MySQL or an old MariaDB version.
      
      
      sql/slave.cc:
        Don't write that binlog_checksum doesn't exists on the master if log_warnings <= 1
      83e46bb7
  8. 02 Jan, 2014 1 commit
    • Michael Widenius's avatar
      Fixed MDEV-5424: SELECT using ORDER BY DESC and LIMIT produces unexpected results (InnoDB/XtraDB) · cb9e34aa
      Michael Widenius authored
      This only happend when using an ORDER BY on a primary key part, where all other key parts where constant.
      Remove of duplicated expressions in ORDER BY (as the old code did this in some strange cases)
      
      
      mysql-test/r/group_by.result:
        Fixed results to take into account that duplicate order by parts are now deleted
      mysql-test/r/group_by_innodb.result:
        Ensure extended keys are on
      mysql-test/r/innodb_ext_key.result:
        More tests
      mysql-test/r/order_by.result:
        More tests
      mysql-test/t/group_by.test:
        Fixed results to take into account that duplicate order by parts are now deleted
      mysql-test/t/group_by_innodb.test:
        Ensure extended keys are on
      mysql-test/t/innodb_ext_key.test:
        More tests
      mysql-test/t/order_by.test:
        More tests
      sql/sql_select.cc:
        Fixed bug where we looked at extended key parts when we shouldn't
        Remove of duplicated expressions in ORDER BY
      sql/table.cc:
        Indentation fixes
      cb9e34aa
  9. 30 Dec, 2013 1 commit
  10. 18 Dec, 2013 1 commit
  11. 17 Dec, 2013 2 commits
  12. 15 Dec, 2013 2 commits
  13. 13 Dec, 2013 1 commit
  14. 12 Dec, 2013 5 commits
  15. 11 Dec, 2013 2 commits
  16. 07 Dec, 2013 1 commit
  17. 06 Dec, 2013 1 commit
  18. 05 Dec, 2013 2 commits
    • Igor Babaev's avatar
      Merge · 40976bc8
      Igor Babaev authored
      40976bc8
    • Igor Babaev's avatar
      Fixed bug mdev-5382 · 03353df0
      Igor Babaev authored
      When marking used columns the function find_field_in_table_ref() erroneously
      called the walk method for the real item behind a view/derived table field
      with the second parameter set to TRUE.
      This erroneous code was introduced in 2006. 
      03353df0
  19. 04 Dec, 2013 1 commit
  20. 03 Dec, 2013 1 commit
  21. 02 Dec, 2013 2 commits
  22. 01 Dec, 2013 1 commit
  23. 29 Nov, 2013 1 commit
  24. 27 Nov, 2013 3 commits
  25. 25 Nov, 2013 1 commit
  26. 22 Nov, 2013 2 commits
  27. 21 Nov, 2013 1 commit
    • Igor Babaev's avatar
      Another attempt to fix bug mdev-5103. · d7cb7331
      Igor Babaev authored
      The earlier pushed fix for the bug was incomplete. It did not remove
      the main cause of the problem: the function remove_eq_conds()
      removed always true multiple equalities from any conjunct, but did not
      adjust the list of them stored in Item_cond_and::cond_equal.current_level.
      
      Simplified the test case for the bug and moved it to another test file.
      
      The fix triggered changes in EXPLAIN EXTENDED for some queries. 
      d7cb7331