- 20 Dec, 2012 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
The patch lifts the limitation of the current implementation of ALTER TABLE that does not allow to build unique/primary indexes by sort for MyISAM and Aria engines.
-
Igor Babaev authored
-
- 18 Dec, 2012 2 commits
-
-
unknown authored
Implement it in a different way that works on both release and debug builds, and still uses --skip instead of --require.
-
Sergei Golubchik authored
have_openssl variable was ON even when OpenSSL was not used (but YaSSL was). fix that, so that have_openssl really corresponds to OpenSSL rename not_openssl.inc to not_ssl.inc and fix the test accordingly.
-
- 17 Dec, 2012 7 commits
-
-
Sergei Golubchik authored
remove unused require files
-
Sergei Golubchik authored
MDEV-438 Microseconds: Precision is ignored in CURRENT_TIMESTAMP(N) when it is given as a default column value For MySQL 5.6 compatibility, support precision specification in CURRENT_TIMESTAMP in a default clause, when it's not less than the column's precision.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
unknown authored
With MDEV-532, the binlog_checkpoint event is logged asynchronously from a binlog background thread. This causes some sporadic failures in some test cases whose output depends on order of events in binlog. Fix using an include file that waits until the binlog checkpoint event has been logged before proceeding with the test case.
-
Igor Babaev authored
-
Igor Babaev authored
-
- 14 Dec, 2012 4 commits
-
-
Igor Babaev authored
-
unknown authored
Make the commit checkpoint inside InnoDB be asynchroneous. Implement a background thread in binlog to do the writing and flushing of binlog checkpoint events to disk.
-
unknown authored
-
Igor Babaev authored
that introduced engine independent persistent statistics. In particular: - added an enumeration type for possible values of the system variable use_stat_tables - renamed KEY::real_rec_per_key to KEY::actual_rec_per_key - optimized the collection of statistical data for any primary key defined only on one column.
-
- 13 Dec, 2012 2 commits
-
-
unknown authored
Post-review changes according to Monty's review from 28/11/2012.
-
Igor Babaev authored
If a query referenced some system statistical tables, but not all of them, then executing an ANALYZE command simultaneously with this query could lead to a deadlock. The fix prohibited reading statistics from system statistical tables for such queries. Removed the function unlock_tables_n_open_system_tables_for_write() as not used anymore. Performed some minor refactoring of the code in sql_statistics.cc.
-
- 10 Dec, 2012 1 commit
-
-
Igor Babaev authored
engine-independent statistics. If a table was created for InnoDB then the execution of the ANALYZE command over this table blocked any INSERT/DELETE/UPDATE of the table.
-
- 08 Dec, 2012 1 commit
-
-
Igor Babaev authored
engine-independent statistics. When the primary key was dropped or changed statistics on secondary indexes for the prefixes that included components of the primary key was not removed from the table mysql.index_stats. Also fixed: in the some cases when a column was changed statistics on the indexes that included this column was not removed from the table mysql.index_stats. Also disabled the test mdev-504 for --ps-protocol.
-
- 06 Dec, 2012 1 commit
-
-
Igor Babaev authored
1. The PERSISTENT FOR clause of the ANALYZE command overrides the setting of the system variable use_stat_tables: with this clause ANALYZE unconditionally collects persistent statistics. 2. ANALYZE collects persistent statistics only for tables of the USER category. So it never collects persistent statistics for system tables.
-
- 05 Dec, 2012 4 commits
-
-
Igor Babaev authored
The adjustment was supposed to be done in the previous commit.
-
Igor Babaev authored
table_stat -> table_stats column_stat -> column_stats index_stat -> index_stats to be in line with the names of innodb statistical tables from mysql-5.6: innodb_table_stats and innodb_index_stats.
-
Igor Babaev authored
-
Igor Babaev authored
When inserting a record with update on duplicate keys the server calls the ha_index_read_idx_map handler function to look for the record that violates unique key constraints. The third parameter of this call should mark only the base components of the index where the server is searched for the record. Possible hidden components of the primary key are to be unmarked.
-
- 01 Dec, 2012 2 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Fixed typo (missing comma)
-
- 27 Nov, 2012 3 commits
-
-
Sergei Golubchik authored
-
Vladislav Vaintroub authored
If connection kills itself (or own query), it will get an error consistently, with both COM_PROCESSKILL and with "KILL [QUERY] id"
-
Vladislav Vaintroub authored
-
- 26 Nov, 2012 3 commits
-
-
Vladislav Vaintroub authored
Assertion happened because sql_kill did not set OK status in diagnostic area in the case of connection suicide (id to kill == thd->thread_id), issued via COM_PROCESS_KILL , e.g using mysql_kill() This patch ensures that diagnostic area is initialized in this specific case.
-
unknown authored
Fix of MDEV-3874: Server crashes in Item_field::print on a SELECT from a MERGE view with materialization+semijoin, subquery, ORDER BY. The problem was that in debugging binaries it try to print item to assign human readable name to the item. But subquery item was already freed (join_free/cleanup with full cleanup) so Item_field refers to temporary table which memory had been already freed.
-
Sergei Golubchik authored
-
- 22 Nov, 2012 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 21 Nov, 2012 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 20 Nov, 2012 1 commit
-
-
unknown authored
Root cause was that number of entries in commit checkpoint buffer was bigger than total available entries in the mmap()'ed score file. This causes TC_LOG_MMAP to run out of entries before even the first checkpoint is started, which causes a hang. Fixed by making sure we have fewer entries within one commit checkpoint than total available scorefile entries. Another part of this bug was discovery of severel unrelated bugs in TC_LOG_MMAP dating back to 5.1. These were fixed in 5.1 and will be merged up (the problem this patch fixes exists only in 10.0).
-
- 19 Nov, 2012 1 commit
-
-
Igor Babaev authored
The invalid implementation of the method Field_bit::cmp_max could trigger a valgrind complain or could lead to incorrect statistical data when collecting engine-independent statistics on BIT fields.
-
- 17 Nov, 2012 1 commit
-
-
Sergei Golubchik authored
MDEV-736 LP:1004615 - Unexpected warnings "Encountered illegal value '' when converting to DECIMAL" on a query with aggregate functions and GROUP BY fix: don't call field->val_decimal() if the field->is_null() because the buffer at field->ptr might not hold a valid decimal value sql/item_sum.cc: do not call field->val_decimal() if the field->is_null() storage/maria/ma_blockrec.c: cleanup storage/maria/ma_rrnd.c: cleanup strings/decimal.c: typo
-