summaryrefslogtreecommitdiff
path: root/include/wsrep.h
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-20051: Add new mode to wsrep_OSU_method in which Galera checks storage ↵Jan Lindström2020-02-111-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | engine of the effected table Introduced a new wsrep_strict_ddl configuration variable in which Galera checks storage engine of the effected table. If table is not InnoDB (only storage engine currently fully supporting Galera replication) DDL-statement will return error code: ER_GALERA_REPLICATION_NOT_SUPPORTED eng "DDL-statement is forbidden as table storage engine does not support Galera replication" However, when wsrep_replicate_myisam=ON we allow DDL-statements to MyISAM tables. If effected table is allowed storage engine Galera will run normal TOI. This new setting should be for now set globally on all nodes in a cluster. When this setting is set following DDL-clauses accessing tables not supporting Galera replication are refused: * CREATE TABLE (e.g. CREATE TABLE t1(a int) engine=Aria * ALTER TABLE * TRUNCATE TABLE * CREATE VIEW * CREATE TRIGGER * CREATE INDEX * DROP INDEX * RENAME TABLE * DROP TABLE Statements on PROCEDURE, EVENT, FUNCTION are allowed as effected tables are known only at execution. Furthermore, USER, ROLE, SERVER, DATABASE statements are also allowed as they do not really have effected table.
* Decrease stack space usage of mysql_execute_command()Sergei Golubchik2019-08-231-6/+0
| | | | | | - WSREP_DEBUG called WSREP_LOG which allocated a 1K variable on stack for each macro usage (at least gcc can't reuse the stack space). Move this concatenation to happen compile-time, not run-time.
* Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-191-1/+1
|\
| * Merge 10.2 into 10.3Marko Mäkelä2019-05-141-1/+1
| |\
| | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| | |
| * | Merge branch '10.2' into 10.3Sergei Golubchik2019-03-171-4/+4
| |\ \ | | |/
| | * cleanup: miscSergei Golubchik2019-03-121-4/+4
| | |
* | | Galera4Brave Galera Crew2019-01-231-11/+16
| | |
* | | Merge 10.3 into 10.4Marko Mäkelä2018-11-061-4/+4
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2018-11-061-5/+6
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
| | * wsrep: create a macro for the error: labelSergei Golubchik2018-10-241-5/+6
| | | | | | | | | | | | | | | that is used by WSREP_TO_ISOLATION_BEGIN and other galera macros, to avoid the need for wrapping this label in #ifdef WITH_WSREP/#endif
* | | compilation failure on WindowsSergei Golubchik2018-10-311-3/+3
|/ / | | | | | | | | sql\sql_acl.cc(3114): error C2220: warning treated as error - no 'object' file generated sql\sql_acl.cc(3114): warning C4390: ';': empty controlled statement found; is this the intent?
* | Merge branch '10.2' into 10.3Sergei Golubchik2018-09-281-0/+6
|\ \ | |/
| * Merge branch '10.0-galera' into 10.1Sergei Golubchik2018-09-071-0/+5
|/
* Merge remote-tracking branch 'origin/10.0-galera' into 10.1Jan Lindström2017-08-211-2/+8
|
* Correct FSF addressiangilfillan2017-03-101-1/+1
|
* Merge branch '10.0-galera' into bb-10.1-sergNirbhay Choubey2016-02-241-0/+9
|
* cleanup: simplify the usage of WSREP_FORMAT macroSergei Golubchik2014-10-101-9/+0
|
* cleanup: galera merge, simple changesSergei Golubchik2014-10-011-1/+3
|
* compiler warningsSergei Golubchik2014-10-011-1/+1
|
* MDEV-6247: Merge 10.0-galera to 10.1.Jan Lindström2014-08-261-0/+58
Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.