- 13 Aug, 2014 2 commits
-
-
Kristian Nielsen authored
The bug was that in some cases, if a replicated transaction was rolled back due to deadlock, during the subsequent retry of that transaction, the gtid_slave_pos would _not_ be updated with the new GTID, leaving the GTID position of the slave incorrect. Fix this by ensuring during the retry that we clear the flag that marks that the GTID has already been recorded in gtid_slave_pos, so that the update of gtid_slave_pos will be done again during the retry. In the original bug, the symptom was an assertion due to OPTION_GTID_BEGIN not being cleared during the retry of the transaction. The reason was some code in handling of a COMMIT query event, which would not clear the flag when not recording a GTID in gtid_slave_pos. This commit also fixes that code to always clear the OPTION_GTID_BEGIN flag for clarity, though it is actually not possible for OPTION_GTID_BEGIN to become set unless a GTID is pending for update (after fixing the bug described above).
-
Jan Lindström authored
sporadically Fix: Modify test to be smaller so that testcase timeout does not trigger. We already have a test for --big-test setup (innodb.innodb_simulate_comp_failures).
-
- 12 Aug, 2014 2 commits
-
-
Elena Stepanova authored
-
Alexander Barkov authored
-
- 11 Aug, 2014 1 commit
-
-
Alexander Barkov authored
Adding collation usage statistics into the feedback plugin I_S table.
-
- 08 Aug, 2014 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
config.h.cmake: define NOMINMAX, otherwise Windows system headers define min() and max() macros sql/slave.cc: mi->report() has one more argument in MariaDB storage/xtradb/buf/buf0flu.cc: xtradb fixes for windows, again
-
- 07 Aug, 2014 7 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
When a view is merged, mark its select_lex as already optimized, otherwise its where clause (which doesn't have to be a valid Item after merging) might be accessed later. But don't do that for inserts (where a view cannot be simply merged, if one later needs to insert into it).
-
Olivier Bertrand authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Olivier Bertrand authored
have been created by the last addition of new CONNECT features. The version previous to this one is a preliminary test version and should not be distributed. - Handle indexed UPDATE/DELETE. Previously this was just tested and an error message send when it could not be done. Now CONNECT can do it in all the cases. It is done by a MRR like tchnique by making a list of all update or delete to do, sort them, then execute them. modified: storage/connect/array.cpp storage/connect/array.h storage/connect/filamap.cpp storage/connect/filamap.h storage/connect/filamdbf.cpp storage/connect/filamfix.cpp storage/connect/filamfix.h storage/connect/filamtxt.cpp storage/connect/filamtxt.h storage/connect/filamvct.cpp storage/connect/filamvct.h storage/connect/filamzip.cpp storage/connect/filamzip.h storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h - Differenciate Cardinality that returns a true or estimated table size and GetMaxSize that return a value equal or greater than the table row number. This fixes the errors of non matching opt files. modified: storage/connect/connect.cc storage/connect/tabdos.cpp storage/connect/tabdos.h storage/connect/tabfix.cpp storage/connect/table.cpp storage/connect/tabmac.h storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/tabodbc.cpp storage/connect/tabodbc.h storage/connect/tabpivot.h storage/connect/tabtbl.cpp storage/connect/tabtbl.h storage/connect/tabutil.cpp storage/connect/tabutil.h storage/connect/tabwmi.h storage/connect/xtable.h - Fix some errors and issues when making index and opt files. Erase opt and index files for void tables. Fix wrong calculation of Block and Last in MakeBlockValues. Invalidate indexes before making opt file. Fully handle blocked variable tables. Make opt file for blocked variable tables even when they have no optimised colums. modified: storage/connect/tabdos.cpp storage/connect/xindex.h - Fix some errors making index Return an error when the allocation is too small (should not really occur now that GetMaxSize is sure) Don't use XXROW index for DBF tables because of soft deleted lines. modified: storage/connect/xindex.cpp - Typo modified: storage/connect/macutil.cpp storage/connect/tabdos.h storage/connect/tabsys.cpp storage/connect/tabsys.h
-
Nirbhay Choubey authored
-
- 06 Aug, 2014 16 commits
-
-
Nirbhay Choubey authored
A new command line option "galera-sst-mode" was introduced in mysqldump as part of fix for MDEV-6316. But, since the fix was pushed to maria-10.0-galera branch, the mysqldump tool supplied with mariadb client deb/rpm packages, does not have this new opion. This fix contains the same patch along with a test case.
-
Nirbhay Choubey authored
using "MariaDB-Galera-server" rpm: Updated components' requires-list to include "MariaDB" instead of "MariaDB-server". deb: Added (ORed) 'mariadb-galera-server-10.0' to the 'Depends' list of connect and oqgraph engine packages.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
INSTALL SONAME ignores attempts to load the same plugin twice, it's not an error (because one can load one plugin by name and then install soname for the rest). But Federated and FederatedX are different plugins, despite having the same name. Now plugin_add() only considers two plugins identical if their names are the same string (compared as pointers). Otherwise it reports an error.,
-
Sergei Golubchik authored
-
Sergei Golubchik authored
first update system tables, then the rest
-
Sergei Golubchik authored
-
Sergei Golubchik authored
remove ipv4-mapped-ipv6 test, this feature is not always available
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergey Vojtovich authored
rpl.rpl_gtid_crash fail on PPC64 This is an addition to the original patch. Restored show binlog events output and adjusted filters to replace [\d-\d-\d,\d-\d-\d,\d-\d-\d] with [#-#-#].
-
- 05 Aug, 2014 6 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Olivier Bertrand authored
were not taken in acount in check_if_supported_inplace_alter. mysql.test failure is strange, the suppressed warning should not be made anyway. modified: storage/connect/ha_connect.cc storage/connect/mysql-test/connect/r/mysql.result
-
Sergei Golubchik authored
fix_privilege_tables: use ALTER TABLE to fix last_update column in innodb stat tables
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Remove the "don't update the row for b'' and store uninitialized bytes on disk" change. Update test cases to allow DEFAULT b'', because b'' is a valid expression elsewhere.
-
- 04 Aug, 2014 3 commits
-
-
Sergei Golubchik authored
Don't ignore errors from Count_distinct_field::add(), pass them to the caller, so that it could abort the data collection loop.
-
Sergei Golubchik authored
-
Alexander Barkov authored
-