- 31 Jul, 2012 1 commit
-
-
Igor Babaev authored
-
- 30 Jul, 2012 2 commits
-
-
Vladislav Vaintroub authored
use correct macro for Microsoft compiler. It is _MSC_VER , not _MSV_VER
-
Igor Babaev authored
-
- 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.
-
- 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 4 commits
-
-
unknown authored
-
Elena Stepanova authored
-
Elena Stepanova authored
-
Elena Stepanova authored
-
- 13 Jul, 2012 1 commit
-
-
unknown authored
Now partition engine adds underlying tables to the QC and ask underlying tables engine permittion to cache the query and return result of the query. Incorrect QC cleanup in case of table registration failure fixe. Unified interface for myisammrg & partitioned engnes for QC.
-
- 12 Jul, 2012 1 commit
-
-
Vladislav Vaintroub authored
MDEV-393. Remove --loose-pbxt=OFF/loose-skip-pbxt from bootstrapper calls to avoid "unknown parameter" warning
-
- 11 Jul, 2012 2 commits
-
-
Sergei Golubchik authored
fix incorrect merge
-
Igor Babaev authored
platform independent. Adjusted results of funcs_1.is_columns_mysql_embedded.
-
- 10 Jul, 2012 2 commits
-
-
Igor Babaev authored
Now when a table is dropped the statistics on the table is removed from the statistical tables. If the table is altered in such a way that a column is dropped or the type of the column is changed then statistics on the column is removed from the table column_stat. It also triggers removal of the statistics on the indexes who use this column as its component. Added procedures that changes the names of the tables or columns in the statistical tables for. These procedures are used when tables/columns are renamed. Also partly re-factored the code that introduced the persistent statistical tables. Added test cases into statistics.test to cover the new code.
-
Michael Widenius authored
Fixed MDEV-385: mysqltest running with continue-on-error crashes on a non-SQL command producing an error client/mysqltest.cc: Added missing DBUG_VOID_RETURN
-
- 05 Jul, 2012 2 commits
-
-
Sergey Petrunya authored
-
unknown authored
Thanks to Ivoz for pointing this out.
-
- 04 Jul, 2012 1 commit
-
-
Sergey Petrunya authored
- Let QUICK_RANGE_SELECT::init_ror_merged_scan() call quick->reset() only after we've set the column read bitmaps.
-
- 27 Jun, 2012 1 commit
-
-
Michael Widenius authored
- Better error messages This fixes that one again can run the test systems with many threads without having to increase fs.aio-max-nr. mysql-test/include/mtr_check.sql: Ignore the INNODB_USE_NATIVE_AIO variable (may change during execution) mysql-test/mysql-test-run.pl: Ignore warnings for failure to setup AIO storage/innobase/os/os0file.c: Continue without AIO even if we can't allocate resources for AIO storage/xtradb/os/os0file.c: Continue without AIO even if we can't allocate resources for AIO storage/xtradb/srv/srv0start.c: Give an error message (instead of core dump) if AIO can't be initialized
-
- 26 Jun, 2012 3 commits
-
-
unknown authored
TABLE_LIST::check_single_table made aware about fact that now if table attached to a merged view it can be (unopened) temporary table (in 5.2 it was always leaf table or non (in case of several tables)).
-
Igor Babaev authored
-
Igor Babaev authored
mysql.column_stat, mysql.table_stat for the type DECIMAL(12,4). When cached the values from these columns are multiplied by factor 10^5 and stored as ulong numbers now.
-
- 25 Jun, 2012 1 commit
-
-
Vladislav Vaintroub authored
-
- 24 Jun, 2012 1 commit
-
-
Igor Babaev authored
-
- 23 Jun, 2012 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The bug was the result of the incomplete fix for bug lp bug 1008293.
-
Sergey Petrunya authored
-
- 22 Jun, 2012 2 commits
-
-
Sergey Petrunya authored
-
unknown authored
-
- 21 Jun, 2012 2 commits
-
-
unknown authored
the new file is fully synced to disk and binlog index. This fixes a window where a crash would leave next server restart unable to detect that a crash occured, causing recovery to fail.
-
unknown authored
MDEV-359: Fix another case where switch-off semisync could cause a race that ended with server crash. This one was when the code releases and reaquires the lock with pthread_cond_wait() - and semisync is switched off meanwhile.
-