- 28 Jun, 2016 8 commits
-
-
Sergei Golubchik authored
-
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/
-
Sergei Golubchik authored
-
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).
-
Sergei Golubchik authored
-
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 3 commits
-
-
Daniel Bartholomew authored
-
holyfoot authored
MDEV-10214: Fix segfault when using groups in PAM user mapping plugin
-
Oleksandr Byelkin authored
thd should not be taken earlier then fix_field and reset on fix_fields if it is needed.
-
- 23 Jun, 2016 7 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.
-
Sergey Vojtovich authored
-
Sergey Vojtovich authored
Disable output of MDL lock duration since there is no facility to retreive it properly.
-
Sergey Vojtovich authored
Reverted APC based fix. APC subsystem is not ready to serve metadata_lock_info needs.
-
Jan Lindström authored
commit ef92aaf9 Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Wed Jun 22 22:37:28 2016 +0300 MDEV-10083: Orphan ibd file when playing with foreign keys Analysis: row_drop_table_for_mysql did not allow dropping referenced table even in case when actual creating of the referenced table was not successfull if foreign_key_checks=1. Fix: Allow dropping referenced table even if foreign_key_checks=1 if actual table create returned error.
-
Jan Lindström authored
Analysis: row_drop_table_for_mysql did not allow dropping referenced table even in case when actual creating of the referenced table was not successfull if foreign_key_checks=1. Fix: Allow dropping referenced table even if foreign_key_checks=1 if actual table create returned error.
-
- 22 Jun, 2016 7 commits
-
-
Sergei Petrunia authored
Make tree_or set correct SEL_TREE::keys_map for the result.
-
Sergei Golubchik authored
windows: use GetProcAddress() to access internal server data structures rhel5: CONNECT-JDBC requires at least Java 1.6
-
Dimitri John Ledkov authored
This used to be a compile failure. The defined structure isn't required in the later versions of boost. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Vicențiu Ciorbaru authored
Fix the replication failure caused by incorect initialization of THD::invoker_host && THD::invoker_user. Breakdown of the failure is this: Query_log_event::host and Query_log_event::user can have their LEX_STRING's set to length 0, but the actual str member points to garbage. Code afterwards copies Query_log_event::host and user to THD::invoker_host and THD::invoker_user. Calling code for these members expects both members to be initialized. Eg. the str member be a NULL terminated string and length have appropriate size.
-
Igor Pashev authored
The bug is apparent when the username is longer than the rolename. It is caused by a simple typo that caused a memcmp call to compare a different number of bytes than necessary. The fix was proposed by Igor Pashev. I have reviewed it and it is the correct approach. Test case introduced by me, using the details provided in the MDEV. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
Sergei Golubchik authored
-
Sergei Golubchik authored
disable unstable tokudb tests, (old change that was lost in a merge)
-