Commit Graph

6 Commits

Author SHA1 Message Date
edd5ddcc88 Merge branch '2.2' into develop 2018-09-10 12:29:00 +03:00
c447e5cf15 Uncrustify maxscale
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +03:00
106b1d46d5 Only perform causal reads on slaves
The causal read queries were performed also when the target server was the
master. The extra functionality of the causal reads is only needed on
slaves.

Adjusted the test case to require GTID replication.
2018-07-31 09:41:09 +03:00
d7a3980308 Read correct parameter for causal_reads
The configuration used the wrong parameter name. The test also did not
explicitly enable tracking of the last_gtid variable which caused it to
fail if it wasn't already on.
2018-07-31 09:41:09 +03:00
843b8d92eb Enable mxs1778_causal_reads with 10.3.8
The MariaDB 10.3.8 release fixes the use of last_gtid as a value for
session_track_system_variables. This means that the test can be enabled if
the backends are new enough.
2018-07-31 09:41:08 +03:00
f03c800549 MXS-1778: Add causal_reads test case
Added a test case that checks that causal_reads works. With current
MariaDB releases, it will not work.
2018-05-22 17:46:26 +03:00