- 28 Jun, 2016 5 commits
-
-
Sergei Golubchik authored
fix the *other* fill_record() too, arrgh!
-
Sergei Golubchik authored
set CPACK_COMPONENTS_ALL both on the current and parent scope
-
Sergei Golubchik authored
s/unixODBC/unixodbc/
-
Alexander Barkov authored
Item_cache::is_null() erroneously returned null_value in a non-cached state. Now Item_cache::is_null() uses has_value(), which caches the value if not cached yet, similar to what other value methods do (e.g. val_int, val_real, etc).
-
Martin Stefany authored
Using IP address in donor's socat with TLS/SSL and certificate which doesn't contain IP address in CN or SubjectAltName causes transfer to fail with message: socat[5799] E certificate is valid but its commonName does not match hostname. This patch tries to reverse resolve IP address to hostname and use it for transfer. If reverse resolution fails, IP address is still used as fall-back, so proper A/AAAA and PTR records are important, but not mandatory. Certain certificates cannot contain IP addresses, e.g. FreeIPA's Dogtag doesn't allow it, so in my case I would need to use self- signed certificates instead, use verify=0 with socat or don't use TLS/SSL at all. Issue is mentioned in MDEV-9403.
-
- 27 Jun, 2016 15 commits
-
-
Nirbhay Choubey authored
Since wsrep_sync_wait & wsrep_causal_reads variables are related, they are always kept in sync whenever one of them changes. Same is tried on server start, where wsrep_sync_wait get updated based on wsrep_causal_reads' value. But, since wsrep_causal_reads is OFF by default, wsrep_sync_wait's value gets modified and loses its WSREP_SYNC_WAIT_BEFORE_READ bit. Fixed by syncing wsrep_sync_wait & wsrep_causal_reads values individually on server start in mysqld_get_one_option() based on command line arguments used.
-
Nirbhay Choubey authored
Added a new --wsrep-new-cluster option to enable mysqld_multi script to start mysqld with the same option. [Patch contributed by Hartmut]
-
Nirbhay Choubey authored
Append mysqld_safe's wsrep-on option to the list of options used to start mysqld. [Patch contributed by Hartmut]
-
Nirbhay Choubey authored
In CTAS, handlers get registered under statement transaction (st_transactions::stmt), while ha_fake_trx_id(), used by CTAS, looked under standard transaction (st_transactions::all) for registered handlers, and thus it failed to grab a fake transaction ID. As a result, with no valid transaction ID, wsrep commit failed with an error. ha_fake_trx_id() now looks for handlers registered under 'stmt' in case 'all' is empty. Also modified the logic to print warning only once if none of the registered handlers have fake_trx_id.
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
On wsrep_cluster_address update, node restarts the replication and attempts to connect to the new address. In this process it makes a call to wsrep provider's connect API, which could lead to segfault if wsrep provider is not loaded (wsrep_on=OFF). Fixed by making sure that it proceeds only if a provider is loaded.
-
Nirbhay Choubey authored
-
Nirbhay Choubey authored
Update sys_vars.sysvars_wsrep test.
-
Nirbhay Choubey authored
Galera recovery process works in two phases. In the first phase, mysqld is started as non-daemon with --wsrep-recover to recover and fetch the last logged global transaction ID. This ID is then used in second phase as the start position (--wsrep-start-position=XX) to start mysqld as daemon. As this process was implemented in mysqld_safe script, the recovery did not work when server was started using systemd. Fixed by introducing a shell script (wsrep_recovery.sh) that mimics the first phase of the recovery process.
-
Nirbhay Choubey authored
--defaults-xxx options must be placed before all other options in the command line. Also moved MYSQLD_OPTS at the end so that its options take precedence.
-
Nirbhay Choubey authored
errno must be reset before strtol()/strtoll() functions are invoked.
-
Nirbhay Choubey authored
Fixed by using hostname (glob_hostname) as default value for wsrep_node_name system variable. Added a test case.
-
Alexey Botchkov authored
Servers sets default DEFINER to empty if run with the --scip-grant-tables option. So specify the DEFINER explicitly
-
Alexey Botchkov authored
Compiler on Sparc is strict about the 'const' modifiers in function declarations and definitions. Meaning they should be exactly same.
-
Alexander Barkov authored
MDEV-10277 Redundant NOTE when inserting '0.00001 ' into a DECIMAL(2,1) column
-
- 24 Jun, 2016 1 commit
-
-
holyfoot authored
MDEV-10214: Fix segfault when using groups in PAM user mapping plugin
-
- 23 Jun, 2016 2 commits
-
-
Alexander Barkov authored
MDEV-8686 A user defined collation utf8_confusables doesn't work 25e68c5e
-
Alexander Barkov authored
The collation customization code for the UCA (Unicode Collation Alrorithm) based collations now allows to reset to and shift of characters with implicit weights. Previously reset/shift worked only for the characters with explicit DUCET weights. An attempt to use reset/shift with character with implicit weights made the server crash.
-
- 22 Jun, 2016 1 commit
-
-
Sergei Petrunia authored
Make tree_or set correct SEL_TREE::keys_map for the result.
-
- 21 Jun, 2016 1 commit
-
-
Alexander Barkov authored
-
- 19 Jun, 2016 1 commit
-
-
Monty authored
Fixed mysql-test-run failures for roles.acl_statistics
-
- 12 Jun, 2016 1 commit
-
-
Mario Weigel authored
-
- 08 Jun, 2016 2 commits
-
-
Kristian Nielsen authored
-
Kristian Nielsen authored
The check inserts a DWARF directive to tell stack unwinding that the bottom of the (co-routine) stack has been reached. Without this, stack traces may attempt to continue past the bottom of the stack. The GCC version check was incorrect, and failed to trigger for GCC version 5.[0123].
-
- 03 Jun, 2016 3 commits
-
-
Vladislav Vaintroub authored
On Windows with low precision (10-16 ms) timer used for timing queries, the statement "set @@long_query_time=0.01" can log itself a slow if it spawn more single timer tick. The fix is to filter this query out from "SELECT FROM mysql.slow_log" results
-
Sergei Petrunia authored
Make the range optimizer not call records_in_range() when it would not give any benefit.
-
Sergei Petrunia authored
-
- 02 Jun, 2016 6 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Part #2: make tree_or(tree1, tree2) to reuse tree1 for the result object for simple cases. These include key IN (c1, ... cN). The reuse was happening in old MySQL versions, but we stopped doing it in the "fair choice between range and index_merge" patch.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Jan Lindström authored
MDEV-10154 - Remove some unnecessary parentheses
-
- 01 Jun, 2016 2 commits
-
-
Sergei Petrunia authored
Post-fix #2: - Update test results - Make the optimization conditional under @@optimizer_switch flag. - The optimization is now disabled by default, so .result files are changed back to be what they were before the MDEV-8989 patch.
-
Jan Lindström authored
Add big_test and not_debug requirements to avoid timeouts.
-