- 03 Mar, 2012 3 commits
-
-
Igor Babaev authored
-
Sergei Golubchik authored
-
Igor Babaev authored
-
- 02 Mar, 2012 3 commits
-
-
Igor Babaev authored
-
Sergei Golubchik authored
mysql-test/include/rpl_udf.inc: supppression should be added after master-slave.inc to affect both a master and a slave mysql-test/suite/rpl/t/rpl_udf.test: supppression should be added after master-slave.inc to affect both a master and a slave
-
unknown authored
-
- 01 Mar, 2012 6 commits
-
-
Igor Babaev authored
-
Sergei Golubchik authored
mysql-test/include/have_xtradb.combinations: xtradb tests need this I_S table mysql-test/lib/mtr_cases.pm: fix for .deb and .rpm installations
-
unknown authored
-
unknown authored
- use thd->in_active_multi_stmt_transaction() for @@in_transaction, not THD flag directly - use common error_if_in_trans_or_substatement() function for all 4 binlog variables that cannot be changed inside statement or transaction.
-
unknown authored
-
Igor Babaev authored
This bug appeared after the patch for bug 939009 that in the function merge_key_fields forgot to reset a proper value for the val field in the result of the merge operation of the key field created for a regular key access and the key field created to look for a NULL key. Adjusted the results of the test case for bug 939009 that actually were incorrect.
-
- 29 Feb, 2012 3 commits
-
-
Sergei Golubchik authored
Otherwise XA crashes after FLUSH STATUS as log page size suddenly becomes 0.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 28 Feb, 2012 8 commits
-
-
Igor Babaev authored
-
Vladislav Vaintroub authored
-
Sergei Golubchik authored
make sure that stored routines are evaluated (that is, de facto - cached) in convert_const_to_int(). revert the fix for lp:806943 because it cannot be repeated anymore. add few tests for convert_const_to_int()
-
Sergei Golubchik authored
-
Vladislav Vaintroub authored
-
Michael Widenius authored
-
Michael Widenius authored
The issue was that Aria allowed too long keys to be created (so that the internal buffer was not big enough to hold the whole key). Key lengths is now limited to HA_MAX_KEY_LENGTH (1000), as for MyISAM. Fixed failure in "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot. mysql-test/suite/maria/r/maria.result: Updated results mysql-test/suite/maria/r/maria3.result: Updated results. Added test for bug fix mysql-test/suite/maria/t/maria3.test: Updated results. Added test for bug fix mysql-test/suite/maria/t/optimize.test: Updated test for new max key length storage/maria/ha_maria.cc: Limit key to HA_MAX_KEY_LENGTH. storage/maria/ma_key_recover.c: Limit used page length to max page size (this is in line with the code that writes the entry to the log). This fixes failure in "_ma_apply_redo_index: Assertion `new_page_length == 0", as found by buildbot. storage/maria/ma_search.c: Extra DBUG storage/maria/ma_write.c: Added test to detect errors earlier.
-
Igor Babaev authored
-
- 27 Feb, 2012 4 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
because of the high cost associated with fake symdir resolution, disable symbolic-links on Windows by default. Real symlinks (Vista+) as well as NTFS junctions (prior to Vista) do not require this parameter
-
- 26 Feb, 2012 6 commits
-
-
unknown authored
-
Igor Babaev authored
-
Igor Babaev authored
-
Igor Babaev authored
A better fix for this bug will be pulled from mariadb-5.2.
-
Sergey Petrunya authored
-
Igor Babaev authored
The field key_cache_mem_size of the KEY_CACHE structure must be initialized in the function init_key_cache() and updated in the function resize_key_cache().
-
- 25 Feb, 2012 4 commits
-
-
Sergei Golubchik authored
-
unknown authored
Cause of the bug is uninitialized items before evaluation HAVING clasue in case of empty result.
-
Igor Babaev authored
-
Igor Babaev authored
The result of materialization of the right part of an IN subquery predicate is placed into a temporary table. Each row of the materialized table is distinct. A unique key over all fields of the temporary table is defined and created. It allows to perform key look-ups into the table. The table created for a materialized subquery can be accessed by key as any other table. The function best_access-path search for the best access to join a table to a given partial join. With some where conditions this function considers a possibility of a ref_or_null access. If such access employs the unique key on the temporary table then when estimating the cost this access the function tries to use the array rec_per_key. Yet, such array is not built for this unique key. This causes a crash of the server. Rows returned by the subquery that contain nulls don't have to be placed into temporary table, as they cannot be match any row produced by the left part of the subquery predicate. So all fields of the temporary table can be defined as non-nullable. In this case any ref_or_null access to the temporary table does not make any sense and it does not make sense to estimate such an access. The fix makes sure that the temporary table for a materialized IN subquery is defined with columns that are all non-nullable. The also ensures that any row with nulls returned by the subquery is not placed into the temporary table.
-
- 24 Feb, 2012 3 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- Enable subquery materialization for CREATE TABLE ... SELECT.
-
Sergey Petrunya authored
-