- 27 Aug, 2012 1 commit
-
-
Igor Babaev authored
The function collect_statistics_for_table() when scanning a table did not take into account that the handler function ha_rnd_next could return the code HA_ERR_RECORD_DELETE that should not be considered as an indication of an error. Also fixed a potential memory leak in this function.
-
- 23 Aug, 2012 1 commit
-
-
Igor Babaev authored
With the new code of mysql-5.5 for metadata locking the function unlock_tables_n_open_system_tables_for_write should not explicitly unlock tables for which external locks have been set and should not explicitly reset thd->lock to 0.
-
- 20 Aug, 2012 1 commit
-
-
Igor Babaev authored
RBR should be turned off when an ANALYZE TABLE command is executed.
-
- 19 Aug, 2012 1 commit
-
-
Igor Babaev authored
returned an error if the list of the specified index names contained the name 'primary'.
-
- 18 Aug, 2012 1 commit
-
-
Igor Babaev authored
-
- 17 Aug, 2012 1 commit
-
-
Igor Babaev authored
The value of system variable use_stat_tables was always reset to 0 ('never') by mistake at the launch of the server.
-
- 14 Aug, 2012 1 commit
-
-
Igor Babaev authored
-
- 09 Aug, 2012 2 commits
-
-
Sergei Golubchik authored
two items didn't do that properly, one was exploitable, the other was not, but fixed anyway.
-
Sergei Golubchik authored
manually checked every change, reverted incorrect or stupid changes.
-
- 08 Aug, 2012 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
remove unused mtr option
-
- 06 Aug, 2012 1 commit
-
-
Michael Widenius authored
sql/log.h: Fixed compiler warnings reported for gcc 2.7.1 storage/xtradb/handler/ha_innodb.cc: Remove not used variables
-
- 01 Aug, 2012 1 commit
-
-
Sergei Golubchik authored
When appliying parent combinations to the overlay, filter them through the %skip_combinations using the overlayed filename
-
- 02 Aug, 2012 3 commits
-
-
Vladislav Vaintroub authored
-
Elena Stepanova authored
Post-merge fixes for mismatches that only affect 5.5 (but not 5.3)
-
Elena Stepanova authored
-
- 01 Aug, 2012 1 commit
-
-
Elena Stepanova authored
Following reasons caused mismatches: - different handling of invalid values; - different CAST results with fractional seconds; - microseconds support in MariaDB; - different algorithm of comparing temporal values; - differences in error and warning texts and codes; - different approach to truncating datetime values to time; - additional collations; - different record order for queries without ORDER BY; - MySQL bug#66034. More details in MDEV-369 comments.
-
- 31 Jul, 2012 6 commits
-
-
Sergei Golubchik authored
make CMakeLists.txt to detect if the installed boost can be compiled with the installed compile and specified set of compiler options. Background: even sufficiently new Boost cannot be compiled with the sufficiently old gcc in the presence of -fno-rtti
-
Sergei Golubchik authored
add missing checks to configure.cmake remove dead code and unused HAVE_xxx constants from the sources
-
Sergei Golubchik authored
Don't use ER(xxx) in THD::close_connection(), when current_thd is already reset to NULL. Prefer ER_THD() or ER_DEFAULT() instead.
-
Alexey Botchkov authored
mysql_rm_table_no_locks() function was modified. When we construct log record for the DROP TABLE, now we look if there's a comment before the first table name and add it to the record if so. per-file comments: sql/sql_table.cc MDEV-340 Save replication comments for DROP TABLE. comment_length() function implemented to find comments in the query, call it in mysql_rm_table_no_locks() and use the result to form log record. mysql-test/suite/binlog/r/binlog_drop_if_exists.result MDEV-340 Save replication comments for DROP TABLE. test result updated. mysql-test/suite/binlog/t/binlog_drop_if_exists.test MDEV-340 Save replication comments for DROP TABLE. test case added.
-
Sergei Golubchik authored
Add the check for sys/utsname.h to configure.cmake
-
Igor Babaev authored
-
- 30 Jul, 2012 3 commits
-
-
Vladislav Vaintroub authored
use correct macro for Microsoft compiler. It is _MSC_VER , not _MSV_VER
-
Igor Babaev authored
-
Elena Stepanova authored
Following reasons caused mismatches: - different handling of invalid values; - different CAST results with fractional seconds; - microseconds support in MariaDB; - different algorithm of comparing temporal values; - differences in error and warning texts and codes; - different approach to truncating datetime values to time; - additional collations; - different record order for queries without ORDER BY; - MySQL bug#66034. More details in MDEV-369 comments.
-
- 28 Jul, 2012 1 commit
-
-
Igor Babaev authored
into a separate file stat_tables_par.test because the test cases could not be run with embedded server.
-
- 27 Jul, 2012 2 commits
-
-
Igor Babaev authored
Replaced bzero with memset. Added missing --source include/have_debug_sync.inc into stat_tables.test.
-
Igor Babaev authored
- Moved the definitions of the classes to store data from persistent statistical tables into statistics.h, leaving in other internal data structures only references to the corresponding objects. - Defined class Column_statistics_collected derived from the class Column_statistics. This is a helper class to collect statistics on columns. - Moved references to read statistics to TABLE SHARE, leaving the the reference to the collected statistics in TABLE. - Added a new clone method for the class Field allowing to clone fields attached to table shares. It was was used to create fields for min/max values in the memory of the table share. A lso: - Added procedures to allocate memory for statistical data in the table share memory and in table memory. Also: - Added a test case demonstrating how ANALYZE could work in parallel to collect statistics on different indexes of the same table. - Added a test two demonstrate how two connections working simultaneously could allocate memory for statistical data in the table share memory.
-
- 26 Jul, 2012 1 commit
-
-
Elena Stepanova authored
-
- 25 Jul, 2012 1 commit
-
-
Sergey Petrunya authored
- Make Item_subselect::fix_fields() ignore UNCACHEABLE_EXPLAIN flag when deciding whether the subquery item should be marked as constant.
-
- 24 Jul, 2012 1 commit
-
-
unknown authored
-
- 23 Jul, 2012 1 commit
-
-
Vladislav Vaintroub authored
Fix : use attribute %config(noreplace) for /etc/my.cnf , instead of (automatically generated) %config
-
- 19 Jul, 2012 2 commits
-
-
-
Axel Schwenke authored
-
- 18 Jul, 2012 3 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- index_merge/intersection is unable to work on GIS indexes, because: 1. index scans have no Rowid-Ordered-Retrieval property 2. When one does an index-only read over a GIS index, they do not get the index tuple, because index only contains bounding box of the geometry. This is why key_copy() call crashed. This patch fixes #1, which makes the problem go away. Theoretically, it would be nice to check #2, too, but SE API semantics is not sufficiently precise to do it.
-
- 16 Jul, 2012 2 commits
-
-
unknown authored
-
Elena Stepanova authored
-