mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
cd3047fc89
Added (rewritten) patch from Percona to get extended statistics in slow.log: - Added handling of 'set' variables to set_var.cc. Changed sql_mode to use this - Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined' - Added optional logging to slow log, through log_slow_verbosity, of query plan statistics - Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter - Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow' - Added log-slow-time as synonym for long-query-time Some trivial MyISAM optimizations: - In prepare for drop, flush key blocks - Don't call mi_lock_database if my_disable_locking is used KNOWN_BUGS.txt: Updated file to reflect MariaDB and not the Maria storage engine README: Updated file to reflect MariaDB mysql-test/r/log_slow.result: Test new options for slow query log mysql-test/r/variables.result: Updated result (old version cut of things at 79 characters) mysql-test/t/log_slow.test: Test new options for slow query log sql/Makefile.am: Added log_slow.h sql/event_data_objects.cc: Removed not needed test for enable_slow_log (is done when the flag is tested elsewhere) sql/events.cc: Use the general make_set() function instead of 'symbolic_mode_representation' sql/filesort.cc: Added status for used query plans sql/log.cc: Reset counters if no query_length (from Percona's patch; Not sure if needed, but can do no harm) Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined' Added optional logging to slow log, through log_slow_verbosity, of query plan statistics Fixed wrong test of error condition sql/log_slow.h: Defines and variables for log_slow_verbosity and log_slow_filter sql/mysql_priv.h: Include log_slow.h sql/mysqld.cc: Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow' Added log-slow-time as synonym for long-query-time Added note that one should use log-slow-filter instead of log-slow-admin-statements Updated comment from 'slow_query_log_file' sql/set_var.cc: Added long_slow_time as synonym for long_query_time Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter dded handling of 'set' variables to set_var.cc. Changed sql_mode to use this sql/set_var.h: - Added handling of 'set' variables. Changed sql_mode to use this sql/slave.cc: Use global filter also for slaves sql/sp_head.cc: Simplify saving of general_slow_log state Use the general make_set() function instead of 'symbolic_mode_representation' sql/sql_cache.cc: Added status for used query plans sql/sql_class.cc: Remember/restore query_plan_flags over complex statements sql/sql_class.h: Added variables to handle extended slow log statistics sql/sql_parse.cc: Added status for used query plans Added test for filtering slow_query_log sql/sql_select.cc: Added status for used query plans sql/sql_show.cc: Use the general make_set() function instead of 'symbolic_mode_representation' sql/strfunc.cc: Report first error (not last) if something is wrong in a set Removed compiler warning storage/myisam/mi_extra.c: In prepare for drop, flush key blocks (speed optimization) storage/myisam/mi_locking.c: Don't call mi_lock_database if my_disable_locking is used (speed optimization)
35 lines
1.6 KiB
Text
35 lines
1.6 KiB
Text
This file should contain all know fatal bugs in the Mariadb and the
|
|
Maria storage engine for the last source or binary release. Minor
|
|
bugs, extensions and feature request and bugs found since this release
|
|
can be find in the MariaDB bugs database at:
|
|
https://bugs.launchpad.net/maria and in the MySQL bugs databases at:
|
|
http://bugs.mysql.com/ (category "Maria storage engine").
|
|
|
|
There shouldn't normally be any bugs that affects normal operations in
|
|
any MariaDB release. Still, there are always exceptions and edge cases
|
|
and that's what this file is for.
|
|
|
|
If you have found a bug that is not listed here, please add it to
|
|
http://bugs.launchpad.net/maria so that we can either fix it for next
|
|
release or in the worst case add it here for others to know!
|
|
|
|
IMPORTANT:
|
|
|
|
If you have been using the Maria storage engine with
|
|
MySQL-5.1-Maria-alpha build and upgrading to a newer MariaDB you MUST
|
|
run maria_chk --recover on all your Maria tables. This is because we
|
|
made an incompatible change of how transaction id is stored and old
|
|
transaction id's must be reset!
|
|
|
|
cd mysql-data-directory
|
|
maria_chk --recover */*.MAI
|
|
|
|
As the Maria storage engine is now in beta we will do our best to not
|
|
introduce any incompatible changes in the data format for the Maria
|
|
tables; If this would be ever be needed, we will, if possible, support
|
|
both the old and the new version to make upgrades as easy as possible.
|
|
|
|
Note that for the MariaDB 5.1 release the Maria storage engine is
|
|
classified as 'beta'; It should work, but use it with caution. Please
|
|
report all bugs to https://bugs.launchpad.net/maria so that we can fix
|
|
them!
|